If you're investing in bonds, yield to maturity (YTM) is one of the most useful numbers you can calculate. It helps you compare bonds with different prices, coupon rates, and maturities on an apples-to-apples basis. Use the calculator below to estimate a bond's YTM quickly.
Bond Yield to Maturity Calculator
What is bond YTM?
Yield to maturity is the annualized return you would earn if you buy a bond today at its current market price, collect all coupon payments as scheduled, and hold it until it matures. It assumes coupons are reinvested at the same yield and that the issuer does not default.
In plain English: YTM combines coupon income and any gain/loss from buying the bond at a discount or premium, then expresses that as an annual return.
How this calculator works
Inputs used
- Face value: Amount paid back at maturity (often $1,000 for corporate bonds).
- Coupon rate: Stated annual interest rate based on face value.
- Market price: What you pay for the bond today.
- Years to maturity: Time remaining until principal repayment.
- Payments per year: Coupon frequency (annual, semiannual, etc.).
Calculation method
YTM is found by solving the bond pricing equation for yield. Because there is no simple algebraic solution in most cases, the calculator uses a numerical root-finding approach (bisection method) to estimate the yield that makes present value equal the current price.
Interpreting your result
- Price below par (discount bond): YTM is usually higher than coupon rate.
- Price above par (premium bond): YTM is usually lower than coupon rate.
- Price at par: YTM is typically very close to coupon rate.
The output also includes current yield and effective annual yield, which are related but not identical measures.
YTM vs current yield
Current yield is annual coupon divided by current price. It ignores time to maturity and any capital gain/loss when the bond returns to par. YTM includes those effects, making it more complete for comparison.
Important assumptions and limitations
- Coupons are paid on schedule.
- You hold the bond to maturity.
- Coupons can be reinvested at the same YTM.
- No default risk or missed payments.
- No taxes, fees, call features, or liquidity effects in the estimate.
For callable or putable bonds, yield to call or yield to worst may be more relevant than plain YTM.
Quick example
Suppose a $1,000 face-value bond has a 5% coupon rate, matures in 10 years, pays semiannually, and trades at $950. Because it's trading below par, the YTM should be above 5%. The calculator will produce a YTM around the mid-5% range, depending on exact frequency and assumptions.
Bottom line
Use YTM when you want a practical single-number estimate of a bond's total annualized return if held to maturity. It is one of the best starting points for comparing fixed-income opportunities.