Tail risk estimation splits into two distinct statistical problems. Value at risk ($\mathrm{VaR}$) estimates an empirical quantile, so its error is governed by how few simulated paths fall past the threshold $N\alpha$. Expected shortfall ($\mathrm{ES}$) estimates the conditional mean beyond that quantile [1, 2]: dividing the simulated tail sum by the observed breach count keeps within-tail spread tiny, whereas dividing by the expected count $N\alpha$ leaves random $\operatorname{Binomial}(N, \alpha)$ fluctuation in the estimator.
To measure both errors cleanly, take a unit position with zero drift and $20\%$ volatility over one year, $X_1 = \exp\bigl(\sigma Z - \frac{\sigma^2}{2}\bigr)$ for $\sigma = 0.2$ and $Z \sim \mathcal{N}(0, 1)$, and test it across $10^4$ simulated paths. Its exact $99\%$ $\mathrm{VaR}$ and $\mathrm{ES}$ are $38.5\%$ and $42.4\%$.
Exact quantiles and conditional tail loss
At probability level $\alpha = 0.01$ ($z_{0.01} = -2.326$), the quantile and expected shortfall follow directly from log-normal integration:
$$ \begin{aligned} q_{0.01} &= e^{-\frac{\sigma^2}{2} + \sigma z_{0.01}} = 0.6155, & \mathrm{VaR}_{99} &= 1 - 0.6155 = 0.3845 \\ \mathbb{E}[X_1 \mid X_1 < q_{0.01}] &= \frac{\Phi(z_{0.01} - \sigma)}{0.01} = 0.5763, & \mathrm{ES}_{99} &= 1 - 0.5763 = 0.4237 \end{aligned} $$At the $99.9\%$ level ($\alpha = 10^{-3}$), the quantile falls to $0.5283$ and $\mathrm{VaR}_{99.9} = 0.4717$.

mean 1.003, 5% quantile 0.710), leaving only ~100 samples below the $1\%$ $\mathrm{VaR}$ cutoff at $0.6154$ and ~10 beyond $0.528$. Open tail-risk density in sItô ↗Run this in sItô
Open sItô with this model pre-loaded to inspect the path distribution, summary statistics, and parameter sensitivities—or change any setting and rerun:
- Open 10^4 log-normal paths (T = 1) in sItô ↗ — reports the $1\%$ quantile ($\approx 0.615$), the $0.1\%$ quantile ($\approx 0.53$), the tail sum $\mathbb{E}[X_1\,\mathbf{1}_{\{X_1 < 0.6154\}}]$ ($\approx 5.8 \times 10^{-3}$), and the empirical tail share ($\approx 0.01$).
Sampling error of tail estimators
Across $3 \times 10^3$ independent repetitions at $N = 10^4$ paths, the relative sampling errors show why dividing by the observed tail count is essential:
| Estimator | Effective tail sample | Relative error | Cause |
|---|---|---|---|
| $1\%$ quantile | $\approx 100$ paths | $0.7\%$ | Standard order-statistic noise |
| $0.1\%$ quantile | $\approx 10$ paths | $1.8\%$ | Tenfold smaller tail sample |
| $\mathrm{ES}_{99}$ using expected count $Np$ | $\approx 100$ paths | $14\%$ | Inherits $10\%$ noise from $\operatorname{Binomial}(10^4, 0.01)$ |
| $\mathrm{ES}_{99}$ using observed count | $\approx 100$ paths | $0.8\%$ | Count cancels; residual noise is within-tail spread |
Dividing the simulated tail sum $\sum_{i : X_i < q} X_i$ by $Np = 100$ leaves the random fluctuation of how many paths fell into the tail inside the ratio. Conditioning on the observed tail count removes that binomial variance completely. To convert to a $10$-day horizon instead of one year, replace $\sigma$ with $\sigma\sqrt{\frac{10}{252}}$.
For estimating rarer events where even $10^4$ paths leave an empty tail, see small probabilities. Model expressions are covered in Compiling parametric SDEs into fast Monte Carlo simulations.
Related notes: How many Monte Carlo paths? · How to read a fan chart