Trading Glass
FeaturesPricingAcademyBlogChartJournal
Loading
All Courses
Distribution of Trade ReturnsRisk of RuinPosition Sizing Based on Confidence IntervalsOptimal Withdrawal & Growth StrategyTrade Expectancy TreesValue at Risk & CVaR
Academy/Trading Intelligence/Trade Distribution Modeling

Value at Risk & CVaR

Trading Intelligence

10 min read

var95cvar95

Understand VaR and Conditional Value at Risk (Expected Shortfall) for measuring tail risk in your trade distribution.

Loading

Related Topics

Distribution of Trade Returns

9 min

Risk of Ruin

9 min

Position Sizing Based on Confidence Intervals

8 min

Optimal Withdrawal & Growth Strategy

8 min

Previous Topic

Trade Expectancy Trees

Next Topic

Zero-Sum Thinking and Trading

Trading Glass

Next-generation charting order flow platform with rotation view, cluster visualization, and real-time analytics for professional traders and quantitative analysts.

Product

  • Features
  • Pricing
  • Chart
  • Journal

Resources

  • Academy
  • Blog
  • Documentation
  • API Reference
  • Support

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 Trading Glass. All rights reserved.

PrivacyTerms

VaR tells you the door to the danger zone. CVaR tells you what happens once you walk through it.

What Is Value at Risk (VaR)?

Value at Risk is a quantile of the loss distribution. The 1-day 95% VaR is the loss level you exceed on only 5% of days under historical conditions — not the maximum loss, not the average loss, just the threshold. It answers the question: "At what loss level do my worst 5% of days begin?"

VaR_alpha(L) = inf{ x : P(L ≤ x) ≥ alpha }

L = loss random variablealpha = confidence level (e.g. 0.95)

For example, a daily VaR of $500 at 95% confidence means:

  • On 95 out of 100 trading days, your losses will not exceed $500
  • On 5 out of 100 days, losses will exceed $500

VaR is defined by the percentile of the loss distribution. At 95% confidence, VaR is the 5th percentile of your return distribution. At 99% confidence, it is the 1st percentile.

The concept originated in institutional finance -- banks and hedge funds use it to set capital reserves. But for discretionary and systematic traders, VaR provides a concrete, intuitive risk boundary that connects directly to position sizing, risk of ruin, and the shape of your return distribution.


Methods for Calculating VaR

There are three primary approaches:

Historical VaR

The simplest method. Take your actual trade returns (or daily PnL), sort them from worst to best, and find the value at the desired percentile.

For 95% VaR with 100 trades:

  1. Sort all 100 returns from worst to best
  2. The 5th worst return is your VaR

Advantages: No assumptions about distribution shape. Uses your actual data. Disadvantages: Requires sufficient historical data. Past distribution may not represent future conditions.

Parametric (Variance-Covariance) VaR

Assumes returns follow a normal distribution and calculates VaR using the mean and standard deviation:

VaR = mu − Z × sigma

mu = mean returnZ = 1.645 at 95%, 2.326 at 99%sigma = standard deviation

For 95% confidence, the Z-score is 1.645. For 99%, it is 2.326.

Advantages: Simple formula, easy to compute. Disadvantages: Assumes normality. Crypto daily returns are roughly Student-t with df ~ 3–4. A normal 99% VaR would call a -8 sigma BTC day a once-in-the-universe event; in 2020 and 2022 those days arrived in the same year. Parametric VaR can underestimate the true 99% tail by 3–10x — fat tails and skewness mean the Gaussian sigma simply does not measure what you need it to.

Monte Carlo VaR

Simulates thousands of possible return paths based on your strategy's statistical properties, then extracts the VaR percentile from the simulated distribution.

Advantages: Can model complex, non-normal distributions. Flexible. Disadvantages: Computationally intensive. Quality depends on the accuracy of input assumptions.

For most active traders, Historical VaR is the most practical and reliable method. It requires no distributional assumptions and directly reflects your actual trading outcomes.


The Problem with VaR

VaR has a critical limitation: it tells you nothing about the severity of losses beyond the threshold.

A 95% VaR of $500 says losses will exceed $500 on 5% of days. But will those bad days produce losses of $510 or $5,000? VaR is silent on this question.

This is known as the "VaR break" problem. Two strategies can have identical VaR but completely different tail risk profiles:

Same 95% VaR (-$500), wildly different tails. CVaR captures the gap; VaR does not.

$510A worst$600B worst$520A 2nd$900B 2nd$530A 3rd$1500B 3rd$540A 4th$2800B 4th$550A 5th$5000B 5th

Both report the same VaR. Strategy B is the one that ends careers. If you size on VaR alone, you cannot tell A from B — and the market will eventually pick B for you. This is not a theoretical defect; it is the reason 2008 happened on top of risk dashboards that were green.


What Is CVaR (Expected Shortfall)?

Conditional Value at Risk (CVaR), also called Expected Shortfall (ES), addresses VaR's blind spot. It measures the conditional expectation of loss given that loss has already exceeded VaR. By construction CVaR is always at least as large as VaR — the average of the tail can never be smaller than the boundary that defines the tail.

CVaR_alpha = E[L | L ≥ VaR_alpha]

L = loss random variablealpha = confidence levelExpected loss conditional on breaching VaR

For 95% CVaR:

  1. Identify all returns worse than the 5th percentile (the VaR breakpoint)
  2. Calculate the average of those worst-case returns
  3. That average is your CVaR

Using the example above:

  • Strategy A CVaR: Average of (-$510, -$520, -$530, -$540, -$550) = -$530
  • Strategy B CVaR: Average of (-$600, -$900, -$1,500, -$2,800, -$5,000) = -$2,160

Now the difference is stark. Strategy B's CVaR is four times worse than Strategy A's, revealing the hidden tail risk that VaR missed entirely.


Why CVaR Is More Conservative (and Better)

CVaR is a strictly more informative metric than VaR for several reasons:

It looks inside the tail. VaR draws a line in the sand. CVaR explores what lies beyond that line. For traders who care about survival, what happens in the worst 5% of outcomes matters more than where the boundary sits.

It is coherent (Artzner, Delbaen, Eber, Heath 1999). CVaR satisfies subadditivity, which means diversifying a portfolio always reduces or maintains CVaR; VaR does not. After 2008, Basel III's FRTB (BCBS 2019) explicitly replaced VaR with Expected Shortfall at 97.5% for trading-book market-risk capital — the regulators who invented VaR abandoned it as the headline metric.

It penalizes fat tails. Trading returns are fat-tailed. Extreme losses occur more frequently than a normal distribution predicts. CVaR naturally captures this because it averages the actual extreme outcomes, however severe they may be.

It drives better decisions. When you optimize a strategy to minimize CVaR rather than VaR, you are directly reducing the expected damage of worst-case scenarios, not just the probability of crossing a threshold.


Practical VaR and CVaR for Traders

Step-by-Step Calculation

Using your last 200 trades at 95% confidence:

  1. List all 200 trade returns (in R-multiples or dollar terms)
  2. Sort from worst to best
  3. VaR = The 10th worst return (5% of 200)
  4. CVaR = Average of the 10 worst returns

Interpretation Example

Suppose 200 BTC-perp scalps show:

95% VaR

Worst 5% threshold across 200 BTC-perp scalps. On the bad days, your losses begin here.

-1.2R

95% CVaR

Average loss inside the worst 5% — twice the VaR. This is what tail days actually cost you.

-2.4R

The 2x gap means your stops are leaking — likely funding flips, liquidation cascades on CME open, or stop-runs through illiquid books. CVaR sizes you for that reality; VaR pretends those days don't exist.

In words:

  • On 95% of trades, you lose 1.2R or less
  • But when things go wrong (worst 5%), your average loss is 2.4R

If your CVaR is significantly larger than your VaR, you have fat-tailed downside risk that feeds directly into your risk of ruin estimate. This is common in strategies that occasionally experience gap moves, slippage beyond stops, or correlated drawdowns.

Using VaR/CVaR for Position Sizing

You can use CVaR to set maximum position sizes:

Max position size = Acceptable loss / CVaR per unit

Acceptable loss = trader's toleranceCVaR per unit = average tail loss per contract

If your account can tolerate a maximum single-trade loss of $1,000 and your 95% CVaR is $200 per contract, you should trade no more than 5 contracts. This ensures that even in worst-case scenarios, your loss stays within acceptable bounds.


Limitations to Understand

  • Sample size matters. With fewer than 50 trades, the 5th percentile is based on 2-3 data points. The estimate will be noisy and unreliable. Aim for at least 100 trades, ideally 200+.

  • Stationarity assumption. A historical 99% CVaR fitted to BTC's calm Jan–Feb 2020 said the worst-day loss should average around -8%. On 12 March 2020 BTC lost ~50% intraday. Regime breaks (LUNA, FTX, March 2020) make historical CVaR a lower bound, not a forecast — which is exactly when you need stress tests, not point estimates.

  • Confidence level choice. 95% is standard but somewhat arbitrary. For capital preservation, 99% may be more appropriate. The tradeoff: higher confidence requires more tail data and produces noisier estimates.

  • Not a worst case. CVaR is the average of tail losses, not the absolute worst outcome. Your actual worst loss will exceed CVaR by definition.

  • Hard to backtest. Unlike VaR, CVaR is not "elicitable" (Gneiting 2011) — you cannot score one CVaR forecast against another with a simple loss function. Practitioners backtest VaR exceedances and use CVaR as the sizing metric.

  • Noisier at the tail. A 99% CVaR on 200 trades averages just two data points. Estimation error is large; bootstrap your confidence interval before trusting the number.


VaR and CVaR Compared

DimensionVaRCVaR
DefinitionLoss at a specific percentileAverage loss beyond that percentile
Tail sensitivityNone (ignores losses beyond threshold)High (averages all tail losses)
Coherent risk measureNoYes
Ease of calculationSimpleSimple (requires one extra step)
ConservativeLessMore
Fat-tail awarenessPoorStrong

Frequently Asked Questions

Is VaR the maximum loss?

No. VaR is the loss level you exceed on (1 - alpha)% of days — the threshold of the tail, not the floor under it. The maximum loss is unbounded; CVaR estimates the average loss inside the tail.

Why did Basel III replace VaR with Expected Shortfall?

After 2008 it was clear VaR ignored the magnitude of tail blowups — two strategies with identical VaR can have wildly different worst-case losses. The FRTB framework (BCBS 2019) replaced VaR with Expected Shortfall at 97.5% for trading-book market-risk capital.

What confidence level should crypto traders use?

95% is fine for routine sizing on 200+ trades. Use 99% only with 1000+ trades or you are estimating from 10 data points — the noise will dominate the signal.

How do I calculate VaR from my trade history?

Take your last 200 trade returns, sort them from worst to best, and read the 10th worst (5% of 200) as your 95% VaR. The average of those 10 worst returns is your 95% CVaR.


Interactive: Return Distribution & Tail Risk

Adjust the skewness to see how the distribution shape changes. With negative skew, the left tail (losses) extends further — this is where VaR and CVaR become critical risk measures.

Return Distribution
-3.2R0R2.5RR-Multiple

Key Takeaways

  • VaR tells you the boundary of "normal" losses at a given confidence level. The 95% VaR is the 5th percentile of your return distribution.
  • CVaR (Expected Shortfall) tells you the average loss when things go worse than VaR. It is strictly more informative and conservative.
  • Historical VaR is the most practical method for active traders -- sort your returns and read off the percentile.
  • If your CVaR is much larger than your VaR, you have fat-tailed downside risk that needs addressing through tighter stops, smaller sizing, or portfolio diversification.
  • Use CVaR to set position size limits that keep worst-case losses within your risk tolerance.
  • Always ensure sufficient sample size (100+ trades) for reliable estimates, and recalculate regularly as your trading evolves.

Closing the Module

The Distribution of Trade Returns gives you the shape; Risk of Ruin gives you the survival probability; Position Sizing gives you the per-trade bet; Optimal Withdrawal & Growth Strategy gives you the long-run drift; Trade Expectancy Trees give you the conditional EV. VaR and CVaR are the tail-risk lens that ties them together — the shape parameter for everything sized off this module.