As you know, calculating YTM is just calculating the IRR for the process of purchasing a bond.
The PV of the outflows is just the price of buying the bond, PB.
The PV of the inflows is just the PV of the cash flows you get from the bond.
Therefore, when you write down the equation to solve for IRR, you just get the bond pricing formula‼ You just solve this equation for i, the discount rate. The answer you get is the YTM, which is:
- The effective “interest rate” on the bond
- The IRR of purchasing the bond
Here are our three bond pricing formulas:
PCouponBond=(1+i)1Fc+(1+i)2Fc+(1+i)3Fc+...+(1+i)TFc+FPZCB=(1+i)TFPConsol=iFc
The good news is that there are only three types of bonds, so there are only three types of YTM problems.
Yield to Maturity (YTM) Examples
✏️ Bond #1: Consol
c=6%
F=$1000
T=∞
PB=$982
✔ Click here to view answer
Write down the bond pricing formula and solve for i
PConsol$982=iFc=i1000×6%Switcheroo:
i=$9821000×6%=98260=6.11%
✏️ Bond #2: 1 year Coupon Bond
c=5%
F=$1000
T=1
PB=$982
✔ Click here to view answer
Write down the formula:
PCouponBond=(1+i)1Fc+(1+i)2Fc+(1+i)3Fc+...+(1+i)TFc+(1+i)TFPCouponBond=(1+i)1F×c+(1+i)1F=(1+i)1Fc+F$982=(1+i)1$50+(1+i)1$1000=(1+i)1$1050$982=(1+i)1$1050Switcheroo:
(1+i)1(1+i)1i=$982$1050=9821050=1.0692=1.0692=6.92%
✏️ Bond #3: Zero Coupon Bond
c=0%
F=$1000
T=4
PB=$749
✔ Click here to view answer
Write down the bond pricing formula and solve for i
PZCB$749=(1+i)TF=(1+i)41000Switcheroo:
(1+i)4=$749$1000=1.3351
Move the 4 over to the other side and turn it into a 41.
(Mathematically speaking, you are taking the (41) power of both sides, but practically, you’re moving the exponent over to the other side and “flipping it.“)
i=7.492842059%
Tip: Be careful how you enter this into a spreadsheet or the Google search box:
- Correct: 1.3351^(1/4) = 1.0749
- Incorrect: 1.3351^1/4 = .333775 (don’t forget the parentheses!)
- Correct: 1.3351^.25 = 1.0749 (it’s okay to calculate 1/4 in advance)