Sub topic 9
The Z-spread
This chapter assumes you can discount cash flows at spot rates, you know how spot rates are bootstrapped from par rates, and you know the benchmark spreads (G-spread and I-spread) from the previous chapter. You should also be comfortable solving for a yield numerically.
What the Z-spread measures
The Z-spread (zero-volatility spread) is the constant spread you add to every spot rate on a benchmark curve so that the discounted cash flows of a bond equal its market price. "Zero-volatility" means the calculation assumes interest rates follow today's curve with no uncertainty.
For a bond with cash flows CFt at times t = 1, ..., N and benchmark spot rates st, the Z-spread Z solves:
Price = CF1 / (1 + s1 + Z)^1 + CF2 / (1 + s2 + Z)^2 + ... + CFN / (1 + sN + Z)^N
The benchmark is usually the government spot curve or the swap curve. You must state which one you used, because the spread is meaningless without it.
Why not just use the yield spread?
A G-spread or I-spread subtracts one benchmark yield from the bond's yield to maturity. That comparison has two weaknesses:
- The bond's YTM is a single rate applied to all cash flows, while the benchmark yield is read off at one maturity, often by interpolation.
- If the curve is steep, or the bond pays large cash flows before maturity, the single benchmark point misrepresents the bond's actual timing.
The Z-spread compares each cash flow with the spot rate for its own maturity. When the curve is flat, the Z-spread, G-spread and I-spread are nearly equal. They diverge as the curve gets steeper, as the bond's maturity gets longer, and as the bond's cash flows get spread more evenly across time (for example, amortizing bonds).
| Measure | Compared against | Uses whole curve? | Reflects options? |
|---|---|---|---|
| G-spread | Government yield at one maturity | No | Embedded in YTM |
| I-spread | Swap rate at one maturity | No | Embedded in YTM |
| Z-spread | Spot curve, every cash flow | Yes | Embedded in price |
| OAS | Tree-implied rates | Yes | Removed |
Solving for the Z-spread
There is no closed-form solution, because Z appears in every term of the sum. Bond price falls as Z rises, so a bracketing method such as bisection always converges for a bond with positive cash flows.
def price_at_spread(cash_flows, spots, z):
return sum(
cf / (1 + s + z) ** t
for t, (cf, s) in enumerate(zip(cash_flows, spots), start=1)
)
def z_spread(cash_flows, spots, market_price, lo=-0.05, hi=0.50, tol=1e-10):
while hi - lo > tol:
mid = (lo + hi) / 2
if price_at_spread(cash_flows, spots, mid) > market_price:
lo = mid # model price too high, so the spread must be larger
else:
hi = mid
return (lo + hi) / 2
cash_flows = [5, 5, 105] # 5% annual coupon, 3 years, par 100
spots = [0.02, 0.03, 0.04] # benchmark spot curve
market_price = 101.50
print(price_at_spread(cash_flows, spots, 0.0)) # arbitrage-free price, about 102.96
print(z_spread(cash_flows, spots, market_price)) # about 0.0052The benchmark curve prices the bond at about 102.96. The market price is 101.50, which is lower, so investors demand extra yield. The Z-spread is about 52 basis points.
Interpreting the number
For an option-free bond, the Z-spread is the extra annual return over the benchmark that you earn for bearing credit risk and liquidity risk, assuming you hold the bond to maturity and the spot curve is realized. A higher Z-spread means the market prices the bond cheaper relative to the benchmark.
You can also use it for relative value. If two bonds from similar issuers have maturities that match and one has a Z-spread 40 bp wider, the market demands more compensation for that bond. Whether the extra spread is justified depends on credit and liquidity differences.
A Z-spread can be negative. That happens when a bond trades at a higher price than the benchmark curve implies, such as a high-quality bond with strong demand.
Z-spread and embedded options
The Z-spread assumes fixed cash flows. A callable or putable bond has cash flows that depend on future interest rates, so a single deterministic path cannot describe it. The Z-spread therefore bundles together compensation for credit risk, liquidity risk and the embedded option.
The option-adjusted spread (OAS) removes the option. The relationship is:
Z-spread = OAS + option cost (in spread terms)
- A callable bond is cheaper than a comparable straight bond because the issuer holds the call option. Its price is lower, so its Z-spread is higher than its OAS. Option cost is positive.
- A putable bond is more expensive because the investor holds the put. Its price is higher, so its Z-spread is lower than its OAS. Option cost is negative.
The next chapters build the binomial tree needed to compute the OAS itself.
Common errors
- Adding the spread to the YTM. The Z-spread is added to each spot rate, not to the bond's yield to maturity.
- Mixing compounding conventions. If the spot curve is stated as semiannual bond-equivalent rates, discount with half the rate per half-year period and per-period exponents. The Z-spread is then quoted on the same annualized basis.
- Using the wrong benchmark. A Z-spread over the government curve and one over the swap curve for the same bond are different numbers.
- Ignoring accrued interest. The market price in the equation is the full (dirty) price, which includes accrued interest. Using a clean price makes the spread wrong.
- Reading the spread as a forecast. It is a pricing measure under today's curve, not a prediction of future excess return.
Where it fits in the chapter sequence
The Z-spread extends the bootstrapped spot curve from the earlier chapters into a measure of how much a specific bond is cheap or rich. It is the bridge to the arbitrage-free tree: the OAS replaces the "zero-volatility" assumption with a model of rate uncertainty, and the gap between the two spreads measures the embedded option.
Exercise
A 2-year zero-coupon bond with par value 100 has a market price of 91.5730. The benchmark 1-year and 2-year spot rates are 3.0% and 4.0%, with annual compounding. What is the Z-spread?
Show answer
Only the year-2 cash flow matters. Solve 100 / (1 + 0.04 + Z)^2 = 91.5730. That gives (1.04 + Z)^2 = 100 / 91.5730 = 1.092025, so 1.04 + Z = 1.045 and Z = 0.005, or 50 bp.
Exercise
A callable bond has a Z-spread of 120 bp, and the option cost is estimated at 35 bp. What is the OAS, and what would the OAS be for a putable bond with the same Z-spread if the option were worth -20 bp?
Show answer
Since Z-spread = OAS + option cost, the callable bond's OAS is 120 - 35 = 85 bp. For the putable bond, OAS = 120 - (-20) = 140 bp.