Counterparty Risk and CVA › The CVA Formula

Michael BrenndoerferDecember 23, 20258 min read
Quantitative FinanceAll chapters
Part 10 of 15Risk Management and Financial Risk Controls
Chapter 56Counterparty Risk and CVA › The CVA Formula
Reading section 4 of 16 · The CVA Formula · 8 minSection 4 of 16 · 8 min

Book contents

Section 4 of 16 · 8 min read

Counterparty Risk and CVA › The CVA FormulaOne section · Sections in this chapter4 / 16 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Credit Valuation Adjustment represents the expected loss due to counterparty default, incorporated as an adjustment to the derivative's risk-free value. The intuition behind CVA is straightforward: if there is some probability that your counterparty will default and fail to make payments owed to you, then the derivative is worth less than its risk-free value. CVA quantifies exactly how much less the derivative is worth, and gives a fair price for counterparty credit risk.

To develop the CVA formula, we need to think about what happens at each possible default time. If the counterparty defaults at time tt, and the derivative has positive value V(t)V(t) at that moment, you will lose a fraction of that value determined by the Loss Given Default. We must consider all possible default times, weight each by its probability, and sum to find the total expected loss.

The fundamental CVA formula is:

CVA=LGD⋅∫0TEE(t) dPD(t)\text{CVA} = \text{LGD} \cdot \int_0^T \text{EE}(t) \, d\text{PD}(t)

where:

  • LGD\text{LGD}: Loss Given Default, the fraction of exposure lost if default occurs
  • EE(t)\text{EE}(t): Expected Exposure at time tt
  • dPD(t)d\text{PD}(t): probability of default occurring in the infinitesimal interval around time tt
  • TT: maturity of the contract

The formula calculates the total expected loss by integrating over the life of the contract. At any moment tt, the expected loss conditional on default is LGD⋅EE(t)\text{LGD} \cdot \text{EE}(t). We weight this by the probability dPD(t)d\text{PD}(t) that default happens exactly at that moment, and sum these potential losses across all times from 0 to TT.

This continuous formula captures the essence of CVA, but continuous integration is not practical for implementation. In the real world, we observe exposure at discrete time points and must work with discrete default probabilities. The continuous formula is therefore typically discretized for practical computation:

CVA=LGD⋅∑i=1nEE(ti)⋅q(ti−1,ti)\text{CVA} = \text{LGD} \cdot \sum_{i=1}^{n} \text{EE}(t_i) \cdot q(t_{i-1}, t_i)

where:

  • q(ti−1,ti)q(t_{i-1}, t_i): marginal probability of default between times ti−1t_{i-1} and tit_i
  • EE(ti)\text{EE}(t_i): expected exposure at time tit_i
  • LGD\text{LGD}: Loss Given Default
  • tit_i: discrete time points where exposure is calculated
  • nn: number of time steps in the simulation

The discrete formula partitions the contract life into intervals and computes the contribution to CVA from each interval. For interval ii, the contribution equals the expected loss if default occurs in that interval, multiplied by the probability of default in that interval. Summing across all intervals gives the total CVA.

Connecting to CDS Spreads

As we discussed in Part II, Chapter 13, CDS spreads provide market-implied default probabilities. This connection allows us to use observable market prices to inform our CVA calculations, rather than relying solely on historical default rates or credit rating agency estimates. For a counterparty with CDS spread ss and recovery rate RR, we can extract hazard rates and default probabilities that are consistent with market prices.

The hazard rate (also called the default intensity) represents the instantaneous probability of default conditional on survival to that point. Under a constant hazard rate assumption, the survival probability to time tt is:

S(t)=e−λtS(t) = e^{-\lambda t}

where:

  • S(t)S(t): probability that the counterparty survives (does not default) until time tt
  • λ\lambda: constant hazard rate (default intensity)

This exponential form arises naturally from the definition of the hazard rate. If the probability of surviving an infinitesimal interval dtdt is 1−λ dt1 - \lambda \, dt, then the probability of surviving to time tt is the product of surviving all the small intervals from 0 to tt. Taking the continuous limit of this product yields the exponential survival function.

The hazard rate λ\lambda relates to the CDS spread approximately as:

λ≈s1−R\lambda \approx \frac{s}{1 - R}

where:

  • λ\lambda: hazard rate (default intensity)
  • ss: CDS spread (premium paid for protection)
  • RR: recovery rate (fraction of face value recovered upon default)

This relationship emerges from the economics of a CDS contract, where the premium payments must compensate the protection seller for expected losses. We can derive this approximation by equating the expected cash flows of the two legs of a CDS contract over a short interval Δt\Delta t:

  1. Premium Leg: The protection buyer pays spread ss on the notional amount (set to 1). If survival probability is high (e−λΔt≈1e^{-\lambda \Delta t} \approx 1), the payment is approximately sΔts \Delta t.
  2. Protection Leg: The protection seller pays the loss given default (1−R)(1-R) if a default occurs. The probability of default is approximately λΔt\lambda \Delta t, so the expected payment is (1−R)λΔt(1-R)\lambda \Delta t.

Equating the two legs to find the fair spread:

Premium Leg≈Protection Leg(equate expected values)sΔt≈(1−R)λΔt(substitute approximations)s≈λ(1−R)(divide by Δt)λ≈s1−R(solve for λ)\begin{aligned} \text{Premium Leg} &\approx \text{Protection Leg} && \text{(equate expected values)} \\ s \Delta t &\approx (1-R) \lambda \Delta t && \text{(substitute approximations)} \\ s &\approx \lambda(1 - R) && \text{(divide by } \Delta t \text{)} \\ \lambda &\approx \frac{s}{1 - R} && \text{(solve for } \lambda \text{)} \end{aligned}

This derivation shows that the CDS spread is approximately equal to the hazard rate multiplied by the loss given default. Intuitively, the protection buyer pays for the expected loss rate, which is the product of how often defaults occur (the hazard rate) and how much is lost when they do (the LGD).

The marginal default probability between ti−1t_{i-1} and tit_i is:

q(ti−1,ti)=S(ti−1)−S(ti)q(t_{i-1}, t_i) = S(t_{i-1}) - S(t_i)

where:

  • q(ti−1,ti)q(t_{i-1}, t_i): probability of default occurring specifically in the interval (ti−1,ti](t_{i-1}, t_i]
  • S(t)S(t): cumulative survival probability to time tt

This formula follows directly from the definition of survival probability. The probability of defaulting in a specific interval equals the probability of surviving to the start of the interval minus the probability of surviving to the end. This gives us the probability mass for default in that interval, which is exactly what we need for the discrete CVA formula.

Out[4]:
Visualization
Line chart showing survival probability declining exponentially for three CDS spread levels over a ten-year horizon.
Survival probability derived from CDS spreads. The probability declines exponentially over time as the hazard rate accumulates.
Line chart showing cumulative default probability rising toward saturation over ten years, with steeper curves for wider CDS spreads.
Cumulative default probability derived from CDS spreads. The probability approaches 100% over long horizons, with higher spreads leading to faster accumulation.

Discounted Expected Exposure

A more precise formulation incorporates discounting, as the loss occurs at the time of default and must be expressed in present value terms:

CVA=LGD⋅∑i=1nD(ti)⋅EE(ti)⋅q(ti−1,ti)\text{CVA} = \text{LGD} \cdot \sum_{i=1}^{n} D(t_i) \cdot \text{EE}(t_i) \cdot q(t_{i-1}, t_i)

where:

  • D(ti)D(t_i): risk-free discount factor from time 00 to tit_i
  • EE(ti)\text{EE}(t_i): expected exposure at time tit_i
  • q(ti−1,ti)q(t_{i-1}, t_i): marginal default probability for the interval
  • LGD\text{LGD}: Loss Given Default

This formulation aggregates the present value of expected losses across all time steps. The logic proceeds as follows: for each time period ii, we compute the expected loss that would occur if default happens at that time, then discount that loss back to today and weight by the probability of default in that period. Specifically:

  • LGD⋅EE(ti)\text{LGD} \cdot \text{EE}(t_i) is the expected loss amount if default occurs at tit_i
  • q(ti−1,ti)q(t_{i-1}, t_i) is the probability of default happening in this specific interval
  • D(ti)D(t_i) discounts that future loss back to today's dollars

Summing these discounted components gives the total upfront price of counterparty risk. This is the amount that should be charged at trade inception to compensate for expected counterparty losses over the life of the contract.