Bond Yield Calculator: Yield to Maturity, Price and Duration

Calculate a bond’s yield to maturity from its price, or its price from a yield, with current yield, duration, convexity and a rate-shock table.

Education only, not financial advice. This calculator gives estimates from the numbers you enter. It is not a recommendation to buy, sell or hold anything. Check important decisions with a qualified professional. Everything runs in your browser; nothing you type is sent or stored.

Standard bond math Yield to maturity, price, current yield, duration and convexity for a fixed-rate bond, using street convention (yield compounded at the coupon frequency, priced on a coupon date). No outside data needed; enter the bond’s terms.

Yield to maturity—
Current yield—
Modified duration—
Convexity—

How to calculate yield to maturity

Yield to maturity (YTM) is the single interest rate that makes the present value of a bond’s remaining coupons and principal equal to its price. It’s the return you’d earn if you bought at that price, held to maturity, got every payment on time and reinvested coupons at the same yield. There’s no closed-form formula, so the calculator solves for it numerically.

Price = Σ coupon ÷ (1 + y/f)t + face ÷ (1 + y/f)n, for t = 1 to n payments, f payments a year
  • Bought below face (discount): YTM is higher than the coupon rate, because you also gain the discount at maturity.
  • Bought above face (premium): YTM is lower than the coupon.
  • Current yield is just the coupon divided by the price, ignoring the gain or loss at maturity.
  • Modified duration estimates how much the price moves for a 1-point change in yield; convexity corrects that estimate for big moves.

This calculator prices on a coupon date and ignores accrued interest and call features. For a deeper explanation see YTM, YTC and YTW explained and duration and convexity explained. Check today’s Treasury yields on the yield curve, or compare munis with the tax-equivalent yield calculator.

Frequently asked questions

How do you calculate yield to maturity?

Find the discount rate at which the present value of all remaining coupon payments plus the face value equals the bond’s price. It has to be solved by trial and error, which this calculator does instantly.

What’s the difference between current yield and yield to maturity?

Current yield is the annual coupon divided by the price. YTM also counts the gain or loss between the price you pay and the face value you get at maturity, and the time value of each payment.

Why does a bond’s price fall when yields rise?

Its fixed coupons become less attractive than new bonds paying higher rates, so the price drops until its yield matches the market. Modified duration estimates the size of the drop.

Is YTM the return I’ll actually get?

Only if you hold to maturity, the issuer pays everything on time and you reinvest coupons at the same yield. Selling early or reinvesting at different rates changes your return.

What is a good yield to maturity?

Compare it with Treasuries of the same maturity. The extra yield (the spread) is your pay for credit and liquidity risk.

Related tools and guides

Updated Nov 23, 2026. Built by the ECMSource team. Spot an error? Tell us.

Disclaimer: ECMSource tools are for general education. Results are hypothetical, assume constant rates, and ignore taxes, fees and other costs unless stated. Past returns do not predict future returns. See our full disclaimer and editorial policy.