Counterparty Risk and CVA › The CVA Formula
Quantitative FinanceAll chapters 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 , and the derivative has positive value 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:
where:
- : Loss Given Default, the fraction of exposure lost if default occurs
- : Expected Exposure at time
- : probability of default occurring in the infinitesimal interval around time
- : maturity of the contract
The formula calculates the total expected loss by integrating over the life of the contract. At any moment , the expected loss conditional on default is . We weight this by the probability that default happens exactly at that moment, and sum these potential losses across all times from 0 to .
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:
where:
- : marginal probability of default between times and
- : expected exposure at time
- : Loss Given Default
- : discrete time points where exposure is calculated
- : 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 , 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 and recovery rate , 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 is:
where:
- : probability that the counterparty survives (does not default) until time
- : 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 is , then the probability of surviving to time is the product of surviving all the small intervals from 0 to . Taking the continuous limit of this product yields the exponential survival function.
The hazard rate relates to the CDS spread approximately as:
where:
- : hazard rate (default intensity)
- : CDS spread (premium paid for protection)
- : 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 :
- Premium Leg: The protection buyer pays spread on the notional amount (set to 1). If survival probability is high (), the payment is approximately .
- Protection Leg: The protection seller pays the loss given default if a default occurs. The probability of default is approximately , so the expected payment is .
Equating the two legs to find the fair spread:
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 and is:
where:
- : probability of default occurring specifically in the interval
- : cumulative survival probability to time
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.


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:
where:
- : risk-free discount factor from time to
- : expected exposure at time
- : marginal default probability for the interval
- : 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 , 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:
- is the expected loss amount if default occurs at
- is the probability of default happening in this specific interval
- 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.