How a CDS swaps premiums for protection
The question
What premium would balance both sides of a credit default swap?
- 1 SeeQuote a premium for two contracts.
- 2 TryPredict what makes the dollar values move.
- 3 ProveBuild the par-spread argument.
- 4 ApplyPrice contracts and infer a hazard.
Before you start · 3 quick checks on discounting, basis points, and survival
Two ideas before you start
2 ideasOne contract, two payment directions
A timeline shows when the premium stream ends and whether a protection payment occurs.
The protection buyer pays the premium stream. The seller pays once if the borrower defaults during the contract.
Exact definition
In this single-name credit default swap (CDS), the reference entity is one borrower. The contract scales its payments by a fixed notional \(N\), measured in dollars. Write \(T\) for maturity in years and \(\tau\) for the first default time. The annual spread \(s\) is a decimal rate per year. The buyer pays at the constant dollar rate \(Ns\) until the earlier of default or maturity. The model treats default as the sole credit event.
If \(\tau\le T\), the seller pays \(N(1-R)\) immediately, with fixed recovery fraction \(R\). The example timeline fixes only the outcome and the timing. The thickness of its marks carries no dollar meaning.
Put a payment in today’s dollars
A discount curve shows the present value of a certain future dollar at two possible dates.
At a fixed positive rate, a certain dollar paid later has a smaller present value.
Exact definition
With a constant, deterministic, continuously compounded risk-free rate \(r\), a certain dollar at year \(t\) has present value \(D(t)=e^{-rt}\) dollars. Use \(D(t)\) on a payment at its own date. A contingent payment also needs a probability weight. The time value of money lesson develops the discounting step for certain payments.
Fine print: pricing probabilities and contract scope
All prices here use a frictionless, arbitrage-free model. Both parties honor the contract. There are no fees, taxes, or collateral effects. The reference borrower starts without a default. The model uses a fixed recovery fraction of notional, deterministic constant continuous discounting, and a constant risk-neutral hazard \(\lambda\). The risk-neutral measure \(Q\) gives the probability weights for discounted cash-flow pricing. A statistical default forecast can use different weights.
With this hazard, survival to year \(t\) has probability \(S(t)=e^{-\lambda t}\) under \(Q\). For positive hazard, the default time has density \(f(t)=\lambda S(t)\). This density weights an interval of possible payment dates. At zero hazard there is no default. The hazard rates lesson derives the exponential survival curve.
To price a continuous cash flow, think of a short interval of time. A payment rate in dollars per year times the interval length gives dollars. Discount the payment and weight it by its chance of occurring. Integration adds these contributions across the term as the intervals shrink.
Discounting convention: every cash flow, premium or protection, is discounted from its own payment date with \(D(t)=e^{-rt}\). The rate \(r\) is continuously compounded, constant and deterministic, so it does not depend on the default time. Time is measured in years, and the spread is a rate per year on notional.
Premium convention: the premium flows continuously and stops at the default time, so at default the buyer has already paid exactly the premium earned up to that moment. No separate accrued premium is owed. Market contracts instead pay premiums on scheduled dates, usually quarterly, with an actual/360 day count. On default the buyer then owes the premium accrued since the last payment date. The continuous stream is the limit of that schedule as the payment dates get closer together. Market contracts also settle the loss a few days after default, and a fixed contractual coupon can be paired with an upfront payment. Those terms require their own payment dates and cash flows.
Find a premium that balances the contract
- Set the annual premium quote in basis points (bp).
- Compare both present values and move the quote to close the buyer’s gap.
- Advance to price a contract with different inputs.
Each round assumes an arbitrage-free, frictionless market with full performance by both parties and no upfront payment. Premiums are continuous to default or maturity. Protection pays at the first default if it occurs by maturity. Hazard under the pricing measure \(Q\), recovery and the continuously compounded risk-free rate are constant in each round.
What the gap measures
A leg is one side of the contract’s payments. Both bars show present values as nonnegative magnitudes. The buyer’s net value subtracts the premium leg from the protection leg. The seller has the opposite net value under the same full-performance assumption.
The quote control values hypothetical cash flows. An off-par setting shows the buyer’s net value before any upfront payment. The balance is for discounted expected cash flows under \(Q\). On a path with no default, the buyer pays premiums to maturity and receives no protection payment. On a path with an early default, the buyer stops paying early and receives the loss payment. Those paths can have different net cash flows even at a fair quote.
Change the discount rate or the term
Answer the prediction to open the dollar comparison and goals.
Move one input at a time
- Change the rate or maturity. The name, recovery, notional and spread are fixed.
- Reach each target, then advance. The next goal restores the original inputs.
Build the par-spread formula
Assume a frictionless, arbitrage-free market and full performance by both counterparties. There is no upfront payment. Let \(N\gt0\) and \(T\gt0\). Under \(Q\), assume the borrower starts alive and its first default has constant hazard \(\lambda\gt0\). Take a fixed recovery \(0\lt R\lt1\) and a deterministic constant continuously compounded rate \(r\ge0\). The trial spread \(s\gt0\) is paid continuously on \(N\) until default or maturity. The loss \(N(1-R)\) is paid immediately at default if it occurs by \(T\).
Then there is exactly one positive spread \(s_*\) that makes the inception value zero. It is \(s_*=\lambda(1-R)\).
In this idealized model the equality is exact. For market contracts the same relation, often called the credit triangle, is only an approximation, \(s_*\approx\lambda(1-R)\). It stays close when the hazard is nearly flat over the term, premiums are paid often with accrued premium on default, the loss is settled soon after default, and recovery is a fixed fraction of notional. A hazard that changes with time, settlement delays, or premium schedules without accrual move the par spread away from that value.
Choose the true statement on each line. Let \(S(t)\) be survival past year \(t\) under \(Q\), and let \(f(t)\) be the first-default density. The discount factor is \(D(t)=e^{-rt}\). Write \(P\) and \(L\) for the present values of premiums and protection, as positive cash-flow magnitudes.
Its units are years. Multiplying it by notional times a decimal spread per year gives dollars. If \(r=\lambda=0\), direct integration gives \(A=T\).
When the cancellation changes
If the hazard is a deterministic function \(h(t)\) and recovery stays fixed, the protection integrand has \(h(t)\) inside it. With the same continuous payments and deterministic discounting, the par spread is then a weighted average of \(h(t)(1-R)\), with positive weights proportional to \(D(t)S(t)\) over the term. Extending maturity can change the average. The result above uses flat hazard to take \(h(t)=\lambda\) outside the integral.
In the flat model, allowing zero hazard or full recovery makes protection worth zero. The par spread is then zero as long as \(T\gt0\), \(N\gt0\), and the premium factor stays positive. At \(T=0\) the continuous legs both vanish, so the zero-value condition gives no unique quote.
Value the payment, the quote, and the contract
Each case is hypothetical. For present values, use an arbitrage-free, frictionless market with full counterparty performance, constant risk-neutral hazard, fixed recovery, and deterministic constant continuously compounded discounting. Premium runs continuously to the earlier of maturity and default. The seller settles the loss immediately if default occurs by maturity.
Enter numbers in the units beside each box. A negative dollar answer means a net cost to the party named in the question. The grader compares your input with the unrounded result.
Why a bond yield is a different input
The bond price and yield lesson fits one discount rate to a list of promised payments in a no-default bond model. Here \(r\) discounts dated cash flows, while the separate risk-neutral hazard controls when the borrower defaults. A cash bond’s yield or its difference from a benchmark yield is a different quote. To compare a bond with a CDS, specify the cash bond’s coupon, default losses, timing and discount curve.
Further reading
- D. Duffie, Credit Swap Valuation, Financial Analysts Journal 55(1), on default-contingent valuation.
- J. Hull and A. White, Valuing Credit Default Swaps I: No Counterparty Default Risk, Journal of Derivatives 8(1), on cash-flow conventions and the two legs.