CVaR Calculator

Estimate conditional value at risk for normally distributed portfolio losses.

Finance and MoneyUpdated 2026-11-202 min read
CVaR Calculator
For 95 percent confidence use 0.95 and a z score of about 1.645.
Expected shortfall
...
Shortfall percentage...
VaR at same confidence...

What it does

Conditional value at risk, also called expected shortfall, answers what the average loss will be in the worst part of the distribution. Where VaR gives a threshold, CVaR describes the tail beyond that threshold, which makes it more informative about extreme risk.

For normally distributed losses the formula is the volatility multiplied by the standard normal density at the confidence z score, divided by the tail probability. The tool applies that to a portfolio value and a volatility input, and also reports VaR at the same confidence for comparison.

At 95 percent confidence with one percent volatility, the expected shortfall is about 2.06 percent of the portfolio while VaR is about 1.645 percent. The shortfall is larger because it averages losses in the worst five percent of outcomes.

The confidence level and z score must be consistent. A z score of 1.645 matches a 95 percent one tailed confidence, and 2.326 matches 99 percent. Entering a mismatched pair gives a result that does not correspond to a standard tail.

The normal assumption understates real market tail risk, so this estimate should be combined with historical or stress based measures. This page assumes a zero mean return over the horizon and a linear portfolio.

How to use

  1. Enter the current portfolio value.
  2. Enter return volatility for the horizon as a percentage.
  3. Enter the z score for your confidence level.
  4. Enter the matching confidence level as a decimal.
  5. Read expected shortfall and its percentage of the portfolio.
  6. Compare with the VaR at the same confidence.

Formula

CVaR = V x sigma x phi(z) / (1 - alpha), with phi the standard normal density.
V
Current portfolio value.
sigma
Return volatility as a decimal.
z
Standard normal quantile matching the confidence level.
alpha
Confidence level between 0 and 1.
phi(z)
Standard normal density at z.

The tool uses a zero mean return. If you have a nonzero mean, the shortfall shifts by that mean over the horizon. The confidence level and z score should be paired consistently or the tail interpretation is lost.

Worked example

Example: 1,000,000 portfolio at 95 percent confidence

Defaults: value 1,000,000, volatility 1 percent, z 1.645 and confidence 0.95.

  1. Standard normal density at 1.645 is about 0.1031.
  2. Tail probability is 1 minus 0.95, which is 0.05.
  3. Shortfall fraction: 0.01 x 0.1031 / 0.05 = 0.02062.
  4. As a percentage that is about 2.062 percent.
  5. Multiply by portfolio value to get about $20,622.16.
  6. VaR at the same confidence is $16,450.00.

Reference table

VaR and expected shortfall for a 1,000,000 portfolio at 1 percent volatility
ConfidenceVaRCVaR
95 %$16,450.00$20,622.16
99 %$23,260.00$26,673.72

Limits

  • Assumes normally distributed returns.
  • Uses a zero mean return over the horizon.
  • Requires a consistent z score and confidence level.
  • Not valid for nonlinear portfolios without adjustment.

Common mistakes

  • Mixing a 99 percent z score with a 95 percent confidence input.
  • Treating expected shortfall as a maximum loss.
  • Using volatility scaled to a different horizon.
  • Comparing with VaR at a different confidence level.
  • Ignoring fat tails in real markets.

Try it yourself

Quick checks. Answers sit tucked under each question.

Why is CVaR larger than VaR?

Because it averages losses in the tail rather than marking the threshold where the tail begins.

What z score matches 99 percent confidence?

About 2.326 for a one tailed normal test.

What if confidence is entered as 95 instead of 0.95?

The tool returns the error Enter a confidence level between 0 and 1.

Questions

What is CVaR?

The average loss conditional on exceeding the VaR threshold, also called expected shortfall.

How does it differ from VaR?

VaR is a quantile. CVaR describes the average of the losses beyond that quantile.

Why use the normal density?

The normal expected shortfall has a closed form involving the density at the confidence z score.

What inputs do I need?

Portfolio value, volatility for the horizon, a confidence level and its matching z score.

Is it a worst case?

No. Extreme losses can be larger than the expected shortfall.

Does normality hold in markets?

Only approximately. Real returns have fatter tails, so stress testing is also important.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.