Credit default swap — concept
About this app
Credit insurance as two cash-flow streams: the buyer pays the spread (premium leg, shrinking with survival probability), receives (1−R)·N on default (protection leg). “Set to fair” balances the present values. Debunks “the spread is the default probability” — credit triangle: ≈ λ·(1−R).
How a CDS works
A credit default swap is insurance against a borrower’s default. The buyer pays the spread on the notional at regular intervals, quarterly here (premium leg). If the borrower defaults, the seller pays (1 − R) · notional, where R is the recovery rate (protection leg). Premiums stop at default, so their expected value falls with the survival probability Q(t). At the fair spread both legs have equal present value. Approximately, the credit triangle holds: fair spread ≈ λ · (1 − R), with hazard rate λ.
What you see
In the “Expected cash flows” view, upward bars show the expected premiums spread·τ·N·Q(t), shrinking with the survival curve, and downward bars the expected protection payments (1 − R)·N·ΔQ. The “Legs” view summarises both sides. The panel lists the par spread, spread, buyer NPV, both legs’ present values, the default probability up to T, the risky annuity and λ·(1 − R).
Things to try
Press “Set to fair”: the spread jumps to the par spread and the NPV becomes zero. Move the recovery R up and compare the par spread with λ·(1 − R); at R = 40% the spread is about 60% of λ. Raise the hazard rate λ and watch the premium bars shrink faster while the protection leg grows. Extend the maturity T.
Frequently asked questions
- How does a credit default swap work?
- The protection buyer pays the seller a regular premium, the CDS spread, on a notional. If a credit event hits the reference entity, the buyer is compensated for the loss, the notional minus recovery. Premium payments then stop.
- What is the credit triangle?
- The credit triangle is the rule of thumb spread ≈ λ · (1 − R): the fair CDS spread is roughly the default intensity times the loss rate. With λ = 3% and R = 40% the spread is about 1.8%. It holds exactly only for a constant hazard rate and continuously paid premiums.
- Is the CDS spread the probability of default?
- No. The spread reflects both default intensity and loss given default, since only (1 − R) of the notional is lost. Market spreads also contain risk premia. To back out a default probability from a spread, you need to assume a recovery rate.
- What can I adjust in the CDS app?
- You set the spread, hazard rate λ, recovery R and maturity T, and switch between expected cash flows and legs. “Set to fair” moves the spread to the par spread.
Subject: Financial derivatives
More from Financial derivatives
- Asian option — details
- Asian option — concept
- Exercise styles — details
- Exercise styles — concept
- Binomial tree — details
- Binomial tree — concept
- Cap / floor / collar — concept
- Credit default swap — details
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps