Finance and Budgeting

Value at Risk Calculator

Paste past returns and choose a confidence level to see the loss that is exceeded only in the worst few periods.

Your numbers

One return per period, separated by lines, commas or spaces. For example 1.5 means a gain of 1.5 percent. Use at least 10.

Result

Historical 95% value at risk

2.125% ($2,125.00)

One period, 20 past returns.

Historical VaR (percent of value)
2.125%
Historical VaR (dollars)
$2,125.00
Normal VaR (percent of value)
1.983%
Normal VaR (dollars)
$1,982.67
Average loss beyond the historical quantile
2.600% ($2,600.00)
Mean return
-0.0650%
Standard deviation (n minus 1)
1.1659%
z score used
1.6449
Worst return in the list
-2.600%
How this was calculated
  1. Sort the 20 returns from worst to best. The 5th percentile is found by linear interpolation at position (n - 1) x 0.05 counting from 0. Here it is -2.1250%.
  2. Historical VaR is the loss at that percentile: minus the percentile return.
  3. Normal VaR = z x standard deviation minus the mean return, with z = 1.6449 for 95 percent confidence.
  4. Average loss beyond the quantile is the mean of the returns at or below the percentile, shown as a loss.
  • With 95 percent confidence, about 5 percent of periods are expected to lose at least the VaR amount if the past repeats. This is an educational estimate, not a limit on losses or advice.

Calculated using SumPanda.com · https://sumpanda.com/value-at-risk-calculator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the value at risk calculator

  1. Paste the past returns in percent, one per period, separated by lines, commas or spaces.
  2. Choose a confidence level: 90, 95, 97.5 or 99 percent.
  3. Enter the value of the portfolio to see the amounts in dollars.
  4. Read the historical and normal value at risk, the average loss beyond it and the supporting statistics.

Formula

historical VaR = - percentile of returns at position (n - 1) x (1 - confidence), with linear interpolation

normal VaR = z x standard deviation - mean return

average loss beyond VaR = - mean of the returns at or below the percentile

The historical method reads the loss straight from the sorted data. The normal method assumes the returns follow a bell curve with the same mean and standard deviation. The standard deviation uses n - 1.

Twenty daily returns at 95 percent

The 20 example returns are sorted from -2.6 percent to 1.5 percent. At 95 percent confidence the percentile sits at position 19 x 0.05 = 0.95, between the worst return of -2.6 and the second worst of -2.1. Interpolating gives -2.6 + 0.95 x 0.5 = -2.125, so historical VaR is 2.125 percent, or $2,125.00 on $100,000.

The mean is -0.065 percent and the standard deviation is 1.1659 percent. With z = 1.6449, normal VaR is 1.6449 x 1.1659 + 0.065 = 1.983 percent, or $1,982.67. The average loss in the tail is 2.6 percent.

How to read the number

A one period 95 percent VaR of 2.125 percent says that, if the future resembles the past list, about 5 percent of periods would lose at least that much. It does not say how large the loss in the worst periods could be, which is why the average loss beyond VaR is shown too.

Short lists make the percentile unreliable. With 20 returns the 95th percentile is mostly set by the two worst days.

Limits of both methods

The historical method can only show losses that appear in the data. The normal method can understate risk because real returns have fatter tails than a bell curve. Different tools also interpolate the percentile differently, so results can differ slightly.

This page is an educational estimate. It is not a risk limit and not investment advice.

Assumptions and limits

  • Each return is for one period of the same length, in percent.
  • The percentile uses linear interpolation between the sorted values.
  • The normal method uses the sample standard deviation with n - 1 and the exact normal quantile.
  • The portfolio is assumed to be a plain long position. Leverage, fees and taxes are not modeled.
  • Between 10 and 5,000 returns are read.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

What does 95 percent confidence mean here?

It means the loss shown is the one that was exceeded in about 5 percent of the periods in your list. It is a statement about the data, not a promise about the future.

Why do the two methods differ?

The historical method follows the data exactly, while the normal method smooths it into a bell curve. When the data has fat tails or is lopsided, they can differ noticeably.

Can I scale the result to a longer period?

This page gives a one period figure for the period your returns cover. Scaling to more periods needs extra assumptions that are not made here.

Why is the average loss beyond VaR larger?

VaR marks the start of the worst tail. The average of the returns at or below that point is always at least as bad as VaR, and it shows how deep the tail goes.