Skip to main content
aifinhub
Risk & Portfolio Construction Formula

CVaR / Expected Shortfall Formula

Conditional Value-at-Risk, also called Expected Shortfall, is the average loss in the worst tail beyond the VaR threshold. Where VaR asks how bad a loss could be at a confidence level, CVaR asks how bad it is on average when that level is breached. CVaR is a coherent risk measure (it is subadditive), unlike VaR, and Basel rules have moved capital requirements onto it.

By AI Fin Hub Research · AI Fin Hub Team
Best Next MovePlaygrounds

VaR Backtest — Kupiec & Christoffersen

Paste P&L + VaR series and run Kupiec POF, Christoffersen independence, and joint conditional-coverage tests. Likelihood-ratio χ² p-values.

CalculatorOpen ->

On This Page

Formula

Copy the exact expression or work through it step by step below.

CVaR_alpha = E[ -R | R <= -VaR_alpha ] Empirical: CVaR_alpha = average of the worst (1 - alpha) fraction of losses

Variables

alpha

Confidence level

The same confidence level used for VaR, typically 0.95 or 0.975. CVaR averages over the worst (1 - alpha) fraction of outcomes, so a 95% CVaR averages the worst 5% of losses.

VaR_alpha

Value-at-Risk threshold

The quantile loss at the confidence level. CVaR is the expected loss conditional on the loss equaling or exceeding this threshold, so CVaR is always at least as large as VaR.

R

Portfolio return

The random periodic return. Only its realizations in the loss tail (R at or below minus VaR) enter the CVaR average.

E[ . | . ]

Conditional expectation

The mean taken over only the tail scenarios beyond VaR. Empirically it is the simple average of the worst (1 - alpha) fraction of the sorted losses.

Step By Step

  1. 1

    Sort the historical returns from worst to best and identify the (1 - alpha) tail.

    At 95% over 100 observations, the tail is the worst 5 returns.

  2. 2

    Read the VaR as the boundary of that tail.

    The 5th-worst return is -2.6%, so VaR is 2.6%.

  3. 3

    Average all losses in the tail, including the ones deeper than VaR.

    The worst 5 returns are -5.0%, -4.2%, -3.5%, -3.0%, -2.6%.

  4. 4

    Report the absolute value of that tail average as CVaR, scaling by portfolio value if needed.

    Mean of the worst 5 is -3.66%, so CVaR is 3.66%.

Worked Example

One-day 95% CVaR on a 1,000,000 book, worst 5 of 100 daily returns

Worst five daily returns

-5.0%, -4.2%, -3.5%, -3.0%, -2.6%

Confidence level

95%

Portfolio value

1,000,000

The 95% tail over 100 observations is the worst 5 returns. VaR = 2.6% (the 5th-worst, the tail boundary). CVaR = average of the worst 5 = (5.0 + 4.2 + 3.5 + 3.0 + 2.6)/5 = 18.3/5 = 3.66%. CVaR currency = 0.0366 x 1,000,000 = 36,600.

One-day 95% CVaR of 36,600 versus a VaR of 26,000. CVaR is 41% larger because it accounts for how deep the tail actually runs, not just where it begins. This is why risk committees and Basel III favor expected shortfall: two books with the same VaR can have very different CVaR if one has a longer left tail.

Common Variations

Parametric expected shortfall: for a normal distribution, CVaR equals sigma x phi(z_alpha) / (1 - alpha), where phi is the normal density.
Spectral risk measures: generalize CVaR by applying an investor-specific weighting across the loss tail rather than equal weights.
Conditional drawdown at risk (CDaR): the same tail-averaging idea applied to drawdowns instead of returns.

Try These Tools

Run the numbers next

Sources & References

Related Content

Keep the topic connected

Planning estimates only — not financial, tax, or investment advice.