What is yield to maturity?
Yield to maturity (YTM) is the yearly return on a bond that you buy today and keep until the issuer repays it. It counts every coupon that is left and the gap between the price you pay and the 100 you get back. So you can compare bonds with different coupons, prices and maturities on one number.
A bond that trades below 100 yields more than its coupon, because you also gain the discount at maturity. A bond above 100 yields less than its coupon.
How the calculator works
The yield is the rate that makes the value of all future cash flows equal to the price you pay, with the accrued interest:
clean price + accrued interest = Σ cash flowᵢ / (1 + y / f) ^ tᵢ y yield to maturity f coupons per year tᵢ coupon periods from settlement to payment i
The calculator solves this for y. The coupon dates step back from the maturity date. Accrued interest uses the ACT/ACT (ICMA) day count, as most European government and corporate bonds do. The yield is compounded once per coupon period, which is the usual way to quote bond yields in Europe. In the last coupon period, with one payment left, the yield is simple: clean price + accrued interest = cash flow / (1 + y × t / f).
An example
Take a bond with a 3.8% coupon paid twice a year, which matures on 1 Jul 2036. On 6 Nov 2026 it trades at a clean price of 95.18. The accrued interest is 1.322, so you pay 96.502 per 100 of face value. You get 20 more coupons and 100 at maturity. The yield to maturity is 4.418%, above the 3.8% coupon, because the price is below 100.
Yield to maturity, coupon and current yield
- The coupon is the interest the issuer pays each year, in percent of the face value. It stays the same for the life of a fixed-rate bond.
- The current yield is the coupon divided by the price. It leaves out the gain or loss you make at maturity.
- The yield to maturity adds that gain or loss, and the timing of each payment.
Questions
What is the difference between the clean and the dirty price?
Brokers and exchanges quote the clean price. When you buy, you also pay the seller the coupon interest earned since the last payment date. The dirty price is the clean price plus that accrued interest.
Does the calculator work for zero-coupon bonds?
Yes. Enter 0 as the coupon. The yield then comes only from the gap between the price and 100. To learn how these bonds work, read what are zero-coupon bonds?
Why is the yield different from the one my broker shows?
Brokers can use another settlement date, day count or compounding. A change of one day in the settlement date moves the yield of a short bond the most. Check that the coupons per year match the bond.
What does the calculator leave out?
It assumes the issuer pays every coupon and repays 100 at maturity. It does not price a call, a put, a floating coupon, inflation linking, taxes or fees. It also assumes that you reinvest each coupon at the same yield.
Find a bond
Each bond page on BondSmartly shows the last price and the yield to maturity, with a link back to this calculator. Find a bond in the bond screener, or search by name or ISIN at the top of the page. To compare the yields of all the bonds of one issuer, use the yield curve builder.