CDS premium and protection legs
What a CDS is
Section titled “What a CDS is”A credit default swap (CDS) is a bilateral derivative on a named reference entity. The protection buyer pays a running premium to the protection seller. If a covered credit event occurs before maturity, the seller makes a loss-related protection payment. Unlike buying the entity’s bond, entering a CDS does not itself lend principal to the reference entity. Tuckman and Serrat describe the fee leg and the contingent leg (in this course, the premium leg and the protection leg) in Chapter 14[1]; Hull describes the same cash-flow directions for buyer and seller, and the quarterly premium convention[2].
This lesson reports both leg present values as positive magnitudes. From the protection buyer’s perspective, the net present value is the protection-leg present value minus the premium-leg present value:
The seller has the opposite signed value in this two-party model.
Start from disjoint events
Section titled “Start from disjoint events”Let the random default-time be . Use the local cds-period-index across the number-of-cds-periods . The schedule has dates . Define the disjoint interval events
and add for survival through maturity. These events are disjoint and exhaustive under the one-default assumption.
For a local cds-event-payoff that is constant at on each event, the risk-neutral expectation is:
This is the expectation from disjoint events of the probability lesson, with risk-neutral pricing weights. If is not constant within an interval, the expectation uses the conditional means:
For this reason, one payment at the end of the period is not an exact treatment of a default in the middle of the period. If every interval is divided into smaller default-time intervals, the limit of the sum is an integral. Shreve gives the finite disjoint-event expectation rule used here[3]. Tuckman and Serrat’s CDS table also weights cash flows by survival and default events[4].
The hazard rate gives the probabilities in the formulas
Section titled “The hazard rate gives the probabilities in the formulas”Let be the risk-neutral default intensity at time , given survival to . It is a deterministic function of time, measured per model-year under the risk-neutral-probability-measure . It generalizes the constant Constant hazard rate of this lesson. Its meaning is the conditional intensity of the credit lesson, but it need not be constant: is the proportional rate at which the survival probability decreases at , given survival to . As a differential equation, this meaning is:
Dividing by the (positive) survival probability turns the left side into a derivative of its logarithm, . Integrating from to and using gives the survival probability:
Integrating the same differential equation over one period, not from , gives the interval default probability for a general hazard rate:
The constant Constant hazard rate of this lesson is the special case . Then , and the two results above become:
The next two sections, on the premium leg and on the protection leg, use the general . The section on closed forms after them uses the constant .
These probabilities are pricing probabilities, not forecasts, for a constant and for a general hazard rate. A hazard rate implied from CDS prices can be a risk-neutral quantity rather than a prediction of realized defaults[5]. The constant-hazard survival relation is given in §14.6 and Appendix A14.1[6].
Default in the middle of a period
Section titled “Default in the middle of a period”Suppose default occurs at in . The input recovery-rate is .
- The scheduled premium at is not paid, because the reference entity did not survive to that date.
- The buyer pays premium accrued from to . In this model its year fraction is .
- The seller pays protection of .
- Both amounts triggered by default are discounted from the modeled default time , not from .
Hull notes that a final accrued premium is paid when default occurs between scheduled dates[2]. The half-period and midpoint calculations in Hull and in Tuckman and Serrat are discrete approximations[7][8]. This lesson integrates over the modeled default time exactly, for a general hazard rate and a general discount curve. The closed forms later in the lesson use a constant hazard rate and a constant interest rate.
Exact premium-leg expectation in this model
Section titled “Exact premium-leg expectation in this model”Let be the general dated discount curve of the rates lesson; this section does not assume a flat rate. The cds-scheduled-premium-annuity is:
The exact cds-accrued-premium-annuity is:
The cds-premium-annuity is the sum of the two annuities. The premium-leg present value is the annual spread, as a decimal, multiplied by the notional and by the premium annuity:
A spread quoted in basis-point per year is divided by 10,000 before it is used in (7.1.11).
Exact protection-leg expectation in this model
Section titled “Exact protection-leg expectation in this model”The protection-leg present value, as a positive magnitude, is:
Equation (7.1.12) is an expectation. Each possible payoff at a default time is discounted and multiplied by the risk-neutral probability density of that default time. The integral then adds over all default times.
Closed forms and the zero-upfront par spread
Section titled “Closed forms and the zero-upfront par spread”This section uses a constant Constant hazard rate, , which is a special case of the cds-general-hazard-rate. It also uses a constant continuously-compounded-risk-free-rate . So the general discount curve of the last two sections is .
For the regular model-year schedule, and the maturity-time is . Define the abbreviation . Then the scheduled-premium annuity and the accrued-premium annuity are:
The cds-protection-factor, per unit of notional, is:
At , the continuous limits replace the two fractions by and , respectively. The implementation uses numerically stable forms of those limits.
The cds-par-spread is the running spread that makes the legs equal with no upfront amount:
Tuckman and Serrat state the condition that the fair spread makes the two legs equal, and the relationship between spread and upfront[9]. The next lesson distinguishes this model par spread from a standard running coupon and a signed upfront amount.
A finite event partition
Suppose a two-period protection payoff, simplified to one value per event, is USD 6,000 on , USD 5,800 on , and zero on the survival event . The risk-neutral probabilities of , , and are 0.02, 0.03, and 0.95. The expected payoff before discounting is:
This finite sum is exact only because the payoff is constant on each event. In an exact CDS valuation, the discounted payoff varies with the default time inside an event. So the exact valuation uses an integral over all default times.
One-year exact legs
Take notional , running spread per year (), recovery , constant risk-neutral hazard per model-year, continuously compounded risk-free rate per model-year, two equal periods, and maturity model-year.
The tested domain code gives:
| Factor | Value |
|---|---|
| Scheduled premium annuity | 0.956105034 model-years |
| Accrued-premium annuity | 0.004828691 model-years |
| Premium annuity | 0.960933725 model-years |
| Protection factor | 0.011647093 per unit notional |
The premium-leg present value is:
The protection-leg present value is:
The present value of the accrued premium is USD 48.29. It is small in this example. The model calculates it at every possible default time; it does not approximate it by one half of a period.
Solve the exact par spread
With the same inputs, the par spread is:
At the unrounded par spread, the present value of each leg is approximately USD 11,647.09. The notional cancels in the par spread, because both legs are proportional to the same notional.
Generalizing the premium leg: an extinguishing swap
Section titled “Generalizing the premium leg: an extinguishing swap”This lesson uses the name extinguishing swap for the construction below. The name belongs to this course; it is not a standard market term or textbook term. An extinguishing swap is any schedule of cash flows that stops permanently at the default of the reference entity. The premium leg above has this property.
Consider the same dates and the same reference entity. Replace the scheduled premium at each date with an arbitrary deterministic, signed net cash flow for one named perspective. Under the signed cash-flow convention of this course, a positive is received and a negative is paid. As with the premium leg, a scheduled amount is paid only on survival to its date. Every later scheduled amount is extinguished at the default time. In this lesson, is an input and deterministic; it does not depend on a floating rate. If a cash flow accrues continuously between dates, an accrued-at-default term can be added with the same construction as the cds-accrued-premium-annuity. This lesson does not repeat that term.
The expectation from disjoint events, used for both CDS legs above, gives the cds-extinguishing-swap-present-value of the scheduled cash flows. It is the same survival-weighted discounting that gave :
With for every , the present value is , the scheduled-payment term of the premium leg. So the premium leg is the special case of an extinguishing swap whose cash flows are one running spread paid on a fixed notional.
A two-date extinguishing swap
Use the model of the “One-year exact legs” example: per model-year, with semiannual dates and . The discounted-survival factors are:
Suppose this extinguishing swap’s schedule is a USD 30,000 receipt at and a USD 12,000 payment at , so and . The present value of the extinguishing swap is:
Both terms use the same factors as the premium leg. Only the signed cash flows are different from the premium leg’s .
Why there is no volatility input here
Section titled “Why there is no volatility input here”Risk-neutral valuation does not remove volatility. A change from the real-world measure to changes the pricing probabilities, and in common diffusion models it changes the drift. It does not change the size of the random fluctuations. Shreve shows that the Brownian volatility term remains after the risk-neutral change of measure[10].
This CDS model needs no separate volatility parameter for two reasons. First, its risk-free rate, hazard rate, and recovery rate are deterministic. Second, both legs are expectations that are linear in the cash flows. In other cases, the distributions, the dependence, and the volatility of the inputs could matter: if rates, the hazard rate, or recovery were stochastic, or if the product were a CDS option, had wrong-way risk, or had nonlinear exposure. The risk-neutral measure gives the pricing weights. The restrictive model assumptions, not the measure, remove the need for a separate volatility input.
Try it
Section titled “Try it”Change the running spread, the constant risk-neutral hazard rate, the recovery rate, the risk-free rate, and the term. The explorer integrates the accrued premium and the protection payment over the exact modeled default time. It shows the contribution of every period.
Explore the CDS premium and protection legs
The notional is fixed at $10,000,000 and the synthetic schedule has four equal model periods per year. Default-triggered cash flows are integrated at their exact modeled default times. Rates entered as percentages or basis points are converted to decimals at this UI boundary.
Interactive controls and the chart require JavaScript. The default result, assumptions, and complete period table remain available below.
- Scheduled premium PV
- $508,106
- Accrued-on-default premium PV
- $1,596
- Premium-leg magnitude
- $509,703
- Protection-leg magnitude
- $640,321
- Protection-buyer net PV before upfront
- $130,619
- Par spread
- 150.8 bp/year
At this contractual spread, protection exceeds premium, so the model value is positive to the protection buyer.
Model assumptions beside this output
- Exact equal quarterly model periods; no dates, day count, stubs, or business-day adjustments.
- Supplied constant risk-neutral hazard and a deterministic continuously compounded risk-free rate; no curve calibration.
- Protection and accrued premium are integrated over every possible default time and discounted from that modeled time.
- Accrued premium uses elapsed model time since the preceding premium date; it is not a half-period approximation.
- Deterministic recovery, one modeled default, running spread only, and no quote calibration, counterparty risk, funding, or actual settlement mechanics.
Period-by-period factor table
The annuity columns are per unit notional and per unit annual spread. The protection factor already includes loss given default. Summing each contribution column reproduces the corresponding tested domain total.
| Period | Start–end, years | Start survival | End survival | Interval default | Payment discount factor | Scheduled annuity | Accrued annuity | Protection factor |
|---|---|---|---|---|---|---|---|---|
| 1 | 0.00–0.25 | 1.000000 | 0.993769 | 0.006231 | 0.990050 | 0.245970 | 0.000773 | 0.003720 |
| 2 | 0.25–0.50 | 0.993769 | 0.987578 | 0.006192 | 0.980199 | 0.242006 | 0.000760 | 0.003660 |
| 3 | 0.50–0.75 | 0.987578 | 0.981425 | 0.006153 | 0.970446 | 0.238105 | 0.000748 | 0.003601 |
| 4 | 0.75–1.00 | 0.981425 | 0.975310 | 0.006115 | 0.960789 | 0.234267 | 0.000736 | 0.003543 |
| 5 | 1.00–1.25 | 0.975310 | 0.969233 | 0.006077 | 0.951229 | 0.230491 | 0.000724 | 0.003486 |
| 6 | 1.25–1.50 | 0.969233 | 0.963194 | 0.006039 | 0.941765 | 0.226776 | 0.000713 | 0.003429 |
| 7 | 1.50–1.75 | 0.963194 | 0.957193 | 0.006001 | 0.932394 | 0.223120 | 0.000701 | 0.003374 |
| 8 | 1.75–2.00 | 0.957193 | 0.951229 | 0.005964 | 0.923116 | 0.219524 | 0.000690 | 0.003320 |
| 9 | 2.00–2.25 | 0.951229 | 0.945303 | 0.005927 | 0.913931 | 0.215985 | 0.000679 | 0.003266 |
| 10 | 2.25–2.50 | 0.945303 | 0.939413 | 0.005890 | 0.904837 | 0.212504 | 0.000668 | 0.003214 |
| 11 | 2.50–2.75 | 0.939413 | 0.933560 | 0.005853 | 0.895834 | 0.209079 | 0.000657 | 0.003162 |
| 12 | 2.75–3.00 | 0.933560 | 0.927743 | 0.005817 | 0.886920 | 0.205709 | 0.000646 | 0.003111 |
| 13 | 3.00–3.25 | 0.927743 | 0.921963 | 0.005780 | 0.878095 | 0.202393 | 0.000636 | 0.003061 |
| 14 | 3.25–3.50 | 0.921963 | 0.916219 | 0.005744 | 0.869358 | 0.199131 | 0.000626 | 0.003011 |
| 15 | 3.50–3.75 | 0.916219 | 0.910510 | 0.005709 | 0.860708 | 0.195921 | 0.000616 | 0.002963 |
| 16 | 3.75–4.00 | 0.910510 | 0.904837 | 0.005673 | 0.852144 | 0.192763 | 0.000606 | 0.002915 |
| 17 | 4.00–4.25 | 0.904837 | 0.899200 | 0.005638 | 0.843665 | 0.189656 | 0.000596 | 0.002868 |
| 18 | 4.25–4.50 | 0.899200 | 0.893597 | 0.005602 | 0.835270 | 0.186599 | 0.000586 | 0.002822 |
| 19 | 4.50–4.75 | 0.893597 | 0.888030 | 0.005568 | 0.826959 | 0.183591 | 0.000577 | 0.002776 |
| 20 | 4.75–5.00 | 0.888030 | 0.882497 | 0.005533 | 0.818731 | 0.180632 | 0.000568 | 0.002732 |
| Totals | 4.234220 | 0.013304 | 0.064032 | |||||
Check your understanding
Section titled “Check your understanding”The assessment provides direct and transfer evidence for leg perspective, premium-leg magnitude, protection-leg magnitude, and par spread.
Knowledge check 7.1.1 CDS legs and par spread
Link to Knowledge check 7.1.1: CDS legs and par spreadUnder the lesson sign convention, both CDS legs are reported as positive present-value magnitudes. Which expression gives the protection buyer's signed net value?
Check your answer to reveal the explanation.
A CDS has a positive protection-leg present-value magnitude of USD 35 and a positive premium-leg present-value magnitude of USD 28. What is the protection buyer's signed net value in USD?
Check your answer to reveal the explanation.
In the lesson's exact default-time model, a one-year annual-pay CDS has scheduled-premium annuity 0.941764533584 model-years and exact accrued-on-default annuity 0.009608857782 model-years. Calculate the positive premium-leg present-value magnitude in USD for notional USD 1,000,000 and running spread 100 basis points (0.01 per year).
Check your answer to reveal the explanation.
A two-year quarterly CDS has notional USD 3,000,000 and running spread 125 basis points (0.0125 per year). Exact integration under the input constant-hazard model gives scheduled-premium annuity 1.829782217887 model-years and accrued-on-default annuity 0.011512762522 model-years. Calculate the positive premium-leg magnitude in USD.
Check your answer to reveal the explanation.
For a one-year CDS, exact integration over modeled default time gives a discounted risk-neutral default-density integral of 0.019411822139. Calculate the positive protection-leg magnitude in USD for notional USD 1,000,000 and recovery rate 0.40.
Check your answer to reveal the explanation.
Use the exact flat-hazard protection formula N(1-R)λ[1-exp(-(r+λ)T)]/(r+λ). Calculate the positive protection-leg magnitude in USD for N = USD 3,000,000, R = 0.35, λ = 0.05 per year, r = 0.03 per year, and T = 2 years.
Check your answer to reveal the explanation.
Calculate the zero-upfront par spread in basis points per year when the exact premium annuity is 0.951373391366 model-years and the exact protection factor is 0.011647093283 per unit notional.
Check your answer to reveal the explanation.
A different exact default-time model produces scheduled-premium annuity 1.829782217887 model-years, accrued-on-default annuity 0.011512762522 model-years, and protection factor 0.060066585732 per unit notional. Calculate its zero-upfront par spread in basis points per year.
Check your answer to reveal the explanation.
Model boundary and review note
Section titled “Model boundary and review note”The valuation is exact only inside this simplified model. The premium leg and the protection leg are derived for a general, possibly time-varying risk-neutral hazard rate and a general dated discount curve. The closed forms, the numeric examples, the explorer, and the assessment use a special case: one constant risk-neutral hazard rate, one deterministic continuously compounded risk-free rate, a deterministic recovery rate, and settlement at the default time. The extinguishing swap is a construction of this lesson that generalizes the premium leg; it is not a named market instrument. The model omits calendar schedules, day counts, business-day rules, payment delays, term-structure calibration, auctions, deliverables, credit-event legal definitions, counterparty risk, collateral, funding, restructuring, and transaction costs. All materially changed content remains `draft` pending independent human review.
References
Section titled “References”- Tuckman & Serrat, Fixed Income Securities: Tools for Today's Markets (4th ed., 2022). §14.5, printed pp. 361–362. draft ↩
- Hull, Options, Futures, and Other Derivatives (8th ed., 2012). §24.1, printed pp. 548–550. draft ↩
- Shreve, Stochastic Calculus for Finance II: Continuous-Time Models (2004). Ch. 1 §1.3, printed pp. 13–18. draft ↩
- Tuckman & Serrat, Fixed Income Securities: Tools for Today's Markets (4th ed., 2022). §14.6, printed pp. 368–370, Table 14.10 and eqs. 14.6–14.7. draft ↩
- Tuckman & Serrat, Fixed Income Securities: Tools for Today's Markets (4th ed., 2022). §14.7, printed p. 371. draft ↩
- Tuckman & Serrat, Fixed Income Securities: Tools for Today's Markets (4th ed., 2022). printed pp. 367–368 and 505, eqs. 14.4–14.5 and A14.1–A14.2. draft ↩
- Hull, Options, Futures, and Other Derivatives (8th ed., 2012). §24.2, printed pp. 551–554, Tables 24.1–24.4. draft ↩
- Tuckman & Serrat, Fixed Income Securities: Tools for Today's Markets (4th ed., 2022). §14.6, printed pp. 368–370, Table 14.10. draft ↩
- Tuckman & Serrat, Fixed Income Securities: Tools for Today's Markets (4th ed., 2022). §14.6, printed pp. 370–371, and Appendix A14.2, printed pp. 506–507. draft ↩
- Shreve, Stochastic Calculus for Finance II: Continuous-Time Models (2004). Ch. 5 §5.2.2, printed pp. 214–217. draft ↩
Credit default swap, the credit derivative the CDS lessons define and value.
The name of a family of standard credit default swap indices, each a standard portfolio of single-name contracts.
Duration times spread, a spread-risk measure for bonds.
Financial Industry Regulatory Authority.
International Money Market. In the CDS lessons, IMM dates are the standard maturity dates on the twentieth of March, June, September, and December.
International Swaps and Derivatives Association.
International Organization for Standardization.
Jump to default, the loss on an immediate default of the reference entity.
Coordinated Universal Time, the time standard the date arithmetic counts calendar days in.