Welcome back. In our previous lesson, we explored Value at Risk (VaR) and saw how it provides a single number to quantify potential portfolio losses up to a certain confidence level. However, we concluded by noting its most significant limitation: VaR tells you the best of the worst-case scenarios, but it offers no insight into the magnitude of the loss if that threshold is breached.
This lesson introduces Expected Shortfall (ES), a risk measure designed to answer precisely that question: "If things go bad, how bad do we expect them to be?" Also known as Conditional Value at Risk (CVaR) or Tail VaR (TVaR), ES picks up where VaR leaves off. By the end of this session, you will be able to define Expected Shortfall and compute it using the same core methodologies we used for VaR.
1. Defining Expected Shortfall
Expected Shortfall is the average of all potential losses that exceed the Value at Risk threshold. From a statistical perspective, it is a conditional expectation. It answers the question: "Given that we have experienced a loss greater than our VaR, what is our expected loss?"
The mathematical definition is:
where is the random variable representing loss, and is the confidence level (e.g., 95% or 99%).
The following video provides an excellent conceptual introduction, recapping the limitation of VaR and clearly defining ES as the average of the tail losses.
This video, "FRM: Expected Shortfall (ES)" from Bionic Turtle, clearly bridges the gap between VaR and ES.
First, watch the recap of VaR's limitations, which sets the stage for why ES is needed. Then, watch the section that defines Expected Shortfall as the expected loss conditional on exceeding the VaR quantile.
The image below provides a powerful visual representation. While VaR is the single point marking the beginning of the tail, ES is the average value of all outcomes within that tail.

For most practical purposes, particularly in the context of the CM2 exam, Expected Shortfall (ES) and Conditional VaR (CVaR) are used synonymously. However, there is a subtle technical difference that is useful to know. ES is defined by a probability threshold (e.g., the average of the worst 5% of outcomes), whereas CVaR is strictly the average of losses given they exceed the VaR quantile. In continuous distributions, they are identical. In discrete distributions, where the VaR quantile can be ambiguous, ES provides a clearer, unambiguous measure.
2. Computing Expected Shortfall
Just as with VaR, we can compute ES using historical data or by assuming a parametric distribution.
Method 1: Historical Simulation
This method is the most intuitive. It follows directly from the definition of ES as an average of tail losses. The steps are:
- Gather a set of historical or simulated profit/loss observations.
- Sort the observations from largest profit to worst loss.
- Determine the VaR cutoff point. For example, with 100 observations and a 95% confidence level, the tail consists of the 5 worst losses. The 95% VaR would be the 5th worst loss.
- Calculate the average of all losses that are worse than or equal to the VaR. This average is the Expected Shortfall.
The following video provides a detailed, step-by-step numerical calculation that makes this process very clear.
Expected shortfall (ES, FRM T5-02)
Let's watch "Expected shortfall (ES, FRM T5-02)" from Bionic Turtle to see a full calculation.
Please watch the segment from 02:07 to 11:07. The presenter simulates 100 trials and calculates the 95% and 97% Expected Shortfall. Pay close attention to how he identifies the losses in the tail (the worst 5 for 95% ES, the worst 3 for 97% ES) and then simply averages them.
As you saw in the video, for a 95% confidence level with 100 observations, the ES is the average of the 5 worst losses. For a 97% confidence level, it's the average of the 3 worst losses. It's a straightforward conditional average.
Method 2: The Parametric (Normal) Method
When we assume that losses (or returns) follow a normal distribution, we can use a specific formula to calculate ES. This bypasses the need for sorting large datasets and relies on the distribution's parameters.
For a loss distribution , the Expected Shortfall at a confidence level is given by:
where:
- is the mean of the loss distribution.
- is the standard deviation of the loss distribution.
- is the standard normal quantile for the confidence level (e.g., for , ).
- is the probability density function (PDF) of the standard normal distribution.
- is the significance level of the tail (e.g., 5% or 0.05).
The video you just watched also covers this.
Expected shortfall (ES, FRM T5-02)
Let's return to the same Bionic Turtle video to see the parametric calculation.
Watch the final part of the video from 13:52 to 16:50. The presenter shows that for a standard normal distribution (\mu=0, \sigma=1), the 95% ES is approximately 2.06, which is greater than the 95% VaR of 1.645, as expected.
This formula is very powerful. Since you have a strong background in probability, you can appreciate that it elegantly combines the distribution's parameters (, ) with the properties of the normal curve (, ) to derive the conditional expectation in the tail.
Your Turn: Calculating ES
Let's apply the historical simulation method to a small dataset. This will solidify your understanding of the core computation.
Problem:
A portfolio has generated the following 20 daily losses over the past month, sorted from best outcome (a gain) to worst loss (in thousands of dollars):[-5, 2, 8, 10, 15, 17, 20, 22, 24, 25, 28, 30, 31, 33, 35, 40, 42, 50, 65, 80]
Calculate the 90% VaR and the 90% ES for this portfolio.
Solution Steps:
- Determine the number of observations in the tail. The confidence level is 90%, so the tail is the worst of outcomes.
Number of tail observations = . - Identify the VaR. The 90% VaR is the loss at the cutoff point, which is the 2nd worst loss. Looking at the sorted list, the worst loss is 80 and the second worst is 65. So, the 90% VaR is $65,000.
- Calculate the Expected Shortfall. The 90% ES is the average of all losses in the 10% tail. In this case, it's the average of the two worst losses.
ES = .
So, the 90% ES is $72,500.
Notice that ES ($72.5k) is greater than VaR ($65k), which must always be the case.
The image below from a spreadsheet calculation shows a similar logic for a different dataset, calculating CVaR (ES) by averaging the losses in the tail.

Conclusion
In this lesson, we have moved beyond VaR to a more informative measure of tail risk. Expected Shortfall gives us a crucial piece of information that VaR omits: the expected magnitude of our losses when we venture into the tail of the distribution.
Here are the key takeaways:
- Expected Shortfall (ES), or Conditional VaR (CVaR), is the expected loss conditional on that loss exceeding the VaR. It answers, "How bad can losses get on average in a worst-case scenario?"
- It is calculated by averaging all losses in the tail of the distribution beyond the VaR quantile.
- For historical data, this involves identifying the worst of outcomes and calculating their average.
- For a normal distribution, a specific formula involving the distribution's mean, standard deviation, and the normal PDF is used.
- By definition, ES will always be greater than or equal to VaR.
While we have now defined both VaR and ES and know how to compute them, we haven't formally discussed why ES is considered a "better" risk measure from a theoretical standpoint. In our next lesson, we will delve into the mathematical properties of risk measures and explore the concept of coherence. We will see why ES satisfies these desirable properties, particularly subadditivity, while VaR does not.