Skip to content

Home / Glossary / Expected Shortfall (CVaR)

Finance

Expected Shortfall (CVaR)

Average loss in the worst tail beyond VaR.

Conditional VaR answers 'if we breach VaR, how bad is it on average?' — capturing tail severity that VaR ignores. It is a coherent risk measure (sub-additive) and is now the Basel-mandated metric for market risk.

Formula / theory

ES_α = −E[ r | r ≤ −VaR_α ]

In Python

import numpy as np
cutoff = np.percentile(returns, 5)
cvar = -returns[returns <= cutoff].mean()

Practise Expected Shortfall (CVaR) hands-on — free, in your browser

Related terms