Bonds
How To Calculate The Credit Spread
A credit spread tells you how much extra yield an investor demands for holding a risky bond instead of a benchmark. This page subtracts a benchmark yield from a corporate yield and shows the answer as a decimal, in percentage points and in basis points. It also shows how the spread changes when one of the two yields moves.
Last updated
Quick Answer
Spread = corporate yield − benchmark yield
- S
- Credit spread, the difference between the two yields
- y_c
- Yield on the corporate bond, as a decimal
- y_b
- Yield on the benchmark, as a decimal
- bp
- Basis points, where one basis point is 0.0001
Subtract the benchmark yield from the corporate yield. At 5.75 per cent versus 3.25 per cent the spread is 0.025, or 2.50 percentage points, which is 250 basis points. Doubling the corporate yield to 11.5 per cent gives a spread of 8.25 percentage points, because the benchmark is unchanged.
What Is The Credit Spread?
A credit spread is the additional yield an investor demands to hold a risky bond instead of a benchmark instrument of comparable maturity. It is quoted as the difference between the corporate yield and the benchmark yield, and it compensates the holder for taking on credit risk. In the example used throughout this page, a corporate bond yielding 5.75 per cent is compared with a benchmark yielding 3.25 per cent. The gap is 2.50 percentage points, more commonly stated as 250 basis points. A spread is a difference between two rates, not a rate in its own right, so it can be negative if the risky bond yields less than the benchmark. That situation is unusual but possible when the benchmark itself carries particular distortions.
The choice of benchmark matters as much as the arithmetic. Government debt of a similar maturity is the conventional reference, because it is treated as close to default-free in the domestic currency. Some analysts prefer a swap rate of matching tenor, particularly for comparing issues across different currencies. Comparing a five-year corporate bond with a ten-year government bond mixes the credit compensation with a term-premium difference, which defeats the purpose. Match the maturity, the currency and the coupon convention before subtracting one yield from the other. Only then does the residual number genuinely represent compensation for credit risk.
Spreads are usually expressed in basis points rather than percentages. One basis point is one hundredth of a percentage point, so 2.50 percentage points is 250 basis points. The convention exists because changes in yield are often smaller than a whole point and decimal percentages become clumsy to quote. A move from 250 to 275 basis points is instantly understood as a widening of 25 basis points. In decimal form, one basis point equals 0.0001, which is why multiplying a decimal spread by 10,000 converts it into basis points. Writing the unit explicitly avoids the most common misunderstanding in bond market commentary.
The arithmetic is deliberately simple. Subtract the benchmark yield from the corporate yield and the remainder is the spread. With the default inputs the calculation is 0.0575 minus 0.0325, giving 0.025, or 2.50 percentage points. Doubling the corporate yield to 11.5 per cent while leaving the benchmark unchanged produces a spread of 8.25 percentage points, because 0.115 minus 0.0325 is 0.0825. Notice that doubling the yield does not double the spread: the benchmark stays fixed, so the increment is the original corporate yield all over again. This asymmetry is worth remembering when reasoning about how a spread responds to a change in one leg.
A second way of presenting the same information is the relative spread, which divides the absolute spread by the benchmark yield. For the default inputs that is 0.025 divided by 0.0325, giving about 0.769, or roughly 76.9 per cent. This figure says the extra yield is more than three quarters of the risk-free yield itself, which conveys a different impression from the absolute 250 basis points. Relative spreads are useful when benchmark levels differ sharply between periods, but they can also exaggerate the picture when the benchmark is very small. Present both measures together when the comparison spans different interest-rate regimes.
Several factors widen or narrow a spread in practice. The most important is the market's estimate of default probability and the recovery rate expected if default occurs. Seniority matters, because senior secured debt offers better recovery prospects than subordinated obligations of the same issuer. Liquidity also plays a part: a bond that trades rarely must offer more yield to attract buyers. Maturity, coupon structure and embedded options further complicate the comparison. These are the reasons a single number cannot fully describe the credit quality of an issuer.
The direction of the spread carries a clear message. A wider spread signals that investors perceive greater default risk and require more compensation to hold the debt. A narrowing spread suggests improving confidence, better economic conditions or a technical change in supply and demand. In distress, spreads can balloon to many hundreds of basis points within days, while highly rated borrowers trade only a few dozen basis points above the benchmark. Watching the change over time is often more informative than the level alone. A spread that is stable at a high level and one that is widening rapidly imply quite different situations.
Related measures extend the basic idea for more sophisticated analysis. A yield spread compares any two yields and need not involve a risky bond at all. An option-adjusted spread removes the value of embedded call or put options so that the remaining compensation is attributable to credit. A z-spread is the constant offset added to every point of a benchmark spot curve to reproduce a bond's price. Each refinement answers a slightly different question, but all of them start from the same subtraction this page performs. Understanding the plain spread first makes the specialised versions much easier to interpret.
This calculator is a teaching calculation, not investment advice. It holds maturity, liquidity and seniority constant by construction, because only two yield inputs are modelled. Real-world spread analysis also has to contend with bid-ask spreads, settlement conventions and the tax treatment of different bond issues. The outputs are meant to build intuition about how the subtraction behaves and how basis points relate to decimals. Before using a spread to make an allocation decision, compare bonds with matched terms and consult a professional where appropriate. A clean number is a starting point for enquiry, never a substitute for due diligence.
Formula
S = y_c − y_b
Formula page →Subtract the benchmark yield from the corporate yield. Both yields must be expressed as decimals and must refer to bonds of comparable maturity and currency.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| S | Credit spread as a decimal | decimal | The extra yield demanded for holding the risky bond. |
| y_c | Corporate yield | decimal | The decimal yield of the risky bond; 5.75 per cent is 0.0575. |
| y_b | Benchmark yield | decimal | The decimal yield of the reference bond; 3.25 per cent is 0.0325. |
bp = S × 10,000
Formula page →One basis point is 0.0001 in decimal form, so multiplying the decimal spread by ten thousand gives the number of basis points directly.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| bp | Spread in basis points | basis points | The market convention for quoting small changes in yield. |
| S | Credit spread as a decimal | decimal | The same spread produced by the first formula. |
s = S / y_b
Formula page →Dividing the absolute spread by the benchmark yield expresses the extra yield as a proportion of the risk-free yield.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| s | Relative spread | decimal | About 0.769 for the default inputs, which the renderer shows as roughly 76.9 per cent. |
| S | Credit spread as a decimal | decimal | The absolute difference between the two yields. |
| y_b | Benchmark yield | decimal | The denominator; care is needed when it is very small. |
How To Calculate The Credit Spread
- 1
Identify the corporate yield
Take the yield quoted for the risky bond and note the units in which it is stated. Rates are normally quoted as percentages, so a yield of 5.75 per cent becomes 0.0575 in decimal form. The calculator applies this conversion automatically because the field is marked as a percent input. Entering 5.75 again by hand would multiply the result by a hundred and render the answer meaningless.
- 2
Choose a matching benchmark yield
Select a benchmark of comparable maturity and currency, typically a government bond or a swap of the same tenor. Convert it to a decimal in the same way: 3.25 per cent becomes 0.0325. Using a benchmark with a different maturity mixes term premium into the answer. Both yields must be quoted on the same convention, such as yield to maturity, before they are compared.
- 3
Subtract to find the spread
Take the benchmark yield away from the corporate yield: 0.0575 minus 0.0325 gives 0.025. This decimal is the credit spread expressed as a proportion. Keep the sign, because a negative result means the corporate bond yields less than the benchmark. The subtraction is performed by the spreadRaw helper inside the calculator.
- 4
Convert to percentage points and basis points
State the same decimal as 2.50 percentage points, or multiply it by ten thousand to obtain 250 basis points. Both describe the identical gap, just on different scales. The calculator reports basis points directly, so there is no need to do this conversion by hand. Never insert a multiplication by 100 into an output expression, because the rendering layer handles percentage display.
- 5
Check the alternative views
Work out the relative spread by dividing the spread by the benchmark: 0.025 divided by 0.0325 is about 0.769. For a doubled corporate yield, compute 0.115 minus 0.0325 to get 0.0825, or 8.25 percentage points. Compare these with the primary result to confirm that the direction of change makes sense. If the numbers disagree with your expectations, recheck the units before trusting the output.
Examples
Example 1: Default case — 5.75 per cent versus 3.25 per cent
- corporateYield
- 5.75%
- benchmarkYield
- 3.25%
| Step | Calculation | Result |
|---|---|---|
| Convert the yields to decimals | — | 0.0575 and 0.0325 |
| Subtract the benchmark | — | 0.0575 − 0.0325 = 0.025 |
| Express in percentage points | — | 2.50 percentage points |
| Convert to basis points | — | 250 basis points |
| Credit spread as a decimal | — | 0.025 |
Result: With a corporate yield of 5.75% and a benchmark of 3.25%, the credit spread is 0.025, or 2.50 percentage points, which equals 250 basis points.
Example 2: A higher corporate yield — 7.25 per cent versus 3.25 per cent
- corporateYield
- 7.25%
- benchmarkYield
- 3.25%
| Step | Calculation | Result |
|---|---|---|
| Convert the yields to decimals | — | 0.0725 and 0.0325 |
| Subtract the benchmark | — | 0.0725 − 0.0325 = 0.04 |
| Express in percentage points | — | 4.00 percentage points |
| Convert to basis points | — | 400 basis points |
| Credit spread as a decimal | — | 0.04 |
Result: With a corporate yield of 7.25% and a benchmark of 3.25%, the credit spread is 0.04, or 4.00 percentage points, which equals 400 basis points.
Example 3: A higher benchmark — 5.75 per cent versus 4 per cent
- corporateYield
- 5.75%
- benchmarkYield
- 4%
| Step | Calculation | Result |
|---|---|---|
| Convert the yields to decimals | — | 0.0575 and 0.04 |
| Subtract the benchmark | — | 0.0575 − 0.04 = 0.0175 |
| Express in percentage points | — | 1.75 percentage points |
| Convert to basis points | — | 175 basis points |
| Credit spread as a decimal | — | 0.0175 |
Result: With a corporate yield of 5.75% and a benchmark of 4%, the credit spread is 0.0175, or 1.75 percentage points, which equals 175 basis points.
Calculator
Credit spread
2.50%
- Spread in basis points
- 250
- Spread if corporate yield doubles
- 8.25%
- Relative spread over benchmark
- 76.92%
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
Prefer a full-width tool? Open the The Credit Spread calculator page.
Common Mistakes
Subtracting in the wrong order
Always subtract the benchmark from the corporate yield, not the other way round. Reversing them gives minus 2.50 percentage points for the default inputs, which would wrongly imply the risky bond yields less. A negative spread can be genuine, but it must not be created by a slip in the order of subtraction.
Treating percentages as decimals
Typing 5.75 and 3.25 into a formula that expects decimals changes the answer by a factor of a hundred. The calculator fields are marked as percent inputs and divide by 100 at runtime. Do not divide again, and do not add a multiplication by 100 to the output expression.
Confusing basis points with percentage points
One percentage point equals 100 basis points, not one. A spread of 2.50 percentage points is 250 basis points, and confusing the two produces an error of two orders of magnitude. State the unit every time a spread is quoted.
Using a benchmark of the wrong maturity
Subtracting a ten-year government yield from a two-year corporate yield mixes credit risk with the term premium. The residual is no longer a measure of default compensation. Match tenor, currency and yield convention before performing the subtraction.
Assuming the spread doubles when the yield doubles
Doubling the corporate yield from 5.75 to 11.5 per cent raises the spread from 2.50 to 8.25 percentage points, not to 5.00. The benchmark is unchanged, so the whole increase in the corporate yield passes through to the spread. Check the arithmetic rather than extrapolating the relationship by intuition.
Reading the spread as investment advice
A wider spread indicates greater perceived risk, but it does not by itself say whether a bond is cheap or expensive. That judgement requires a view on default probability, recovery and the issuer's prospects. Treat the output as a description of market pricing, not a recommendation.
FAQ
What exactly is a credit spread?
It is the difference between the yield on a risky bond and the yield on a benchmark of comparable maturity. The benchmark is usually government debt or a swap rate. The gap represents the extra compensation investors require for bearing credit risk. It is a difference between yields, so it is expressed in percentage points or basis points rather than as an absolute yield.
How many basis points are in a percentage point?
There are 100 basis points in one percentage point. One basis point is therefore 0.01 of a percentage point, or 0.0001 in decimal form. A spread of 2.50 percentage points equals 250 basis points. Multiplying a decimal spread by 10,000 converts it directly into basis points.
Why does a wider spread mean more risk?
Investors demand more compensation when they believe default is more likely or recovery would be lower. That extra compensation appears as a higher yield relative to the benchmark. A widening spread therefore reflects a deterioration in perceived credit quality. It can also reflect liquidity stress, which is why context matters when interpreting the move.
What does the relative spread tell me?
The relative spread divides the absolute gap by the benchmark yield. In the default case it is about 0.769, meaning the extra yield is roughly three quarters of the benchmark itself. It is useful for comparing periods when benchmark levels differ substantially. Use it alongside the absolute spread, since a tiny benchmark can make the ratio look dramatic.
Does this calculator give investment advice?
No. It performs a subtraction and presents the result in several units. It holds maturity, seniority, liquidity and taxes constant by design. Real bond analysis must consider all of those factors and more. The page is educational and should not be read as a recommendation to buy or sell any security.
What if the corporate yield is below the benchmark?
The spread is then negative, and the calculator reports a negative number. This can happen if the benchmark is a less liquid index or if quotes are taken at different times. Check that both yields use the same convention and maturity before concluding that the market is pricing negative credit risk.
References
- [1], Credit spread — https://en.wikipedia.org/wiki/Credit_spread
- [2], Yield spread — https://en.wikipedia.org/wiki/Yield_spread
- [3], Basis point — https://en.wikipedia.org/wiki/Basis_point
