Sub topic 1
Spot Rates and Discount Factors
Prerequisites
This chapter assumes you can:
- Compute the present value of a cash flow and of a stream of cash flows.
- Price a bond and read its yield to maturity (YTM).
- Recognize coupon, par value, and maturity.
- Use Python lists, loops, and
enumerate.
Later chapters build on this one. They cover bootstrapping, forward rates, and arbitrage-free valuation, and all of them depend on the definitions here.
Why a single yield is not enough
A bond pays cash at several dates. The market does not charge the same annual return for waiting one year as for waiting ten. If it did, one rate would discount every cash flow. In practice, the return for each horizon differs, and the full set of those returns is the term structure of interest rates.
YTM hides this. It is a single rate that equates a bond's price to its cash flows, so it averages across all of the bond's dates. Two bonds with different coupons and the same maturity have different YTMs, even though both face the same market. To value cash flows consistently, we need a rate that belongs to a single date. That rate is the spot rate.
Spot rates
The spot rate for maturity t, written S_t, is the annualized yield on a zero-coupon bond that pays one amount at time t and nothing before. A zero-coupon bond has no intermediate cash flows, so its yield is a clean price for time t alone.
A spot rate is a market rate for money borrowed today and repaid at t. The spot curve (also called the zero curve) plots S_t against maturity t. Spot rates come from one of two places:
- Prices of zero-coupon bonds, such as Treasury strips.
- Coupon bonds, using bootstrapping. The next chapters cover this.
In this chapter, the convention is annual compounding. Each period is one year, and S_t is an effective annual rate.
Discount factors
A discount factor DF_t is today's price of receiving 1 at time t. It follows directly from the spot rate:
DFt = 1 / (1 + St)^t
Three properties are worth memorizing:
- DF_t is between 0 and 1 when rates are positive. It is the present value of one unit.
- DF_t falls as t rises when spot rates are positive, because later money is worth less.
- The spot rate recovers from the factor: St = DFt^(-1/t) − 1.
Discount factors are the cleaner object for pricing. Any cash flow's present value is the amount times the discount factor for its date. A spot rate and a discount factor carry the same information in two forms.
Pricing a bond with spot rates
Because each cash flow has its own discount rate, a coupon bond is a package of zero-coupon bonds. Its value is:
P = Σ CFt × DFt = Σ CFt / (1 + St)^t
Take a 3-year bond paying a 5% annual coupon on par 100, with spot rates of 2%, 3%, and 4% for years 1, 2, and 3.
cash_flows = [5, 5, 105] # 5% annual coupon, par 100, 3 years
spots = [0.02, 0.03, 0.04]
dfs = [1 / (1 + s) ** t for t, s in enumerate(spots, start=1)]
price = sum(cf * df for cf, df in zip(cash_flows, dfs))
def bond_price(y):
return sum(cf / (1 + y) ** t for t, cf in enumerate(cash_flows, start=1))
# solve for the YTM by bisection: price falls as the yield rises
lo, hi = 0.0, 0.2
for _ in range(60):
mid = (lo + hi) / 2
if bond_price(mid) > price:
lo = mid
else:
hi = mid
print([round(d, 4) for d in dfs]) # [0.9804, 0.9426, 0.889]
print(round(price, 2)) # 102.96
print(round((lo + hi) / 2, 4)) # 0.0394The present values are about 4.90, 4.71, and 93.34, summing to 102.96. The YTM that gives the same price is about 3.94%. That figure sits between the 3-year spot rate (4%) and the shorter spot rates, which is expected. YTM is a blend of the spots weighted by the size and timing of the cash flows. Most of the value comes from the final payment, which is why the YTM lands close to the 3-year spot.
Spot rates, YTM, and the par curve
The three concepts answer different questions:
| Concept | What it describes | Cash flows it applies to |
|---|---|---|
| Spot rate *S_t* | Return for one date *t* | A single payment at *t* |
| YTM | One rate that reprices a specific bond | All of that bond's payments |
| Par rate | The coupon at which a bond of maturity *t* prices at par | A par bond of maturity *t* |
The spot curve is the preferred input for valuation because it is independent of any particular bond's coupon. YTM depends on the coupon, so two bonds of equal maturity and risk can quote different YTMs. The par curve is another way to describe the same market, and the next chapters show how to move between the two.
Common errors
- Discounting every cash flow at the YTM when the goal is an arbitrage-free price. This gives the bond's own quoted price back, but it cannot be used to compare bonds or to value a bond that is not yet priced.
- Mixing compounding conventions. The formulas above assume annual compounding. A semiannual bond quoted on a bond-equivalent basis needs a half-year period and a rate divided by two. Do not combine the two bases in one calculation.
- Using the wrong exponent. The exponent is the cash flow's own time t, not the bond's maturity.
- Treating a spot rate as the rate for one period. S_3 is the annualized rate over three years, not the return of year 3 alone. The return of a single future period is a forward rate, which is the next topic after bootstrapping.
- Reading an upward-sloping curve as proof that discounting is simple. A rising spot curve means later cash flows face a higher annual rate, so the effect of the exponent and of the rate compound.
Where this leads
Spot rates are only observable directly when zero-coupon bonds trade at the needed maturities. Most markets have coupon bonds instead. The next chapters derive spot rates from par rates and then use the spot curve to find forward rates. Arbitrage-free valuation then states the principle already used here: a bond must be worth the same as the sum of its zero-coupon components.
Exercise
The 1-year and 2-year spot rates are 2.5% and 3.5%, with annual compounding. Find both discount factors, then price a 2-year bond with a 4% annual coupon and par 100.
Show answer
DF1 = 1/1.025 = 0.9756. DF2 = 1/1.035^2 = 1/1.071225 = 0.9335. The cash flows are 4 and 104. Price = 4 × 0.9756 + 104 × 0.9335 = 3.90 + 97.09 = 100.99 (about 100.99). The bond sells slightly above par because its coupon of 4% exceeds the 2-year par yield implied by these spot rates, which is a little under 3.5%.
Exercise
A 1-year discount factor is 0.9615 and a 3-year discount factor is 0.8890. Compute the spot rates S1 and S3, and explain why the 3-year spot rate is not the return earned in year 3 alone.
Show answer
S1 = 1/0.9615 − 1 = 4.00%. S3 = 0.8890^(−1/3) − 1 = 1.1249^(1/3) − 1, which is about 4.00% as well. Check: 1.04^3 = 1.1249. The 3-year spot rate is an annualized rate for the whole three years. It averages the returns of years 1, 2, and 3. The return of year 3 alone is a forward rate, found from the ratio of the 3-year and 2-year growth factors.