Yield to Maturity (YTM) Calculator

Calculate bond yield to maturity, current yield, yield to call, and bond pricing. Compare yields across different coupon rates, maturities, and credit ratings.

$
% annual
$
Yield to Maturity
0.06%
Discount bond
Current Yield
0.05%
$50.00 annual coupon
Capital Gain / (Loss)
$50.00
0.05% of purchase price
Macaulay Duration
7.93 years
Modified: 7.71
Total Return
$550.00
57.9% total over 10 years
Total Coupons
$500.00
Over 10 years

Price Sensitivity (ยฑ2% Yield)

3.66%
$1,111.22
4.66%
$1,026.80
5.16%
$987.49
5.66%
$950.00
6.16%
$914.23
6.66%
$880.09
7.66%
$816.39

Price-Yield Table

YieldPriceฮ” Priceฮ” %
3.66%$1,111.22+161.22+16.97%
4.66%$1,026.80+76.80+8.08%
5.16%$987.49+37.49+3.95%
5.66% (current)$950.00+0.00+0.00%
6.16%$914.23-35.77-3.77%
6.66%$880.09-69.91-7.36%
7.66%$816.39-133.61-14.06%
Planning notes, formulas, and examples

About the Yield to Maturity (YTM) Calculator

Yield to Maturity (YTM) is the most important measure of a bond's total return โ€” it represents the annualized rate of return if you hold the bond until maturity, accounting for coupon payments, the purchase price, face value, and time to maturity. The YTM Calculator solves for yield given bond parameters, or prices a bond given a target yield.

Understanding the difference between coupon rate, current yield, and YTM is essential for bond investing. A bond with a 5% coupon rate trading at $950 has a current yield of 5.26% (50/950) but a YTM higher than 5.26% because the investor also gains $50 at maturity (capital appreciation from buying below par). Conversely, premium bonds (priced above par) have YTM lower than the coupon rate.

This calculator uses iterative numerical methods (Newton-Raphson) to solve the YTM equation, which has no closed-form solution. It handles semiannual and annual coupon payments, calculates yield to call for callable bonds, and provides price sensitivity analysis showing how bond prices change with yield โ€” essential for duration and portfolio risk management.

When This Page Helps

YTM is the standard metric for comparing bond investments. It gives precise yields and price sensitivity analysis essential for fixed income investing decisions. Use it to compare bonds on the same footing or to sanity-check a quoted price against a target yield. It also helps separate coupon intuition from actual total return math.

How to Use the Inputs

  1. Choose calculation mode: find YTM from price, or find price from yield
  2. Enter the bond's face value (par, usually $1,000)
  3. Enter the annual coupon rate and payment frequency
  4. Enter years to maturity and current market price
  5. Review YTM, current yield, and price sensitivity
  6. For callable bonds, enter the call date and call price for YTC
Formula used
Bond Price = ฮฃ[C/(1+r)^t] + FV/(1+r)^n, where C = coupon payment, r = yield per period, FV = face value, n = total periods. Current Yield = Annual Coupon / Market Price. YTM solved iteratively (no closed form). Modified Duration = Macaulay Duration / (1 + YTM/m).

Example Calculation

Result: YTM: 5.66%, Current Yield: 5.26%

A $1,000 face value bond with 5% coupon (semiannual) maturing in 10 years, purchased for $950, yields 5.66% to maturity. The current yield is 5.26% (50/950), but YTM is higher because the $50 discount ($1,000-$950) adds to the total return over 10 years.

Tips & Best Practices

  • Compare YTM to YTC for callable bonds โ€” use the lower yield (yield to worst)
  • Tax-exempt municipal bond YTM should be compared on a tax-equivalent basis: YTM / (1 - tax rate)
  • Duration increases with maturity and decreases with coupon rate โ€” zero coupon bonds have highest duration
  • In a rising rate environment, shorter duration bonds lose less value
  • Credit spread = corporate YTM - Treasury YTM at same maturity โ€” higher spread = more credit risk
  • YTM assumes reinvestment at YTM rate โ€” actual returns may differ due to reinvestment risk

Bond Pricing Fundamentals

A bond's fair value is the present value of all future cash flows discounted at the required yield. For a $1,000 face value bond with 5% semiannual coupon and 10 years to maturity, there are 20 coupon payments of $25 plus $1,000 at maturity. Discounting these at different yields produces different prices: at 5% yield, price = $1,000 (par); at 4% yield, price = $1,081 (premium); at 6% yield, price = $926 (discount).

The relationship between price and yield is convex โ€” price decreases with higher yields but at a decreasing rate. This convexity means bond prices rise more when yields fall than they decline when yields rise by the same amount, making convexity a beneficial property for bond investors.

Duration and Risk Management

Macaulay Duration (weighted average time to receive cash flows) and Modified Duration (price sensitivity measure) are derived from the YTM calculation. A portfolio manager targeting a specific duration exposure uses these metrics to construct portfolios that match liabilities or investment horizons.

For example, a pension fund with liabilities averaging 15 years might target portfolio duration of 15 years โ€” immunizing against parallel yield curve shifts. Duration can be managed through maturity selection, coupon selection, and derivative overlays. The calculator's sensitivity analysis shows exactly how price changes for ยฑ1% yield movements.

Credit Spread Analysis

The difference between a corporate bond's YTM and a Treasury bond's YTM at the same maturity is the credit spread. This spread compensates for default risk, liquidity risk, and tax treatment differences. Investment grade spreads (50-200 bps) widen during economic stress and narrow during expansion. High yield spreads (300-800+ bps) provide equity-like returns but with bond-like downside structure. Monitoring spread changes is crucial for corporate bond portfolio management.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • Current yield = annual coupon / market price (ignores capital gain/loss). YTM = total annualized return including coupons, capital gain/loss, and reinvestment. For par bonds: YTM = current yield = coupon rate. For discount bonds: YTM > current yield > coupon rate. For premium bonds: coupon rate > current yield > YTM.