iLearnFintech Glossary Formulas Cases Sandboxes
Investing/Bonds

Yield to maturity

8 min readCoreUpdated December 2026
In short

Yield to maturity (YTM) is the one interest rate that makes a bond's future payments worth exactly its price today. It is the return you earn if you buy now, hold to the end and the issuer pays everything. It lets you compare bonds with different coupons, prices and maturities.

Know this first

What it is

A bond's coupon tells you what it pays, not what you earn. If you buy a bond below its face value, you get the coupons and a gain when it is repaid at 100. If you buy above face value, you lose that premium by the end.

Yield to maturity rolls everything into one yearly rate: it is the discount rate at which the present value of all coupons and the final repayment equals today's price.

Two simpler measures are also used. The current yield is the coupon divided by the price: it ignores the gain or loss at maturity. The coupon rate is the coupon divided by the face value: it ignores the price altogether.

YTM rests on three assumptions: you hold to maturity, the issuer pays in full and on time, and you reinvest the coupons at the same rate. If any of them fails, your actual return will differ.

The intuition

Think of YTM as the interest rate on a savings account that would produce exactly the same payments for the same deposit. A bond priced at 97.50 that pays 5 a year and 100 at the end is like depositing 97.50 at 5.5% a year.

Because price and yield are two ways of saying the same thing, traders quote bonds by yield. "The bond yields 5.5%" tells you more than "the bond costs 97.50".

$0$25$50$75$100Year 1Year 2Year 3Year 4Year 5Year 6105 paidworth 76.15Pale: paid · dark: worth today at 5.5%Dark bars add up to 97.50, the price
Fernway's bond per $100: the pale bars are what it pays, the dark bars what each payment is worth today at a 5.5% yield. The dark bars add up to the price, 97.50.

The math

\[P = \sum_{t=1}^{T} \frac{C}{(1+y)^t} + \frac{F}{(1+y)^T} \quad \Rightarrow \quad \text{solve for } y\]
\[\text{Current yield} = \frac{C}{P}, \qquad y \approx \frac{C + (F-P)/T}{(F+P)/2}\]

Where

\(P\)
Price today
\(C\)
Yearly coupon
\(F\)
Face value, repaid at maturity
\(T\)
Years to maturity
\(y\)
Yield to maturity

In words: There is no direct formula for y; a computer tries rates until the present value matches the price. The second line gives a quick hand estimate.

An example

Fernway's $300 million bond has a 5% coupon and 6 years left. It trades at 97.50 per 100 of face value.

MeasureCalculationResult
Coupon rate5 / 1005.00%
Current yield5 / 97.505.13%
Quick estimate of YTM(5 + 2.50/6) / 98.755.48%
Yield to maturitysolved exactly5.50%

A 6-year government bond yields 3.5%, so investors demand 2.0 percentage points more from Fernway. That gap is its credit spread.

In Python

Find the rate that makes the bond's present value equal its price.

from scipy.optimize import brentq

def price(coupon, years, y, face=100):
    pv = sum(coupon / (1 + y) ** t for t in range(1, years + 1))
    return pv + face / (1 + y) ** years

p = 97.50
ytm = brentq(lambda y: price(5, 6, y) - p, -0.5, 1)
print("YTM:", round(ytm * 100, 2), "%")
print("current yield:", round(5 / p * 100, 2), "%")

In the real world

Negative yields, 2020

In the late 2010s some investors paid so much for government bonds, mostly in Europe and Japan, that their yield to maturity was below zero. Holding them to the end guaranteed a small loss. In December 2020 bonds worth a record $18.4 trillion had negative yields. Buyers accepted this as the price of safety, or expected to sell at an even higher price. When rates rose in 2022, the pile almost disappeared, along with much of its value.

Think about it

Bond A has a 7% coupon and costs 110. Bond B has a 4% coupon and costs 95. Both mature in 5 years and come from similar issuers. A friend wants Bond A "because it pays more". Is that the right reason?

Show a model answer

No: the coupon is only part of the return. Bond A pays 7 a year but loses 10 of its price by maturity, so its YTM is about 4.7%. Bond B pays 4 a year and gains 5 by maturity, a YTM of about 5.2%. With similar issuers, Bond B earns more if both are held to the end. Compare yields, not coupons. A high coupon can even be a warning sign that the issuer had to pay up.

Reading the result

Compare bonds by yield to maturity, not by coupon. Then ask why one yields more than another: a longer maturity, a weaker borrower, less liquidity or special features such as the right to repay early.

Good signs

  • Quoting and comparing bonds by YTM
  • Checking the YTM against a government bond of the same maturity
  • Remembering the assumptions behind the number

Watch out

  • Choosing a bond for its high coupon
  • Treating YTM as guaranteed when the borrower may default
  • Ignoring that coupons may be reinvested at lower rates

Remember

  • YTM is the discount rate that makes PV of payments = price.
  • It is the return if you hold to maturity and get paid in full.
  • Below par: YTM above the coupon. Above par: below it.

Check yourself

Question 1 of 2A bond trades below its face value. How does its yield to maturity compare with its coupon rate?

Question 2 of 2Which assumption is built into yield to maturity?

Read more

  • Bodie, Kane & Marcus, Investments: chapter on bond prices and yields
  • John C. Hull, Options, Futures, and Other Derivatives: chapter on interest rates

Spotted a mistake or have a wish?

Tell us in a line or two. The page name is sent along automatically.