VaR tells you where the tail starts, expected shortfall tells you how deep it goes
“Our 99% one-day VaR is $10 million” means that on 99 days out of 100 you shouldn’t lose more than $10 million. It says nothing about the hundredth day. Expected shortfall answers that: given that you’re in the worst 1%, how much do you lose on average? When returns have fat tails, the two numbers tell very different stories.
A quantile and a tail average
VaR at 99% is the 1st percentile of the P&L distribution, sign flipped. With normal daily returns of standard deviation σ, it’s . Historical VaR just sorts the last N days of P&L and picks the 1% worst; parametric VaR plugs σ (from GARCH, EWMA or a factor model) into a distribution.
Expected shortfall (also called CVaR) averages over the tail beyond VaR. For the normal it has a closed form: the tail mean of a standard normal beyond z is . Historical ES averages the worst 1% of days.
ES has two advantages, and they’re why regulators moved to it:
- It sees the depth of the tail. Two portfolios can share a VaR while one has losses beyond it that are twice as large. ES tells them apart.
- It’s subadditive. ES of a combined portfolio is never more than the sum of the parts, so diversification never looks harmful. VaR can break this: two bonds each with a 0.9% chance of default have zero 99% VaR on their own, but holding both gives about a 1.8% chance of at least one default, and a positive VaR.
The trade-off is that ES is harder to estimate and to backtest, since it depends on the few observations deepest in the tail.
VaR barely moves; ES does
Daily returns have fatter tails than a normal. A common model is a Student t with a few degrees of freedom, scaled to the same standard deviation. Here’s what that does to the risk numbers, all in units of the daily σ:
| Distribution | 99% VaR | 99% ES | 97.5% ES |
|---|---|---|---|
| Normal | 2.33 | 2.67 | 2.34 |
| Student t, ν = 5 | 2.61 (+12%) | 3.45 (+29%) | 2.73 (+17%) |
| Student t, ν = 3 | 2.62 (+13%) | 4.04 (+52%) | 2.91 (+24%) |
With the same volatility, the t distribution has less mass in the middle and more in the extremes. The 99% quantile only moves out a little, but the average beyond it moves a lot. A risk manager watching only VaR would see a 13% change and miss the 52% change in what a bad day actually costs.
The loss tail, with 99% VaR and ES
Exceptions per year against a normal 99% VaR
| 99% VaR | 99% ES | 97.5% ES |
|---|
The right panel runs the test a risk manager would face. The model assumes normal returns and reports a 99% VaR of 2.33σ. Each simulated year has 250 days drawn from the true distribution, and we count the days that break VaR (exceptions). A correct model gives 2.5 a year on average, and lands in Basel’s yellow zone (5 or more) only about 11% of the time by bad luck. Under t₅ returns, about 1.5% of days break the normal VaR, and roughly a third of years land in the yellow zone.
Counting exceptions: the Kupiec test
If the 99% VaR model is right, each day independently breaks it with probability 1%, so the number of exceptions in n days is Binomial(n, 0.01). Kupiec’s proportion-of-failures test compares the likelihood under p = 1% with the likelihood under the observed rate (step 4). Under the null, LR is approximately with one degree of freedom, so values above 3.84 reject at 5%.
Example. 8 exceptions in 250 days. Then and
with p-value 0.005. The model is rejected. Under Basel’s traffic light, 8 exceptions is in the yellow zone (5–9) and raises the capital multiplier; 10 or more is red.
Two weaknesses to know:
- Low power. With 250 days and p = 1%, you only expect 2.5 exceptions. A model whose true exception rate is 1.5% gets flagged only about a third of the time.
- Clustering. The count ignores when exceptions happen. Five exceptions in one week is much worse than five spread over a year. Christoffersen’s test adds a check for independence.
import numpy as np
from scipy import stats
def var_es(returns, alpha=0.99):
"""Historical VaR and ES (as positive losses) from a series of returns."""
losses = -np.asarray(returns)
var = np.quantile(losses, alpha)
es = losses[losses >= var].mean()
return var, es
def kupiec(exceptions, n, p=0.01):
"""Proportion-of-failures likelihood ratio test. Returns LR and p-value."""
x, ph = exceptions, exceptions / n
ll0 = (n - x) * np.log(1 - p) + x * np.log(p)
ll1 = (n - x) * np.log(1 - ph) + (x * np.log(ph) if x else 0)
lr = -2 * (ll0 - ll1)
return lr, stats.chi2.sf(lr, 1)
print(kupiec(8, 250)) # (7.73, 0.0054)Adjusting a normal VaR for skew and kurtosis
The Cornish–Fisher expansion corrects the normal quantile using the sample skewness S and excess kurtosis K:
with z = −2.326 for the 1% left tail. With S = −1 and K = 3, , so the 99% VaR is 3.39σ instead of 2.33σ. It’s quick, but it can behave badly for very large skew or kurtosis.
Where people slip in interviews
- “VaR is the worst-case loss.” It’s the best of the worst 1% of days. Losses beyond it can be any size.
- Scaling VaR by √10 for 10 days without thinking. That assumes independent, identically distributed daily returns. With volatility clustering or autocorrelation, it’s wrong.
- Assuming VaR is subadditive. It isn’t in general; ES is.
- Judging a VaR model on one year. Exception counts are noisy: a correct model hits 5+ exceptions in about 11% of years.
- Confusing the sign convention. VaR and ES are usually quoted as positive losses.
Try these before you open the answer
Warm-upA portfolio has daily vol of $2m and normal returns. What are its 99% VaR and 99% ES?Show answer
VaR = 2.326 × 2 ≈ $4.65m. ES = 2.665 × 2 ≈ $5.33m.
ES formulaDerive ES for a standard normal at level α.Show answer
since . At 99%: .
SubadditivityTwo independent bonds each lose 100 with probability 0.9% and nothing otherwise. What is each one's 99% VaR, and the 99% VaR of holding both?Show answer
Each alone: the chance of a loss is 0.9% < 1%, so the 99% VaR is 0. Together: P(at least one default) = 1 − 0.991² ≈ 1.79% > 1%, so the 99% VaR is 100. Diversifying increased VaR, which breaks subadditivity.
BacktestA 99% VaR model has 4 exceptions in 250 days. Is it rejected by the Kupiec test at 5%?Show answer
. , below 3.84. Not rejected, and it’s in Basel’s green zone (0–4).
CountIf the model is right, what's the chance of 0 exceptions in a year (250 days at 1%)?Show answer
StretchWhy does a fat-tailed distribution with the same variance as a normal have a 99% VaR only slightly larger, but a much larger 99% ES?Show answer
To keep the same variance while putting more mass far out, the distribution must also put more mass near the centre and less in the shoulders (around 1–2σ). The 99% quantile sits near the shoulder, where those effects partly cancel. ES averages over the far tail, where the extra mass is concentrated, so it grows a lot more.
The VaR and ES values come from scipy’s exact distributions; the zone probabilities from the binomial distribution. The figure simulates 1,000 years of daily returns in your browser.
Related: Delta–gamma risk and nonlinear P&L.