Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

Value at Risk (VaR) explained: formula, worked example and common mistakes

Find the amount you could lose on a bad day, with a specific confidence level. The risk metric banks and hedge funds use daily. Free, no sign-up, your numbers stay in your browser.

Updated

What is Value at Risk (VaR)?

Value at Risk (VaR) is a statistical measure of the maximum expected loss over a given time horizon, at a specific confidence level. It answers the question: “How much money could I lose on a really bad day, with a high degree of confidence?” If your portfolio has a 1-day 95% VaR of 5,000, it means there’s a 95% probability that you won’t lose more than 5,000 in a single day. Equivalently, there’s a 5% chance (about 1 in 20 trading days, or roughly once a month) that you will lose more than 5,000 in a day.

VaR was popularized by JP Morgan in the 1990s (their RiskMetrics framework) and became the standard risk metric for banks, hedge funds, and institutional investors. After the 2008 financial crisis, VaR was criticized for underestimating tail risk — it tells you the threshold of bad outcomes, but not how bad the worst outcomes can be. The extension that addresses this is Conditional VaR (CVaR), also called Expected Shortfall, which measures the average loss in the worst (1-confidence)% of cases.

VaR has three common calculation methods:

Parametric (variance-covariance) VaR assumes returns are normally distributed and uses the standard deviation to calculate the loss threshold. It’s the simplest method and works well for diversified portfolios without extreme skew or fat tails. Formula: VaR = portfolio value × z-score × standard deviation, where the z-score corresponds to the confidence level (1.645 for 95%, 2.326 for 99%).

Historical VaR uses actual historical returns to find the loss threshold. You sort past daily returns from worst to best, then find the return at the (1-confidence) percentile. For 95% VaR, you find the 5th percentile return — the worst 5% of days. This method makes no distributional assumptions but requires sufficient historical data (typically 1-3 years of daily returns).

Monte Carlo VaR simulates thousands of random future return paths based on assumed distributions, then finds the loss threshold from the simulated distribution. This is the most flexible method — you can model complex distributions, fat tails, and non-normal returns — but it’s computationally intensive and depends on the quality of your distributional assumptions.

VaR is typically reported as an amount (e.g., “1-day 95% VaR is 5,000”) and is used to set risk limits, allocate capital, and monitor portfolio risk over time. Banks are required by regulators (Basel Accords) to calculate and report VaR daily. Individual investors use VaR to set position size limits and to monitor whether their portfolio risk is within their tolerance.

The VaR formula (parametric method)

The parametric VaR formula is:

VaR = V × z × σ × √t

Where:

  • V = portfolio value
  • z = z-score for the confidence level (1.645 for 95%, 2.326 for 99%, 3.090 for 99.9%)
  • σ = standard deviation of returns per period (typically daily)
  • t = time horizon in periods (days)

Worked example: A 100,000 portfolio with daily standard deviation of 1.2%, 95% confidence, 1-day horizon.

VaR = 100,000 × 1.645 × 0.012 × √1
VaR = 100,000 × 1.645 × 0.012
VaR = 1,974

So with 95% confidence, the maximum 1-day loss is approximately 1,974. There’s a 5% chance (about 1 in 20 trading days) of losing more than 1,974 in a single day.

Z-score table for common confidence levels:

Confidence Level Z-score Interpretation
90% 1.282 1 in 10 days exceeds VaR
95% 1.645 1 in 20 days exceeds VaR
99% 2.326 1 in 100 days exceeds VaR
99.9% 3.090 1 in 1,000 days exceeds VaR

Time horizon scaling:

To convert a 1-day VaR to a longer horizon, multiply by the square root of the number of days:

VaR(t days) = VaR(1 day) × √t

For a 10-day 95% VaR with the example above: VaR(10 days) = 1,974 × √10 = 1,974 × 3.162 = 6,242

Conditional VaR (Expected Shortfall):

CVaR measures the average loss in the worst (1-confidence)% of cases. For 95% confidence, CVaR is the average loss on the worst 5% of days. The formula (for normal distribution):

CVaR = V × σ × [φ(z) / (1 - confidence)]

Where φ(z) is the standard normal probability density at the z-score. For 95% confidence (z = 1.645), CVaR is approximately 1.25× the VaR.

Worked example: With VaR = 1,974, CVaR ≈ 1,974 × 1.25 = 2,468.

So while the 95% VaR is 1,974 (the threshold of bad outcomes), the average loss on the worst 5% of days is 2,468 — about 25% worse than the VaR threshold.

The calculator computes both VaR and CVaR using the parametric method. Open the calculator and enter your portfolio value, daily standard deviation, and confidence level.

When to use a VaR calculator (and when not to)

Use this calculator when:

  • You want to know the amount you could lose on a bad day or week.
  • You’re setting position size limits — “I won’t take a position where the 1-day 95% VaR exceeds 5,000.”
  • You’re comparing two portfolios or strategies on a risk basis.
  • You’re monitoring portfolio risk over time — if VaR is rising, your portfolio is getting riskier.
  • You want a quick, single-number summary of portfolio risk for reporting or decision-making.

When NOT to use this calculator:

  • If you want to test your portfolio against historical crash scenarios (not statistical distributions), use the Portfolio Stress Test. VaR assumes normal market conditions; stress tests reveal tail risk.
  • If you want to measure maximum drawdown (peak to trough over a period), use the Drawdown Analyzer. VaR is a snapshot risk measure; drawdown captures the path.
  • If your portfolio has significant options or non-linear instruments, the parametric VaR formula doesn’t work cleanly because option returns are non-normal. Use Monte Carlo VaR instead.
  • If you want a probabilistic view of future outcomes, use the Monte Carlo Goal Simulator. VaR is a single-threshold measure; Monte Carlo gives you the full distribution.

Common mistakes people make

1. Treating VaR as the maximum possible loss. VaR is the threshold, not the maximum. If your 95% VaR is 5,000, you can absolutely lose more than 5,000 — you’ll do so about 1 in 20 days. The worst-case loss could be 2-3× VaR or more during true crises.

2. Assuming normal distribution. The parametric VaR formula assumes returns are normally distributed. Real returns have fat tails — extreme losses happen more often than normal distribution predicts. Always calculate CVaR (which captures tail severity) alongside VaR.

3. Using too short a time horizon for the standard deviation. A 30-day standard deviation reflects recent volatility, which may be lower than long-term averages. Use at least 1-3 years of daily returns for stable VaR estimates.

4. Forgetting that correlations change during crises. VaR calculations assume historical correlations hold. During crises, correlations spike toward 1, and diversified portfolios suddenly look riskier than VaR suggested.

5. Comparing VaR across portfolios with different time horizons. A 1-day VaR is not comparable to a 10-day VaR. Always normalize to the same time horizon before comparing. (Multiply by √t to convert between horizons.)

6. Using VaR as the sole risk metric. VaR is one input, not a complete risk picture. Always pair VaR with stress testing, drawdown analysis, and qualitative risk assessment. The 2008 crisis revealed that many institutions relied too heavily on VaR and missed the tail risk.

Frequently asked questions

What is Value at Risk (VaR)?

VaR is a statistical measure of the maximum expected loss over a given time horizon at a specific confidence level. If your 1-day 95% VaR is 5,000, there's a 95% chance you won't lose more than 5,000 in a single day (and a 5% chance you will).

What is a good VaR?

It depends on your portfolio size and risk tolerance. As a percentage of portfolio value, a 1-day 95% VaR of 1-2% is typical for a diversified stock portfolio. Above 3% is high; below 0.5% is very conservative (typical of bond-heavy portfolios).

What is the difference between VaR and CVaR?

VaR gives you the threshold (the loss you won't exceed with X% confidence). CVaR (Conditional VaR or Expected Shortfall) gives you the average loss in the worst (1-X)% of cases — the severity of the tail. CVaR is always worse than VaR.

What is parametric VaR?

Parametric VaR assumes returns are normally distributed and uses the standard deviation to calculate the loss threshold. It's the simplest VaR method but underestimates tail risk for portfolios with fat-tailed return distributions.

What is the 95% VaR z-score?

The z-score for 95% confidence is 1.645. This means 95% of the normal distribution falls within 1.645 standard deviations of the mean (on the downside). For 99% confidence, the z-score is 2.326.

How do you calculate multi-day VaR?

Multiply the 1-day VaR by the square root of the number of days. For a 10-day VaR: 10-day VaR = 1-day VaR × √10 = 1-day VaR × 3.162.

Why did VaR fail in 2008?

VaR underestimated tail risk because it assumes normal distributions and stable correlations. During the 2008 crisis, correlations spiked toward 1 (everything fell together) and tail events happened far more often than normal distribution predicted. Many institutions had VaR limits that proved inadequate.

What is the difference between VaR and maximum drawdown?

VaR is a snapshot statistical measure (maximum expected loss over a short horizon). Maximum drawdown measures the actual peak-to-trough decline over a historical period. VaR is forward-looking statistical; drawdown is backward-looking actual.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “Value at Risk (VaR) Calculator”. Updated 2026-10-27. https://investmentmathcalculator.com/guides/value-at-risk-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.