Reader question: A credit default swap is often quoted as a spread or an upfront amount. How does a valuation system turn those market quotes into a probability-of-default curve that can price the contract consistently across maturities?
The core machine is a reduced-form default model. It starts with a discount curve, recovery assumption, CDS market quotes and standard contract dates. It then searches for survival probabilities—or equivalently hazard rates—such that the present value of the premium paid by the protection buyer matches the present value of expected protection payments, after incorporating standard coupon, accrued premium on default, step-in timing and cash-settlement conventions.
The output is not “the true probability that a company will default.” It is a market-implied curve conditional on the model, recovery assumption, discounting conventions, quote quality and liquidity of the CDS instruments used to calibrate it.
What this page owns — and what it does not
This page owns the public computational transformation:
CDS quotes + recovery + discount curve + standard dates → calibrated survival/hazard curve → CDS present value and sensitivities.
It does not replace rating-transition matrices, which estimate migration from historical ratings; Merton structural credit models, which infer default risk from firm asset value; or CreditRisk+, which turns obligor default assumptions into a portfolio loss distribution.
This is mathematical and computational education. It is not a credit opinion, trading recommendation or personalized financial advice.
The economic balance: premium leg versus protection leg
A CDS has two central legs.
The premium leg is the stream of contractual fixed-rate payments made by the protection buyer while the reference entity survives, together with the standard treatment of accrued premium if default occurs between scheduled coupon dates.
The protection leg is the expected payment from protection seller to protection buyer if a covered credit event occurs. In a stylised cash-settled model, the loss amount is driven by:
Loss given default = 1 − Recovery Rate.
For notional N and recovery R, a stylised default payment is:
N × (1 − R).
At a par CDS spread, the two present values balance:
PV(premium leg) = PV(protection leg).
Why modern standard CDS can have both a coupon and an upfront amount
ISDA’s post-2009 standardisation introduced standard coupons for many single-name CDS contracts. A market quote therefore does not always become a bespoke coupon rate. Instead, the contract can retain the standard coupon and exchange an upfront payment so that the trade begins at fair value.
ISDA has publicly described standard 100-basis-point and 500-basis-point coupons and the use of upfront payments to reconcile the standard coupon with the market cost of protection.
Conceptually:
Market-implied premium value − Standard-coupon premium value = Upfront adjustment.
This is why “CDS spread” and “cash paid at inception” are related but not identical objects under standard contracts.
Step 1: build the contractual schedule
Before calibrating credit risk, the algorithm must know exactly when contractual cash flows occur.
Inputs include:
- trade date;
- step-in date;
- cash settlement date;
- scheduled maturity;
- standard coupon dates;
- day-count convention;
- business-day adjustments;
- standard coupon rate;
- notional.
ISDA documentation and market conventions standardise much of this schedule. Single-name CDS on-the-run conventions have also evolved over time, so valuation software must identify the convention version applying to the trade rather than assume every historical trade rolls identically.
Step 2: define survival probability
Let:
Q(t) = probability, under the model’s pricing measure, that the reference entity survives beyond time t.
The cumulative model-implied probability of default by time t is:
1 − Q(t).
If the model uses a hazard rate λ(t), then under a continuous-time intensity framework:
Q(t) = exp(−∫0t λ(u) du).
For a piecewise-constant hazard rate λ over one interval of length Δt:
Q(t+Δt) = Q(t) × exp(−λΔt).
Hazard rate is not an ordinary unconditional default probability
A hazard rate is a conditional instantaneous default intensity given survival so far. A 3% annual hazard rate is not mathematically identical to saying “default probability is exactly 3% over one year.”
With constant hazard λ:
One-year default probability = 1 − e−λ.
At λ = 3%:
1 − e−0.03 ≈ 2.955%.
The difference is small at low rates but matters conceptually and compounds over longer horizons.
Step 3: discount survival-contingent premium payments
For scheduled premium dates ti, accrual fractions αi, discount factors D(ti) and coupon c, the scheduled premium component can be represented schematically as:
Premium PV ≈ N c Σ αi D(ti) Q(ti) + accrued-on-default component.
The survival probability appears because a regular premium payment is due only while the reference entity has not already experienced the relevant default event, subject to contract rules.
The quantity multiplying the coupon is often called a risky PV01 or risky annuity: the present value of one unit of CDS premium, conditional on survival and standard accrual treatment.
Accrued premium on default matters
If default occurs halfway through a coupon period, simply discarding all premium accrued since the last payment date understates the premium leg under standard CDS mechanics.
The standard model therefore includes an expectation for premium accrued up to default.
This makes the premium leg partly dependent on default timing, not only on survival at scheduled coupon dates.
Step 4: calculate the protection leg
In a stylised discretisation over intervals:
Protection PV ≈ N(1 − R) Σ D(τi) × [Q(ti−1) − Q(ti)],
where τi represents the assumed or integrated timing of default payment within each interval.
The term:
Q(ti−1) − Q(ti)
is the model probability mass of default occurring in that interval.
A production implementation uses the exact standard-model timing and integration conventions rather than an arbitrary midpoint rule.
Step 5: bootstrap the credit curve maturity by maturity
Suppose the market provides liquid CDS quotes at 1Y, 3Y, 5Y, 7Y and 10Y.
A common calibration structure is piecewise hazard rates:
- solve the first hazard segment so the 1Y CDS is reproduced;
- hold the solved first segment fixed and solve the next segment so the 3Y quote is reproduced;
- continue outward through the maturity grid.
At each new tenor, the unknown hazard parameter is found by root-finding:
f(λk) = ModelPVk(λk) − MarketPVk = 0.
Bracketing methods such as Brent-style solvers are attractive because they do not require a stable derivative and are less likely than unconstrained Newton iterations to leap into impossible negative-hazard regions.
A useful back-of-envelope approximation
For a short-maturity CDS with approximately flat hazard, simple discounting and modest accrual effects, practitioners often use:
CDS spread ≈ Hazard Rate × (1 − Recovery).
Therefore:
Hazard Rate ≈ CDS spread / (1 − Recovery).
If spread is 120 bps and recovery assumption 40%:
λ ≈ 1.20% / 60% = 2.00%.
This is a diagnostic approximation, not a replacement for the full standard model. It ignores curve shape, discounting, exact coupon dates and accrued-on-default mechanics.
Recovery is an assumption with large leverage
A market quote alone does not uniquely identify both default probability and recovery.
If the assumed recovery rate rises, a given default causes a smaller protection payment. To reproduce the same observed CDS premium, the calibrated model may need a higher default intensity.
This creates a structural identification problem:
CDS quote constrains expected discounted loss, not recovery and hazard separately.
Therefore a “CDS-implied probability of default” should always be accompanied by its recovery assumption.
Discounting also matters
Premium and protection payments occur at different possible times. Their present values therefore depend on the discount curve.
A CDS curve calibrated with one discounting framework is not guaranteed to reproduce the same upfront values if another curve is substituted without recalibration.
This links CDS pricing to the broader discounting and swap-valuation machinery.
Par spread, quoted spread and upfront are different outputs
A par spread is the coupon rate that would make the CDS fair with zero upfront under the model.
A standard-coupon CDS keeps a standard fixed coupon and uses an upfront amount to offset the difference between that coupon and market value.
A quoted spread can be a market quotation convention used to map into the standard model.
A robust system should label these explicitly instead of storing all three as one field called “spread.”
Clean and dirty upfront values
Depending on market and software convention, an upfront amount can be expressed with or without accrued premium between the previous standard coupon date and settlement.
This is analogous to clean and dirty price distinctions in bonds: two systems can disagree numerically while both are internally consistent if one includes accrued premium and the other reports it separately.
The diagnostic is to reconcile:
dirty upfront = clean upfront + applicable accrued premium adjustment,
under the exact contractual convention.
Inputs and outputs
A robust CDS standard-model engine can require:
- reference entity and seniority;
- trade and settlement dates;
- standard coupon and maturity dates;
- notional;
- market quote type;
- quoted spread and/or upfront amount;
- recovery assumption;
- discount curve;
- day-count and business-day rules;
- credit-curve node maturities;
- integration and numerical-solver tolerances.
Outputs can include:
- survival probabilities;
- piecewise hazard rates;
- cumulative default probabilities;
- premium-leg PV;
- protection-leg PV;
- risky PV01;
- fair spread;
- clean and dirty upfront;
- spread sensitivity/CS01;
- recovery sensitivity;
- calibration residuals.
Evidence polarity: what supports confidence?
Evidence for a calibrated curve includes near-zero repricing residuals for every calibration instrument, survival probabilities between zero and one, survival that does not increase with time, nonnegative hazard rates where the modelling policy requires them, stable results under small solver-tolerance changes and agreement with an independent implementation of the standard model.
Evidence against confidence includes a curve that cannot reprice its own input quotes, survival probabilities above one, survival increasing at later maturities, extreme hazard spikes caused by one stale quote, large disagreement between clean and dirty upfront after accrued-premium reconciliation, or material changes in value caused by harmless numerical-tolerance changes.
Counterexample: a wider CDS spread does not uniquely identify a higher historical default frequency
CDS spreads can move because of expected default loss, recovery assumptions, liquidity, technical demand for protection, funding/collateral effects and market risk premia.
Therefore a 300-bp CDS spread is not a direct empirical statement that the issuer has a 3% annual default probability.
Counterexample: multiplying one-year PD by five is not a five-year CDS curve
Default is a survival process. If annual conditional intensity is constant, cumulative five-year default probability is:
1 − e−5λ,
not simply 5 × one-year probability.
When hazard is term-structured, the distinction is larger.
Counterexample: perfect calibration can still be economically poor
A flexible piecewise curve can fit every observed quote exactly even if one quote is stale or erroneous.
Zero calibration residual is therefore necessary for an exact bootstrap, but not sufficient evidence that the curve is economically meaningful.
Market-data quality and cross-instrument plausibility tests remain necessary.
Counterexample: recovery changes can move implied hazard without any market quote changing
If a system changes recovery from 40% to 20% while holding CDS quotes fixed, the protection payment per default rises. The calibrated hazard generally falls to preserve the same expected protection value.
That movement is a model-assumption effect, not new market evidence.
Weak links in implementation
Quote-type confusion. Upfront is interpreted as spread or vice versa.
Standard-coupon mismatch. A 100-bp contract is valued using a 500-bp coupon.
Schedule drift. Roll dates, step-in dates or coupon dates are built under the wrong convention.
Accrual omission. Premium accrued on default is excluded.
Recovery mismatch. Calibration and valuation use different recovery assumptions.
Discount-curve mismatch. Calibration uses one curve and repricing uses another.
Solver leakage. Root finding accepts a non-converged node.
Stale quote contamination. A single illiquid tenor forces an implausible hazard spike.
Precision drift. Premature rounding of dates, accrual fractions or PVs creates upfront discrepancies.
Diagnostics: how to test the engine
- self-repricing test: every calibration CDS should reproduce its market quote within tolerance.
- survival monotonicity test: Q(t) should not rise with maturity under an ordinary nonnegative-intensity curve.
- probability bounds test: all survival/default probabilities remain in [0,1].
- recovery shock test: change recovery and confirm hazard recalibrates in the economically expected direction.
- spread approximation test: compare short-end hazard with spread/(1−R) as a rough reasonableness check.
- quote perturbation test: move one tenor by 1 bp and inspect local versus global curve response.
- clean/dirty reconciliation: verify accrued premium bridges the two representations.
- independent-engine test: compare PV and curve nodes against a separate standard-model implementation.
- date-boundary test: test trade dates around standard roll and coupon dates.
- distressed-name test: use large upfronts/high spreads and verify numerical stability.
What would falsify confidence?
Confidence should be withdrawn if calibration instruments do not reprice; if survival increases materially with time under a nonnegative-hazard specification; if the model requires impossible probabilities; if quote type or standard coupon cannot be reconstructed from trade data; if values disagree materially with an independent standard-model implementation; or if tiny solver-setting changes cause economically large price changes.
Alternatives
A structural model can link default to firm assets rather than calibrating directly to CDS. A rating-transition model can estimate historical migration. A bond-implied credit curve can use corporate bond prices instead of CDS quotes. A joint bond-CDS model can expose basis and liquidity differences.
Each answers a different question. The CDS standard model is designed to turn the CDS market’s own standardized quote conventions into internally consistent prices and a market-implied default curve.
How this connects to the surrounding knowledge estate
The curve’s default probabilities can be compared with rating-transition estimates and with structural equity-implied default measures. Portfolio models such as Gaussian-copula credit algorithms require marginal default inputs before dependence is added. Regulatory calculations such as Basel IRB use different PD definitions and horizons, so CDS-implied and regulatory PDs should not be substituted mechanically.
Verification and update triggers
Preserve the standard-model version, contract-definition version, quote type, standard coupon, trade dates, recovery assumption, discount curve, credit quotes, solver tolerances and calibration residuals. Revalidate after ISDA convention changes, credit-definition updates, discounting-policy changes, new quote sources, persistent repricing residuals, illiquidity at a curve node or model-validation disagreement with an independent engine.
Primary and high-quality references
- International Swaps and Derivatives Association, ISDA CDS Standard Model resources, for the standardized CDS valuation framework and implementation materials.
- ISDA, When It Comes to Sovereign CDS, Collateral is King, describing standard CDS coupons and upfront payments after market standardisation.
- ISDA, Amending When Single-Name CDS Roll to New ‘On-the-Run’ Contracts, documenting changes to standard single-name roll conventions.
- ISDA, 2014 ISDA Credit Derivatives Definitions, for contractual credit-event and settlement definitions.
- Bank for International Settlements, BIS research and derivatives-market publications, for broader CDS market, credit-risk and market-structure context.
Educational boundary: This article explains CDS valuation mathematics and calibration. It does not assess the creditworthiness of any issuer, recommend a CDS transaction or provide personalized financial advice.
