Z-Spread Calculator

Solve the zero-volatility spread that reprices a bond when added to every point on a benchmark curve, and compare it with the nominal spread to a single benchmark point.

Z-spread 121.3 bp Added to every point on the curve, this reprices the bond at 96.50
Nominal spread to the benchmark 117.2 bp
Difference the curve shape makes +4.1 bp
Yield to maturity 6.122%
Inputs
Try:
Amounts are treated in the selected currency; no foreign-exchange conversion is applied.
per 100
Clean price per 100 of face.
% p.a.
Annual coupon as a percentage of face.
per year
Two for most corporate bonds.
years
Time to final redemption at par.
%
Benchmark curve at one year, typically government or swap.
%
Benchmark curve at two years.
%
Benchmark curve at three years.
%
Benchmark curve at five years.
%
Benchmark curve at seven years.
%
Benchmark curve at ten years. The curve is interpolated between the points entered and held flat beyond them.
Results & Graph
Z-spread
121.3 bp
Added to every point on the curve, this reprices the bond at 96.50
Nominal spread to the benchmark
117.2 bp
Difference the curve shape makes
+4.1 bp
Yield to maturity
6.122%
Interpolated benchmark at 7 years
4.950%
All-in discount rate at the maturity point
6.163%

Benchmark Curve and the Curve Plus the Z-Spread

Graph 1 • Z-Spread Against the Nominal Spread The gap between them is curve shape, not credit.
Z-spread, whole curve 121.3 bp Nominal spread, one point 117.2 bp
Graph 2 • Benchmark Plus Spread to the All-In Rate The spread is what the market charges above the risk-free curve for this credit.
Benchmark at maturity: 4.950% 4.950% Benchmark at ma… Z-spread: +1.213% +1.213% Z-spread All-in rate: 6.163% 6.163% All-in rate
Graph 3 • Where the Yield Sits Above the Curve Yield to maturity is a single number; the curve it is measured against is not.
Yield to maturity 6.122% Benchmark at maturity 4.950% All-in with the Z-spread 6.163%
Summary: A constant 121.3bp lifted above the whole benchmark curve reprices the bond at 96.50.
Summary: Discounting every cash flow at its own point on the curve plus a constant 121.3 basis points reprices the bond at 96.50. The nominal spread, which compares the 6.122% yield with the 4.950% benchmark at the maturity point alone, is 117.2 basis points. The 4.1 basis point difference between them is the curve shape: the nominal measure compares against one point, the Z-spread against the whole curve.
Interactive chart & math engine powered by CalculatorGraph

Formula: Solving the Constant Spread

Price = Sum of CF(t) / (1 + (s(t) + z) / f)f x t, solved for z
Price = Sum of CF(t) / (1 + (s(t) + z) / f)^(f x t), solved for z
  • z: The constant spread added to every point on the benchmark curve
  • s(t): The benchmark rate interpolated at each cash flow date
  • Nominal spread: Yield to maturity less the benchmark rate at the maturity point alone

Rounding: Spreads to one decimal place in basis points; yields to three decimal places.

Worked example: Example: a 5.5% seven-year bond at 96.50

Against a benchmark curve rising from 4.20% at one year to 5.10% at ten.

  1. The price of 96.50 implies a yield to maturity of 6.122%.
  2. The benchmark at the seven-year point is 4.950%, so the nominal spread is 117.2 basis points.
  3. The Z-spread instead discounts each of the fourteen cash flows at its own interpolated curve point plus a constant spread.
  4. Solving for that constant gives 121.3 basis points.
  5. The 4.1 basis point difference is curve shape: the early cash flows are discounted at rates below the seven-year point, so a slightly larger spread is needed to reach the same price.
Result: A Z-spread of 121.3 basis points against a nominal spread of 117.2, the 4.1 point gap being entirely the slope of the curve rather than anything about the credit.

Frequently Asked Questions

When does the Z-spread differ most from the nominal spread?

When the curve is steep and the bond has a long maturity with large early cash flows. On a flat curve the two measures are identical, because discounting every flow at the same rate is what the nominal spread already assumes. At the defaults a moderately sloped curve produces only a 4.1 basis point gap, but on a steeply sloped or inverted curve the difference can run to tens of basis points, which matters when spreads themselves are only a hundred wide.

What is the difference between Z-spread and option-adjusted spread?

Z-spread assumes the cash flows are certain. Option-adjusted spread runs the bond through an interest rate model with many simulated paths, lets the embedded option be exercised on each, and solves for the spread that reprices the average. For a callable bond the OAS is below the Z-spread, and the difference is the value of the option the holder has given away. For a plain bond with no optionality they are the same thing.

Why use a swap curve rather than a government curve?

Because for most credit instruments the swap or overnight index swap curve is the better proxy for the funding cost of the institutions actually holding the bond, and it is also what derivatives hedge against. Government curves can be distorted by their own supply and demand, including central bank purchases and collateral scarcity, which shows up as a spread that has nothing to do with the issuer. Whichever is used must be stated, because the numbers are not interchangeable.

Can a Z-spread be negative?

Yes, and it happens more often than you would expect. A bond trading rich to the benchmark curve, because of scarcity, index inclusion, regulatory treatment or collateral value, prices above what the curve implies and so requires a negative spread to reprice. Certain highly rated supranational and agency bonds, and on-the-run government bonds against a swap curve, regularly show negative spreads.

Why does the page use zero rates rather than par yields?

Because each cash flow is discounted at a single rate for its own date, which is what a zero rate represents. A par yield blends rates across many dates, so using it as a zero rate double-counts the curve's shape slightly. On the gently sloped default curve the error is small; on a steep curve it can shift the answer noticeably.

What does the all-in discount rate line show?

It is the benchmark at the maturity point plus the Z-spread: 4.950% plus 121.3 basis points gives 6.163% on the defaults. It is the rate the final cash flow, the largest one, is discounted at. Comparing it with the 6.122% yield to maturity shows the curve effect from another angle.

Why is the difference line positive on the default curve?

Because the curve slopes upward. Early coupons are discounted at short-dated benchmark rates below the seven-year point, so the spread on top must be slightly larger to reach the same price. That produces the +4.1 basis points. On an inverted curve the sign flips, and on a flat curve the line reads zero.

What happens to a bond maturing beyond ten years?

The curve is held flat at the ten-year rate past the last tenor. A 12-year bond on the default curve has its final cash flows discounted at 5.1% plus the spread, giving a Z-spread of 86.4 basis points. If the real curve keeps rising past ten years, this understates the benchmark at the long end and overstates the spread.

Can I use this for a bond between coupon dates?

Only approximately. The engine places cash flows on whole coupon periods from today and has no accrued interest, so it treats the price as a clean price on a coupon date. Fractional maturities are rounded to whole periods. For a settlement date mid-period, a full bond analytics tool will give a more accurate answer.

Why do 7.2 and 6.8 years give the same Z-spread?

Both round to fourteen semi-annual coupons, the same as the seven-year default, so the cash flows and the Z-spread of 121.3 basis points are identical. The nominal spread uses the benchmark at the unrounded maturity, so it shifts. Enter maturities as whole coupon periods to keep the two measures consistent.

How much does the coupon rate affect the curve gap?

Higher coupons put more value into early cash flows, which sit on the shorter part of the curve, so the gap tends to widen. Holding the price at 96.50, an 8% coupon shows a curve gap of +5.9 basis points and a 3% coupon shows +2.2. A zero-coupon bond has no gap at all: priced at 70, it shows 21.1 basis points on both measures.

What does it mean if the page will not return a spread?

The solver found no spread within its search bracket that reproduces your price. That usually means a typing error, such as a price typed as the dollar value of a bond with a larger face amount instead of per 100, which the page rejects with a message asking you to check the price against the coupon and the curve. Check that price is per 100 of face value and that rates are entered as percentages, not decimals.

Is a wider Z-spread always a better buy?

No. A wider spread pays more for bearing risk, but it may simply reflect more default risk, lower recovery, poor liquidity or an embedded option. The page measures the spread under fixed conventions. It does not judge value, and it is not financial advice. Compare bonds with similar risk against the same curve.

Does changing coupon frequency change the answer much?

Slightly. Moving the default bond from two coupons a year to one shifts the Z-spread by about 0.7 basis points, because both the timing of the cash flows and the compounding basis change. The bigger point is comparability: express spreads for bonds you compare on the same frequency basis.

Should I compare Z-spread or nominal spread when screening bonds?

For bonds with similar coupons and maturities on a fairly flat curve, the two give almost the same ranking. When coupons or maturities differ, or the curve is steep, the Z-spread is the fairer measure because it prices every cash flow off its own curve point. Report which one you used, since a 4.1 basis point gap on the default is enough to reorder close names.

A 5.5% seven-year bond priced at 96.50

The default bond pays a 5.5% coupon twice a year and has seven years left to run. It trades at 96.50 per 100 of face value. The benchmark curve is entered at six tenors: 4.2% at one year, 4.45% at two, 4.6% at three, 4.8% at five, 4.95% at seven and 5.1% at ten. That is a gently upward-sloping curve, about 90 basis points from the short end to the long end.

The calculator returns a Z-spread of 121.3 basis points. Added to every point on that curve, it discounts the fourteen remaining cash flows back to exactly 96.50. Alongside it the page shows the simpler measure: a yield to maturity of 6.122% against an interpolated seven-year benchmark of 4.950%, a nominal spread of 117.2 basis points.

The two measures differ by 4.1 basis points. That gap is not credit risk, liquidity or anything about the issuer. It is purely the shape of the curve, and the rest of this guide explains why it appears and when it gets bigger.

The discounting convention the engine uses

Each cash flow is discounted at its own rate. For a payment due at time t in years, the engine looks up the benchmark s(t) on the curve, adds the spread z, and discounts by (1 + (s(t) + z) / f) raised to the power f x t, where f is the number of coupons per year. The price is the sum of those present values, and z is the number that makes that sum equal the price you entered.

Three conventions sit inside that sentence. First, the benchmark rates are treated as zero-coupon rates compounded at the bond's coupon frequency. If you type par yields instead, the answer is an approximation, and the page's assumptions note that the error grows with the slope of the curve. Second, the curve is interpolated in a straight line between the tenors you enter and held flat beyond either end. Third, cash flows fall on exact coupon dates with no accrued interest, so the price you enter should be a clean price on a coupon date.

The solver is a bisection search. It starts from a wide bracket of spreads, halves it repeatedly, and stops when the repriced bond matches your price to many decimal places. If no spread inside its bracket can reach the price, the page says so instead of returning a number.

Why 121.3 bp sits above the 117.2 bp nominal spread

The nominal spread compares the bond's single yield with a single benchmark rate at maturity. In effect it assumes every cash flow should be discounted at the seven-year point. The Z-spread does not. It discounts the first coupon, six months out, at the curve's short end, which in the default is 4.2%, well below the 4.950% seven-year rate.

Because the early coupons are discounted at lower benchmark rates, they are worth slightly more on this curve than the single-yield calculation implies. To pull the total back down to 96.50, the spread on top has to be a little larger. That is the 4.1 basis points. Look at the last supporting line too: at the maturity point, benchmark plus Z-spread gives an all-in rate of 6.163%, a touch above the 6.122% yield to maturity.

On an inverted curve the effect reverses. With the curve entered as 5.5%, 5.2%, 5.0%, 4.8%, 4.6% and 4.5% from one year to ten, the same bond shows a Z-spread about 4.9 basis points below its nominal spread, because the early coupons are now discounted at higher rates than the maturity point.

A flat curve and a zero-coupon bond

Two checks show that the engine behaves as theory says. Set all six benchmark rates to 5% and the curve shape term disappears: the Z-spread and the nominal spread come out identical and the difference line reads +0.0 bp. On a flat curve every cash flow is discounted at the same benchmark, which is exactly what the nominal spread assumes.

The second check is a zero-coupon bond. Set the coupon to 0 and the price to 70. There is now only one cash flow, at maturity, so there is only one curve point that matters. The page returns 21.1 basis points for both measures and a zero difference. Whenever you see a large gap between the two spreads, it comes from coupons spread along a sloped curve; take either of those away and the gap goes.

A third case confirms the solver. Make the curve flat at 5.5% and price the 5.5% bond at 100. The bond yields exactly the benchmark, and the page shows a Z-spread of zero.

How price, coupon frequency and maturity move the answer

Price has by far the largest effect. The page's presets show it: at 92 the Z-spread is 205.5 basis points against a nominal 201.3, at the default 96.50 it is 121.3, and at 101 it narrows to 41.7 against 37.7. Repricing at par, 100, gives 59.0 against 55.0. The curve shape difference barely moves across all four, staying between +4.0 and +4.2, because it depends on the curve and the timing of cash flows, not on the price.

Maturity matters through the flat extrapolation. At 12 years, past the last tenor entered, the late cash flows are all discounted at the 5.1% ten-year rate. The page shows a Z-spread of 86.4 against a nominal 81.1, a gap of +5.3. A shorter three-year bond on the same curve shows a smaller gap of +1.4, since fewer coupons sit on the sloped part of the curve.

Switching from two coupons a year to one moves the Z-spread by about 0.7 basis points on the defaults. The compounding convention changes with it, so a spread from an annual-pay bond is not directly comparable with one from a semi-annual bond unless both use the same basis.

Coupon rate changes the gap more than price does. Holding the price at 96.50 and the default curve, an 8% coupon produces a curve shape difference of +5.9 basis points and a 3% coupon only +2.2. Higher coupons shift more of the bond's value into the early payments, and those are the ones discounted on the low, short end of an upward-sloping curve.

Entering maturity as whole coupon periods

The engine rounds the number of remaining coupons to a whole number. A bond entered at 7.2 years and one entered at 6.8 years both get fourteen semi-annual payments, the same cash flows as the seven-year default, so all three return the same 121.3 basis points of Z-spread. The benchmark used for the nominal spread, however, is read at the unrounded maturity.

That mismatch makes the nominal spread and the curve shape line move even though the bond's cash flows have not changed: at 7.2 years the nominal spread falls by a full basis point from the default and the curve shape line reads +5.1, while at 6.8 years the nominal spread rises by 1.5 basis points and the line reads +2.6. For a clean comparison, enter maturity as a multiple of the coupon period, such as 6.5 or 7, and treat the page as a coupon-date valuation. A bond between coupon dates needs accrued interest and a stub period, which this calculator does not model.

Choosing a benchmark curve to enter

The six benchmark fields accept any curve, and the answer is only meaningful relative to the one you chose. A government curve, a swap curve and an overnight index swap curve can give quite different spreads for the same bond, and the page's limitations note that a quoted Z-spread is comparable only against a spread built the same way.

Wherever the curve comes from, enter zero rates if you have them rather than par yields, and use the compounding basis that matches the coupon frequency. If you only have par yields, the result is still a reasonable guide on a gently sloped curve like the default, but the approximation worsens on a steep or humped one.

Check the units before you trust the result. Every benchmark field expects a percentage, so 4.2 means 4.2%, not 0.042. Typing decimals would make the curve nearly zero, and the solver would then produce a Z-spread that is really the whole yield rather than a spread over anything.

Using Z-spread in a relative value check

A common use is comparing two bonds from the same issuer, or similar issuers, against one curve. Run each through the page with the same six benchmark rates. Because the Z-spread accounts for where each bond's cash flows fall on the curve, it is a fairer comparison than nominal spread when the bonds have different coupons or maturities.

Keep the limits in view. A Z-spread assumes the cash flows are certain, so it overstates the compensation on a callable bond, where the option-adjusted spread is the better measure. It says nothing about default probability or recovery on its own. Two bonds with the same Z-spread can be very different risks.

This page is not financial advice and does not tell you whether a bond is cheap. It converts a price and a curve into a spread under stated conventions, which is the first step of an analysis, not the conclusion.