How this calculator works
What is yield to maturity? YTM is the single interest rate that makes the present value of every future coupon and the final face-value payment equal to the price you pay for the bond today. It is the true annualized return of holding a bond to maturity, assuming you reinvest every coupon at that same rate. Current yield (coupon ÷ price) tells you the income rate right now; YTM tells you the full long-run return including the capital gain or loss between purchase price and face value at maturity.
Yield to maturity formula. YTM has no closed-form solution. The formula is Price = Σ [C ÷ (1+y)^t] + F ÷ (1+y)^n, where C is the annual coupon payment, F is the face value, n is years to maturity, and y is the YTM to solve for. The calculator above uses a numerical method (Newton-Raphson iteration) to find y, which converges in about 5 iterations to 0.01% accuracy. A common hand-approximation is YTM ≈ [C + (F − P) ÷ n] ÷ [(F + P) ÷ 2], which is close enough for most planning use.
Worked example. A bond with $1,000 face value, 5% annual coupon ($50/year), 7 years to maturity, trading at $950. Current yield = $50 ÷ $950 = 5.26%. YTM (from the calculator or iteration) = 5.86%. The YTM is higher than both the current yield and the coupon rate because you also pick up $50 of capital gain between the $950 purchase and the $1,000 maturity value, spread over 7 years. If the same bond traded at $1,050 instead, YTM would be 4.19% — below the coupon rate — because the $50 capital loss offsets some of the coupon income.
YTM vs current yield vs coupon rate. The coupon rate is fixed at issue: it is the annual coupon as a percent of face value. The current yield is annual coupon ÷ current market price — it rises when price falls and falls when price rises. YTM includes both the coupon income and the capital gain/loss from any price difference between purchase and maturity. For a bond trading at face value, all three rates are equal; for a discount bond, YTM > current yield > coupon; for a premium bond, YTM < current yield < coupon.
Why YTM moves with price. Bond prices move inversely to interest rates. When market rates rise, newly issued bonds pay more, so existing bonds with lower coupons become less attractive — their prices fall until the YTM matches the new market rate. For a 10-year bond with a 5% coupon, a 1% rise in market rates typically drops the price by around 8%, pushing YTM from 5% to about 6%. Longer-term bonds move more; shorter-term bonds move less. Duration measures this sensitivity precisely.
What YTM assumes. YTM assumes you hold the bond to maturity and reinvest every coupon at the same YTM rate. In reality you may sell early (at a different price), rates may change (making coupon reinvestment higher or lower), or the issuer may call the bond before maturity. For callable bonds, calculate yield-to-worst (the lower of YTM and yield-to-call) as the conservative return estimate. For taxable bonds in a taxable account, after-tax YTM is typically 25%–35% lower than pre-tax YTM depending on bracket.
How to calculate yield to maturity by hand
The standard approximation is:
YTM ≈ (annual coupon + (face value − price) ÷ years) ÷ ((face value + price) ÷ 2)
It is the coupon income plus the per-year capital gain, divided by the average of face and price. For most planning use it is within a few basis points of the exact YTM.
Three bonds, same coupon and maturity, different prices. A $1,000 face-value bond with a 5% annual coupon ($50/year) and 7 years to maturity, at three price points:
| Price | What it is | YTM (exact) | Hand approximation | Current yield |
|---|---|---|---|---|
| $950 | Discount | 5.86% | 5.86% | 5.26% |
| $1,000 | Par | 5.00% | 5.00% | 5.00% |
| $1,050 | Premium | 4.19% | 4.21% | 4.76% |
A discount bond's YTM is above its coupon rate, because the capital gain between purchase and maturity adds to the coupon income. A premium bond's YTM is below its coupon rate, because the capital loss at maturity offsets some of the coupon. At par, all three measures (coupon, current yield and YTM) are equal.
Worked example
Finding YTM on a 7-year, 5% coupon, $950 bond with $1,000 face value
- Face value F = $1,000. Annual coupon C = 5% × $1,000 = $50.
- Current price P = $950. Years to maturity n = 7.
- Current yield (quick check): $50 ÷ $950 = 5.26%.
- Hand approximation: YTM ≈ [50 + (1,000 − 950) ÷ 7] ÷ [(1,000 + 950) ÷ 2] = [50 + 7.14] ÷ 975 = 5.86%.
- Exact YTM (Newton-Raphson): 5.86% to two decimals, confirming the approximation.
- Total return at maturity: 7 × $50 coupons = $350 + $50 price appreciation = $400 on a $950 investment = 42.1% total, 5.86% annualized.
Common mistakes
- Comparing YTM across different maturities without adjusting for duration risk.
- Treating YTM as a guaranteed return. It is only realized if you hold to maturity and reinvest coupons at YTM.
- Confusing coupon rate (fixed) with YTM (varies with price). The coupon rate never changes; YTM moves daily.
- Using YTM for callable bonds instead of yield-to-worst.
- Ignoring taxes. A 5% Treasury YTM for a 32% federal bracket is a 3.4% after-tax yield; a 4% muni YTM may beat it depending on state tax.
Limitations of this calculator
- Assumes you hold the bond to maturity. If you sell early, actual return is market-price dependent.
- Assumes coupon reinvestment at YTM. Real reinvestment rates vary.
- Does not model credit risk, default or issuer calls — use yield-to-worst for callable bonds.
- Does not include transaction costs (bid-ask spread, commissions). Dealer spreads on corporate bonds can be 0.5%–2% of face value.
- Does not calculate tax-equivalent yield; use the tax-equivalent yield calculator or do it by hand for municipal bonds.
For your specific situation, consult a tax professional or financial advisor.
Questions people ask
Is YTM the same as the interest rate?
Not quite. The coupon rate is the stated interest rate (fixed at issue). The market interest rate is what new bonds of similar risk/term yield today. YTM is the rate that equates today's price with all future payments — it reflects the market rate for this specific bond right now.
Why does YTM change when the price changes?
Because YTM is solved from price. The future coupon payments and face value are fixed in dollars; the only free variable is the discount rate. When price rises, less yield is needed to equate price with future payments (YTM falls). When price falls, more yield is needed (YTM rises).
What is yield-to-worst?
The lower of YTM and yield-to-call for callable bonds. If an issuer can call the bond before maturity (buy it back at a set price), yield-to-call may be lower than YTM, so yield-to-worst is the conservative return estimate for callable bonds.
How does YTM differ for Treasury vs corporate bonds?
The math is identical. Corporate YTM is typically higher than Treasury YTM at the same maturity, because the premium compensates for credit risk. The spread (corporate YTM − Treasury YTM) widens in recessions and narrows in expansions.
Does YTM account for taxes?
No — YTM is a pre-tax return. For Treasury bonds (federal-taxable, state-exempt), after-tax YTM depends on federal bracket. For municipal bonds (federal-exempt, often state-exempt in-state), the tax-equivalent yield can be substantially higher than the stated YTM for high-bracket investors.
Sources
Last reviewed October 26, 2026