Bond yield comparison

Credit Spread Calculator

Measure the yield difference between a corporate bond and a government benchmark in percentage points and basis points.

Yield inputs

Enter both bond yields

Credit spread
%
%
Yield summary

Credit spread result

Your credit spread will appear here

Enter comparable annual yields for the corporate bond and its government benchmark.

What Is a Credit Spread?

A credit spread is the difference between a bond’s yield and a chosen comparable benchmark yield. This calculator subtracts a government bond yield from a corporate bond yield and reports the difference in percentage points and basis points.

It also shows both supplied yields, a comparison chart and a yield-relationship reading. It does not retrieve live prices, derive yield from bond cash flows, match a benchmark or calculate an option-adjusted spread.

How to Compare Corporate and Government Bond Yields

  1. Choose a corporate bond and an appropriate government benchmark on a consistent currency, maturity and yield-measurement basis.
  2. Enter Corporate bond yield as a percentage. Type 6.85 for 6.85%, not 0.0685.
  3. Enter Government bond yield in the same percentage convention and for a comparable observation date.
  4. Select Calculate credit spread. Read percentage points and basis points, then check the original yields and relationship message.

Both yield inputs accept signed values from −1000% through 1000%. Negative values are supported as arithmetic inputs, but the software limits are not a statement that every entered yield is an observed market quote.

The endpoint rounds the yield difference to two decimal places in percentage points before converting that rounded value to basis points. It therefore does not preserve fractional basis-point differences from very precise yields. Original yield references also use limited display precision; the calculator does not validate data sources or benchmark suitability.

Credit Spread and Basis Point Formulas

Raw spread S = corporate yield Yc−government yield Yg, in percentage points

Displayed spread = S rounded to two decimal places

Basis-point result = displayed spread × 100

One percentage point = 100 basis points; one basis point = 0.01 percentage point

Subtract percentage numbers directly: 6.85−4.20 = 2.65 percentage points, or 265 basis points. Do not divide the two yields or add another factor of 100 to get percentage points.

The basis-point card follows the rounded spread, not the original unrounded difference. A small nonzero gap can display zero in both cards. In that case the relationship message explains the rounding rather than claiming that unequal entered yields are identical.

For supporting background, see PIMCO: credit spreads and bond risk. The formulas above describe this calculator’s stated model and display conventions.

Bond Yields, Spread and Display Precision

Corporate bond yield Yc
Signed percentage for the selected corporate bond under a declared yield convention.
Government bond yield Yg
Signed percentage for a suitable government benchmark on a comparable basis.
Credit spread
Featured two-decimal percentage-point difference.
Spread in basis points
One hundred times the already rounded percentage-point spread.
Yield relationship
Above/below for a visible signed spread, equal for equal entered yields, or a rounded-zero explanation.
Yield chart and reference cards
The entered yields; no duration, price, default probability or benchmark selection is calculated.

Credit Spread Worked Example

Illustrative example. Assume comparable hypothetical corporate and government yields of 6.85% and 4.20%.

Subtract the government yield: 6.85−4.20 = 2.65 percentage points. Convert that displayed difference to basis points: 2.65 × 100 = 265 bps. The corporate yield is above the benchmark.

If the corporate yield were 3.80% with the same 4.20% benchmark, the result would be −0.40 percentage points or −40 bps. For a much smaller 4.201% versus 4.200% gap, this endpoint rounds the spread to zero before the basis-point conversion; it does not retain the raw 0.1-bp difference.

Calculation check. These illustrative values were checked independently against the formula and calculator response. Retain unrounded intermediate values when checking approximations.

Credit Spread Worked Example
ScenarioSpread, percentage pointsBasis points
6.85% versus 4.20%2.65265
3.80% versus 4.20%−0.40−40
4.201% versus 4.200%0.00 displayed0.00 displayed

Yield Differences, Basis Points and Benchmark Choice

Keep the spread unit separate from the benchmark-selection question. A precise subtraction cannot make an unsuitable comparison economically equivalent.

Yield Differences, Basis Points and Benchmark Choice
ConceptMeaningLimit here
Percentage-point spreadCorporate yield minus government yieldRounded to two decimals first
Basis points100 per percentage pointConverted from rounded spread
Comparable benchmarkConsistent currency, maturity and yield basisChosen by the user
Option-adjusted spreadA model addressing embedded option effectsNot calculated

How to Interpret Positive and Negative Yield Spreads

A positive spread means the corporate yield is above the government benchmark under the comparison used. A negative spread means it is below. The sign alone cannot establish a data error, an arbitrage opportunity or the suitability of a bond.

Spread movements can reflect credit concerns alongside liquidity, embedded options, tax treatment and market conditions. This simple yield subtraction does not isolate each contribution. Comparing bonds with different maturities, currencies or yield conventions can answer a different question from the one intended.

A spread of 265 basis points is extra yield relative to the chosen benchmark, not a 265% default probability or a guaranteed extra realized return. Prices can change and payment outcomes can differ from a quoted yield. Use appropriate bond records and a consistent observation basis when checking the inputs.

Common Credit Spread Mistakes

  • Entering decimal fractions into percentage fields.
  • Confusing a percentage-point difference with a relative percentage increase.
  • Converting percentage points to basis points by dividing rather than multiplying by 100.
  • Mixing yields from different dates, currencies, maturities or measurement conventions.
  • Treating a rounded zero as proof that precise yields are equal.
  • Calling a simple yield spread an option-adjusted spread, default probability or investment recommendation.

Frequently Asked Questions

How do I calculate a credit spread?

Subtract the government benchmark yield from the corporate yield using percentage numbers on a comparable basis. The result is a percentage-point difference.

How do I convert the spread to basis points?

Multiply percentage points by 100. A spread of 2.65 percentage points is 265 basis points; one basis point is 0.01 percentage point.

Why does this calculator lose a fractional basis-point difference?

It rounds the percentage-point spread to two decimals before converting that rounded value to basis points. A raw 0.001-point gap therefore displays zero rather than 0.1 bp.

Can a credit spread be negative?

The form supports negative yield differences. A negative result means the entered corporate yield is below the benchmark, but comparability and data definitions still need review.

Does a zero spread prove the yields are equal?

Only when the entered yields are equal. A small nonzero difference can round to zero, and the relationship message identifies that display-precision case.

Which government bond should I use?

Choose an appropriate comparable benchmark with consistent currency, maturity, date and yield convention. The calculator cannot select or verify it for you.

Is this an option-adjusted spread or default probability?

No. It is simple yield subtraction. It does not model embedded options, estimate default risk or isolate every source of the yield difference.

Are the yield figures live market data?

No. You supply both yields. The example is hypothetical, and the form has no price feed, issuer lookup or bond cash-flow yield engine.

Sources and References

  • PIMCO: credit spreads and bond risk. Explains comparable benchmark spreads and influences beyond a simple yield subtraction. This calculator’s rounding is an implementation choice.