Sub topic 4
Yield to Maturity as the Internal Rate of Return
Assume you know present value, compound interest, and basic bond cash flows. This chapter also assumes a fixed-rate bond is priced on a coupon date, has no default, and will be held until maturity.
What Yield to Maturity Measures
Yield to maturity (YTM) is the single annualized discount rate that makes a bond’s present value equal to its market price. It is the bond’s internal rate of return (IRR) when:
- The bond is held until maturity.
- All promised coupons and principal are paid.
- Coupon payments are reinvested at the YTM.
- The bond’s cash flows are known.
For a bond with m coupon payments per year, coupon payment C, face value F, n total periods, and annualized YTM y:
P = Σ [C / (1 + y/m)^k] + [F / (1 + y/m)^n]
The rate used each period is y/m. YTM is usually quoted as a nominal annual rate based on the bond’s payment frequency.
Worked Example
Consider a three-year bond with:
| Input | Value |
|---|---|
| Face value | $100 |
| Annual coupon rate | 5% |
| Annual coupon | $5 |
| Market price | $95 |
| Payments per year | 1 |
The YTM solves:
95 = 5/(1+y) + 5/(1+y)^2 + 105/(1+y)^3
Because y appears in several denominators, algebra does not usually isolate it directly. A financial calculator or numerical search finds y ≈ 6.90%.
The result passes a reasonableness check. The bond sells below par, so its YTM should exceed its 5% coupon rate.
def bond_ytm(price, face, coupon, years, periods_per_year=1):
n = years * periods_per_year
coupon_payment = coupon / periods_per_year
low, high = 0.0, 1.0
for _ in range(100):
y = (low + high) / 2
periodic_yield = y / periods_per_year
present_value = sum(
coupon_payment / (1 + periodic_yield) ** k
for k in range(1, n + 1)
)
present_value += face / (1 + periodic_yield) ** n
if present_value > price:
low = y
else:
high = y
return (low + high) / 2
ytm = bond_ytm(95, 100, 5, 3)
print(f"{ytm:.2%}") # 6.90%Common Errors
- Using the annual coupon rate as the YTM without considering the purchase price.
- Dividing the coupon by the bond price and calling the result YTM. That is closer to current yield and ignores the gain or loss toward par.
- Using an annual yield with semiannual cash flows without dividing the yield by two.
- Treating YTM as valid when the bond is likely to be called before maturity.
Exercise
A three-year, 5% annual-pay bond has a price of $105 per $100 face value. Is its YTM above or below 5%?
Show answer
Below 5%. Because the bond sells above par, the investor experiences a capital loss toward $100 at maturity, which lowers the return below the coupon rate.