Enter Values
CDS Pricing Formulas
CDS Pricing Results
Present Value of CDS Legs
Payment Schedule Breakdown
| Period | ti (yrs) | Δt | Q(ti) | DF(ti) | PV Prem ($) | PV Prot ($) |
|---|
Formula Breakdown
Model Assumptions
- Constant hazard rate (time-homogeneous default intensity)
- Recovery rate is fixed and known at contract inception
- Risk-free rate is constant across all maturities (flat term structure)
- Defaults occur uniformly within each period (midpoint approximation)
- No counterparty risk (protection seller always pays)
- Continuous discounting: DF(t) = e−rt
- No accrued premium payment at default
For educational purposes. Not financial advice. Market conventions simplified.
Understanding Credit Default Swaps
What Is a Credit Default Swap?
A credit default swap (CDS) is a derivative contract that transfers credit risk from one party to another. The protection buyer makes periodic premium payments (the CDS spread) to the protection seller. In return, if the reference entity defaults, the seller compensates the buyer for the loss.
CDS contracts function like insurance against default. They are the most widely traded credit derivatives and play a central role in credit markets for hedging, speculation, and price discovery.
Where s = CDS spread (decimal), R = recovery rate, λ = constant hazard rate
How CDS Pricing Works
CDS pricing equates the present value of two legs:
- Premium Leg: The PV of periodic spread payments, weighted by survival probability
- Protection Leg: The PV of the expected default payment, (1 − R) × Notional
At the fair spread, PV(Premium Leg) = PV(Protection Leg). The implied hazard rate λ = s/(1−R) makes this equality hold in continuous time.
PVprotection = (1−R) × N × Σ [(Q(ti−1) − Q(ti)) × DF(tmid)]
Where Q(t) = e−λt is survival probability, DF(t) = e−rt is discount factor
Practical Applications
- Hedging: Bond holders buy CDS protection to hedge credit exposure without selling the bond
- Speculation: Traders buy protection on entities they believe will deteriorate (naked CDS)
- Relative Value: Exploit mispricings between CDS spreads and bond credit spreads (basis trades)
- Credit Indices: CDX and iTraxx indices provide diversified credit exposure via standardized CDS baskets
Credit Default Swaps Explained
Frequently Asked Questions
Disclaimer
This calculator is for educational purposes only. It uses a constant hazard rate model with simplifying assumptions including flat term structure, fixed recovery rate, and no counterparty risk. Real-world CDS pricing uses term structures of hazard rates, market-implied recovery rates, and accounts for accrued premiums. This tool should not be used for trading decisions.
Related Calculators
Course by Ryan O'Connell, CFA, FRM
Options Mastery: From Theory to Practice
Master options trading from theory to practice. Covers fundamentals, Black-Scholes pricing, Greeks, and basic to advanced strategies with hands-on paper trading in Interactive Brokers.
- 100 lessons with 7 hours of video
- Black-Scholes, Binomial & Greeks deep dives
- Basic to advanced strategies (spreads, straddles, condors)
- Hands-on paper trading with Interactive Brokers