Yield to Maturity (YTM) Calculator
Input Parameters
Computed Results
The yield to maturity (YTM) calculator determines the estimated annual rate of return a bond will generate if held until it matures. By evaluating the bond's current price, face value, coupon rate, and payment frequency, this tool helps investors compare the total expected return of different fixed-income securities.
Disclaimer: This calculator provides mathematical estimates for informational purposes only and does not constitute financial or investment advice.
Practical Use Cases
Yield to maturity is a standard metric used to evaluate fixed-income investments. Because bonds frequently trade above or below their original face value, simply looking at the coupon rate does not provide a complete picture of the return. Calculating the YTM allows you to compare bonds with different maturities, prices, and coupon structures on an equal footing. It is particularly useful for assessing bonds trading at a discount (where the price is below face value) or at a premium (where the price is above face value), as it accounts for the capital gain or loss realized at maturity.
How to Use the Calculator
To calculate the yield to maturity, enter the specific details of the bond into the calculator:
- Face Value (Par Value): Enter the principal amount the bond issuer will repay at maturity.
- Current Bond Price: Input the current market price required to purchase the bond.
- Annual Coupon Rate: Enter the stated annual interest rate paid by the bond as a percentage.
- Coupon Frequency: Select how often the bond pays interest each year (e.g., annually, semi-annually, quarterly, or monthly).
- Years to Maturity: Enter the total number of years remaining until the bond matures and the face value is repaid.
The calculator will output the nominal YTM, the effective annual yield (which accounts for compounding), the current yield, the total coupon payments, and the capital gain or loss.
Formula and Explanation
Yield to maturity is the internal rate of return (IRR) of a bond. It is the discount rate that equates the present value of all future cash flows (coupon payments and the final face value repayment) to the bond's current market price. Because the rate is embedded within an exponent, it cannot be isolated algebraically and must be solved iteratively (often using the Newton-Raphson method).
The fundamental pricing equation that YTM solves is:
Where:
- P = Current Bond Price
- C = Coupon payment per period (Face Value × Annual Coupon Rate ÷ Coupon Frequency)
- F = Face Value (Par Value)
- y = Yield per period (Nominal YTM ÷ Coupon Frequency)
- n = Total number of periods (Years to Maturity × Coupon Frequency)
Once the periodic yield (y) is found, the Nominal YTM is calculated by multiplying y by the coupon frequency. The Effective Annual Yield (EAY) is calculated as (1 + y)^(Coupon Frequency) − 1, which reflects the compounding effect of reinvesting the coupon payments.
Verified Scenario Walkthroughs
Below are verified examples demonstrating how different bond characteristics affect the yield to maturity.
High-Premium Bond with Annual Payments
If you purchase a bond for $5,500 with a face value of $5,000, a 6.5% annual coupon rate, 1 payment per year, and 5 years to maturity:
- Yield to Maturity: 4.239%
- Effective Annual Yield: 4.239%
- Current Yield: 5.909%
- Total Coupon Payments: $1,625.00
- Capital Gain / Loss: -$500.00
Short-Term Discount Bond with Monthly Payments
If you purchase a bond for $92 with a face value of $100, a 2.5% annual coupon rate, 12 payments per year, and 0.5 years to maturity:
- Yield to Maturity: 19.418%
- Effective Annual Yield: 21.243%
- Current Yield: 2.717%
- Total Coupon Payments: $1.25
- Capital Gain / Loss: $8.00
Zero Coupon Bond (Deep Discount)
If you purchase a zero-coupon bond for $750 with a face value of $1,000, a 0% coupon rate, semi-annual compounding (frequency 2), and 15 years to maturity:
- Yield to Maturity: 1.927%
- Effective Annual Yield: 1.936%
- Current Yield: 0%
- Total Coupon Payments: $0.00
- Capital Gain / Loss: $250.00
Long-Term Bond with Quarterly Payments
If you purchase a bond for $1,025 with a face value of $1,000, a 4.25% annual coupon rate, 4 payments per year, and 20 years to maturity:
- Yield to Maturity: 4.067%
- Effective Annual Yield: 4.129%
- Current Yield: 4.146%
- Total Coupon Payments: $850.00
- Capital Gain / Loss: -$25.00
Inputs and Outputs
The table below summarizes the data used and generated by the calculator.
| Category | Field Name | Description |
|---|---|---|
| Input | Face Value (Par Value) | The nominal or principal amount repaid at maturity. |
| Input | Current Bond Price | The current market purchase price of the bond. |
| Input | Annual Coupon Rate | The stated annual coupon interest rate paid by the bond. |
| Input | Coupon Frequency | Number of coupon payments made per year. |
| Input | Years to Maturity | Total time remaining until the bond matures. |
| Output | Yield to Maturity (Nominal Annual) | The annualized rate of return assuming the bond is held to maturity. |
| Output | Effective Annual Yield (EAY) | The annualized return accounting for the compounding of periodic coupon payments. |
| Output | Current Yield | The annual coupon payment divided by the current bond price. |
| Output | Total Coupon Payments | The sum of all interest payments received over the life of the bond. |
| Output | Capital Gain / Loss | The difference between the face value received at maturity and the purchase price. |
Frequently Asked Questions
What is the difference between yield to maturity and current yield?
Current yield only measures the annual coupon income relative to the current market price of the bond. Yield to maturity is a more comprehensive metric that accounts for the current yield, the time value of money, and any capital gain or loss realized when the bond's face value is repaid at maturity.
Why does a bond's price move inversely to its yield?
A bond's coupon payments are fixed. If prevailing market interest rates rise, newly issued bonds will offer higher returns. For an existing bond with a lower fixed coupon to offer a competitive yield to new investors, its market price must drop. Conversely, if market rates fall, the existing bond's higher fixed payments make it more valuable, driving its price up.
What is the Effective Annual Yield (EAY)?
The Effective Annual Yield (EAY) represents the true annualized return of the bond when accounting for compounding. While the nominal YTM simply multiplies the periodic yield by the number of periods in a year, the EAY calculates the effect of reinvesting those periodic coupon payments at the same yield.