A bond’s yield above the risk-free rate is the market’s price of credit risk. The credit spread calculator takes the bond yield, the risk-free yield, the recovery rate and the years to maturity, and gives the credit spread in basis points, the implied annual default probability, the default probability until maturity, the expected annual loss and the spread as a share of the yield.
How the calculation works
- Enter the yield of the corporate bond and the yield of a risk-free bond with the same maturity, such as a Treasury bond.
- The credit spread is the difference between the two yields, usually quoted in basis points (1 bp = 0.01 %).
- Enter the recovery rate, the share of the bond’s value you expect to get back in a default. The implied annual default probability is about spread ÷ (1 − recovery).
- Enter the years to maturity to see the implied probability of default until maturity, 1 − e^(−λ × t).
Example
A 7-year corporate bond yields 5.9 % while a Treasury of the same maturity yields 4.2 %. The credit spread is 170 bps. With a 40 % recovery rate, the implied annual default probability is 1.7 % ÷ 0.6 = 2.833 %, and over 7 years the chance of default is 1 − e^(−0.0283 × 7) = 17.99 %. The expected annual loss is 1.7 %, and the spread is 28.8 % of the bond yield.
Why it matters
Bond investors and credit analysts compare spreads to judge if the extra yield pays enough for the risk. Watching the spread of a company over time also shows how the market’s view of its credit is changing.
Good to know
The implied default probability is a simple approximation with a constant hazard rate and a known recovery rate. It ignores liquidity, taxes, embedded options and risk premia, and the risk-free yield must match the bond’s maturity. It is a guide for comparison, not a rating.
Related tools
The bond calculator prices a bond from its yield, and the bond convexity calculator measures how its price reacts to yield changes.