Sub topic 8
Measuring Spreads over Benchmarks: G-spread, I-spread, and Swap Spread
This chapter assumes you can price a bond from its yield to maturity, read a par curve, and know that a swap rate is the fixed rate that sets a plain-vanilla interest rate swap's value to zero at initiation. It uses spot rates only lightly. The Z-spread, which discounts at spot rates, is the next chapter.
Why quote a spread at all
Investors compare corporate bonds by how much extra yield they earn over a risk-free or near risk-free reference. That extra yield is the yield spread. It pays for credit risk, liquidity risk, and any embedded option. The reference is the benchmark. The three measures here differ only in which benchmark they use.
- A G-spread uses a government yield curve.
- An I-spread uses a swap curve.
- A swap spread is the gap between the two benchmarks themselves.
All three are quoted in basis points (bp). One basis point is 0.01%.
Interpolating the benchmark yield
A bond rarely matures on the same date as a benchmark security. Suppose a corporate bond matures in 6 years, while the benchmark curve has points at 5 and 7 years. You need a benchmark yield for exactly 6 years. The standard approach is linear interpolation between the two benchmark points that bracket the bond's maturity.
With maturities T1 < T < T2 and benchmark yields y1 and y2:
y(T) = y1 + (T − T1) / (T2 − T1) × (y2 − y1)
The weight (T − T1) / (T2 − T1) is the fraction of the way from T1 to T2. At 6 years between 5 and 7, the weight is 0.5.
G-spread
The G-spread is the bond's yield to maturity minus the interpolated government yield at the same maturity.
G-spread = YTM of bond − interpolated government yield
The government curve is usually built from the yields of on-the-run government bonds.
I-spread
The I-spread (interpolated spread to the swap curve) is the bond's yield to maturity minus the interpolated swap rate at the same maturity.
I-spread = YTM of bond − interpolated swap rate
The swap curve is the benchmark in markets where banks fund and hedge at swap rates. Swap rates reflect the credit risk of the banking sector rather than of a government. Swap markets now reference overnight rates such as SOFR rather than LIBOR. The arithmetic does not change, but check which floating rate underlies the swap curve you use.
Swap spread
The swap spread is the swap rate minus the government yield for the same maturity.
Swap spread = swap rate − government yield
It measures how much more the swap market pays than the government does. It is often read as a gauge of banking-sector credit and liquidity conditions. Because each spread is a difference of yields, the three quantities are linked:
G-spread = I-spread + swap spread
Substitute the definitions to check: (YTM − government) = (YTM − swap) + (swap − government).
Worked example
A 6-year corporate bond has a YTM of 4.70%. The benchmark data are below.
| Maturity | Government yield | Swap rate |
|---|---|---|
| 5 years | 3.00% | 3.30% |
| 7 years | 3.40% | 3.70% |
The weight is 0.5 for both curves.
- Interpolated government yield: 3.00% + 0.5 × (3.40% − 3.00%) = 3.20%.
- Interpolated swap rate: 3.30% + 0.5 × (3.70% − 3.30%) = 3.50%.
- G-spread: 4.70% − 3.20% = 1.50%, or 150 bp.
- I-spread: 4.70% − 3.50% = 1.20%, or 120 bp.
- Swap spread: 3.50% − 3.20% = 0.30%, or 30 bp.
The check works: 120 bp + 30 bp = 150 bp.
The same calculation in Python:
def interpolate(t, t1, y1, t2, y2):
# linear interpolation of a benchmark yield at maturity t, with t1 <= t <= t2
return y1 + (t - t1) / (t2 - t1) * (y2 - y1)
bond_ytm = 0.047
maturity = 6
gov = interpolate(maturity, 5, 0.030, 7, 0.034)
swap = interpolate(maturity, 5, 0.033, 7, 0.037)
g_spread = bond_ytm - gov
i_spread = bond_ytm - swap
swap_spread = swap - gov
print(round(g_spread * 1e4, 1), round(i_spread * 1e4, 1), round(swap_spread * 1e4, 1))
print(abs(g_spread - (i_spread + swap_spread)) < 1e-12)The first line prints 150.0 120.0 30.0. The second prints True.
Interpreting the numbers
A wider spread means more compensation for risk, or a cheaper bond, or both. The spread alone does not tell you which.
- Choice of benchmark. The G-spread treats the government curve as risk-free. The I-spread treats the swap curve as the reference, which makes it natural for investors who hedge with swaps. A negative swap spread is possible, and it has occurred at long maturities in some markets. The I-spread is then larger than the G-spread.
- Comparing bonds. Two bonds are comparable only when you use the same benchmark and the same conventions. Check compounding frequency and day count on both the bond yield and the benchmark yield.
- Time variation. A change in the G-spread can come from the bond's credit quality, or from the benchmark moving. Splitting it into the I-spread and the swap spread helps separate credit-specific moves from market-wide funding stress.
Limitations
These spreads are simple, and the simplicity has costs.
- They compare yields to maturity. A YTM is a single discount rate applied to every cash flow. A benchmark YTM at one maturity ignores that the bond's early cash flows would be discounted at lower spot rates. On a steep curve the answer depends on the shape of the curve, not just the bond's risk.
- Linear interpolation is an approximation. The true curve between two points is not a straight line. The error grows when the benchmark points are far apart.
- They use one maturity point. A bond with a long coupon stream is exposed to the whole curve. A single interpolated yield summarizes that poorly.
- They ignore embedded options. For a callable bond, the spread includes the cost of the call option. A callable bond's spread looks wide partly because the issuer holds the option.
- Benchmark risk differs. A swap rate carries bank credit risk. A government yield does not, or carries sovereign risk only. Mixing the two gives misleading comparisons.
Limitations 1 and 3 motivate the Z-spread, a constant spread added to every spot rate on the curve. Limitation 4 motivates the option-adjusted spread, covered later.
Exercise
A 4-year bond has a YTM of 5.10%. The government yield is 3.60% at 3 years and 4.00% at 5 years. The swap rate is 3.85% at 3 years and 4.25% at 5 years. Compute the G-spread, I-spread, and swap spread in bp, and confirm that they satisfy G-spread = I-spread + swap spread.
Show answer
The weight is (4 − 3) / (5 − 3) = 0.5. Interpolated government yield = 3.60% + 0.5 × 0.40% = 3.80%. Interpolated swap rate = 3.85% + 0.5 × 0.40% = 4.05%. G-spread = 5.10% − 3.80% = 130 bp. I-spread = 5.10% − 4.05% = 105 bp. Swap spread = 4.05% − 3.80% = 25 bp. Check: 105 bp + 25 bp = 130 bp.
Exercise
A bond's G-spread is 90 bp and the swap spread at its maturity is −10 bp. What is its I-spread, and what does the negative swap spread say about the swap rate relative to the government yield?
Show answer
I-spread = G-spread − swap spread = 90 bp − (−10 bp) = 100 bp. The negative swap spread means the swap rate is below the government yield at that maturity, so the swap benchmark is lower and the I-spread is larger than the G-spread.
Exercise
Why can the G-spread of a callable bond overstate the extra yield an investor earns for credit risk?
Show answer
The bond's YTM is lower or higher than that of an otherwise identical non-callable bond because the issuer holds a call option, and the investor is paid for that. The G-spread lumps compensation for credit risk, liquidity, and the call option together. It does not separate them. Option-adjusted spread removes the option's effect.