Free Excel templates

A free CDS pricing calculator in Excel

One contract on one flat spread in one file: the CS01 and the jump-to-default, the flat hazard rate, survival to the maturity, the risky annuity, the points upfront, the upfront payment, the accrued premium, the value at a new spread and the protection payment at a final price.

A fictional contract of $10,000,000.00, fixed coupon 100.00 basis points, traded on August 12, 2026 at a spread of 250.00 basis points, maturity June 20, 2031, recovery rate 40.00 percent, flat rate 4.00 percent, bought by the protection buyer, gives the figures below. The calculator lays them out, ready for your own contract.

Get the calculator

One Excel file, no macros, nothing locked. Free: enter your email address and the download opens at once, along with the other free models.

CDS_Pricing_Calculator.xlsx (16 KB)

You join the reader list: one email when a new free model or a new book comes out, and a few notes on using the models. Leave in one click. Already on the list? Enter the same address. How your address is used: see the terms page.

The book behind this calculator

This calculator uses the same cells as Workbook 2 of The Credit Default Swap Handbook, which follows one bank's protection on one borrower: two single-name contracts priced on the case's curve and two index contracts on a flat spread, the coupons and accrued premiums, the values and the risk report, then a bankruptcy, an auction and the settlement against the loss on the loan.

Paperback edition or PDF edition, $19.99

What is in the file

Four tabs. Inputs are blue; everything else is a formula; every line of the Checks tab reads 0 when the control passes.

1. Inputs
The valuation date (the trade date for a new contract), the accrual start, the maturity, the notional, the fixed coupon, the spread, the recovery rate assumed, a flat continuously compounded rate, the side (protection buyer or seller), a new spread for the revaluation, an auction final price and the number of names sharing the notional.
2. Calc
The CS01, from the value at the spread + 1 basis point; the flat hazard rate, the risky annuity, the protection leg, the par spread of the flat curve, the points upfront, the upfront payment, the accrued premium, the value of the contract, the value at the new spread, the jump-to-default, the protection payment at the final price and the survival probability at the maturity.
3. Periods
One row per coupon period: the quarterly date, the payment date moved to the following business day, the year fraction, the survival and default probabilities, the discount factors and each period's share of both legs, at the spread, at the spread + 1 basis point and at the new spread.
4. Checks
A recovery rate outside 0 to 1; a spread or new spread at or below zero, or a negative coupon; a maturity before the valuation date or off a quarterly date; an accrual start off a quarterly date or too far from the step-in date; periods that do not reach the maturity; a notional at or below zero or a number of names below 1; a side other than 1 or -1; an auction price out of its range (0 to 100 points of par); a rate below -5.00 percent, the bound of the workbook; default probabilities of the periods that do not add up to one minus the survival at the maturity.

What the worked example returns

The example is fictional and separate from the book's case, which follows a bank, two contracts on one borrower and two index contracts. Its accrued premium counts the days from the accrual start, the last quarterly date on or before the step-in date, adjusted, to the step-in date, at actual days / 360.

How to use it on your own contract

  1. Enter the dates and the notional of the confirmation, never those of a summary.
  2. Enter the recovery rate you assume for pricing, and keep it apart from any final price and from the recovery on a loan.
  3. Enter your own spread and rate; the calculator holds no market data.
  4. Change one input at a time and read the values again; when several inputs move together, change them together.
  5. Read the Checks tab before any figure: a line above zero means a cell to fix.

Education only, not legal, tax, accounting or investment advice, and never a view on whether to buy or sell protection: your own confirmations govern, and counsel, the risk committee and the clearing member decide what applies to your contract.

Questions people ask

What does the CDS pricing calculator do?

From the notional, the fixed coupon, the spread, the recovery rate, the trade date, the maturity and a flat rate, it builds the coupon periods, one flat hazard rate, the survival and default probabilities of each period and both legs, and returns the risky annuity, the par spread of the flat curve, the points upfront, the upfront payment and the accrued premium; it also revalues the contract at a new spread, gives the CS01 and the jump-to-default, and the protection payment at a final price you enter.

Does it use market data?

No. It prints no market figure; the spread, the recovery rate, the rate and every other input are yours.

Why is the par spread not equal to the spread I enter?

The calculator turns the spread into one flat hazard rate and values both legs on the grid of the coupon periods; the par spread of that curve differs from the spread entered by the discretization of the grid, and the calculator prints both.

Can it value an index contract?

It can value one contract on one flat spread, and spread the notional over a number of names you enter, so the jump-to-default and the protection payment are those of one member; the index factor and the remaining notional after a default are in Workbook 3 of the book.

Is this calculator really free?

Yes. You enter an email address, the download opens at once, and you can leave the reader list in one click.

Go further

The three free workbooks of The Credit Default Swap Handbook go further: a contract priced on a curve of three hazard rates, an index contract valued with its CS01 and jump-to-default, and a credit event settled against the loss on a loan.

See the book and its free files →

Related reading