Skip to main content
Derivatives Compass

Measuring RiskIntroductoryEstimated reading timeAbout 9 min

Value at Risk (VaR)

VaR (value at risk) is a measure that expresses the size of market risk as a single amount. You choose a confidence level, which is the probability that the loss stays within that amount when a position is held for a set period, and find the amount that matches it. It is not an upper limit on losses, and in general it does not show how large a loss is once it exceeds VaR.

When you set a limit on the amount of risk and report against it, you need to state the size of the loss on a position as a single amount.

Prerequisites

  • Probability and Statistics Basics IntroductoryKnowing the normal distribution, standard deviation, and correlation helps you follow the variance-covariance calculation.

Key points

  • VaR at a 99% confidence level is the amount that losses exceed with a probability of 1%.
  • The variance-covariance method multiplies a standard deviation by a factor; historical simulation and the Monte Carlo method rank profit and loss.
  • VaR alone does not, in general, show how large a loss is once it exceeds VaR.

What VaR shows

Market risk is the risk of loss when movements in markets such as interest rates, exchange rates, and stock prices reduce the value of the assets and liabilities you hold1. The interest rates, stock prices, and other variables behind those movements are called risk factors (the variables that move the value of a position). VaR (value at risk) expresses the size of this market risk as a single loss amount. To calculate VaR, you set the following three things2.

What you set Meaning Example used here
Holding period The future period over which the loss is measured 1 day
Confidence level The probability that the loss stays within VaR 99%
Observation period The period of past data used to estimate the size of price moves 250 days (an example for methods that use past data)

Consider a hypothetical example in which you hold 600 million yen of asset A and 400 million yen of asset B, and the VaR with a 1-day holding period and a 99% confidence level is 20.27 million yen. This means the probability that tomorrow's loss exceeds 20.27 million yen is estimated at 1%2. On the other 99% of days, the loss stays within 20.27 million yen or there is a profit. You would expect the loss to exceed 20.27 million yen on about 1 in every 100 business days3.

Bank of Japan documents call VaR the "maximum loss" (our translation), but VaR is not an upper limit on losses4.

How the variance-covariance method works

The variance-covariance method assumes that profit and loss follow a normal distribution, and calculates VaR by multiplying the standard deviation of profit and loss by a factor set by the confidence level5. It assumes that risk factor moves follow a normal distribution and that the sensitivity of the position's value to those moves is constant, meaning the position's value changes in proportion to the moves56.

With two assets, the calculation goes in this order.

  1. For each asset, find the standard deviation of one-day profit and loss as the position × the daily volatility (the standard deviation of one-day returns).
  2. Multiply each of the two standard deviations by itself and add the results, then add "2 × correlation × the product of the two standard deviations" to get the variance of total profit and loss7.
  3. Find the number that gives the variance when multiplied by itself, and use it as the standard deviation of total profit and loss.
  4. Multiply the standard deviation by the confidence-level factor.
VaR=confidence-level factor×standard deviation of profit and loss\text{VaR} = \text{confidence-level factor} \times \text{standard deviation of profit and loss}

The confidence-level factor is the point on the standard normal distribution below which that probability lies: 1.645 for 95%, 1.960 for 97.5%, and 2.326 for 99%8. The 99% factor is sometimes rounded to 2.335. Correlation expresses how closely the two assets move in the same direction.

Figure 1 shows that, on the standard normal distribution, the probability of falling below the 99% factor of 2.326 is 1%.

Probability 1%−4−202499% factor −2.326Profit/loss (in standard deviations)
Figure 1The standard normal distribution and the 99% factor
Figure description

The curve is a bell shape that is symmetric around 0. The vertical axis is probability density, and area corresponds to probability. The shaded area to the left of the dashed line is the 1% at the loss-side end (negative because it is on the loss side).

Worked example: VaR of asset A and asset B

Add volatilities and a correlation to the position in the first example: asset A (daily volatility 1.2%) and asset B (0.8%), with a correlation of 0.3. The VaR at a 99% confidence level is 20.27 million yen. The calculation below works in million yen.

Step Calculation Value
Step 1: standard deviation of asset A's profit and loss (million yen) 600 × 1.2% 7.2000
Step 1: standard deviation of asset B's profit and loss (million yen) 400 × 0.8% 3.2000
Step 2: variance of total profit and loss (million yen × million yen) 7.2 × 7.2 + 3.2 × 3.2 + 2 × 0.3 × 7.2 × 3.2 75.904
Step 3: standard deviation of total profit and loss (million yen) The number that gives 75.904 when multiplied by itself 8.7123
Step 4: VaR (99% confidence level, million yen) 2.3263 × 8.7123 20.27

The factor in the table is 2.3263, the 99% factor to four decimal places9. Because profit and loss are treated as normally distributed with a mean of 0, a profit of more than 20.27 million yen also occurs with the same 1% probability.

How historical simulation and the Monte Carlo method work

Historical simulation and the Monte Carlo method both generate many one-day profit and loss figures, rank them from the largest loss, and take the loss at the rank that matches the confidence level as VaR10. The two differ in the data they use to generate the profit and loss figures.

Historical simulation assumes that the risk factor moves on each day of the past observation period are equally likely to happen tomorrow11. It applies each past day's moves to the current position, producing as many profit and loss figures as there are days in the observation period11. With a 250-day observation period there are 250 figures, and the largest 1% of losses is 250 × 1% = 2.5 figures. This site's simulator takes the third-largest loss as the 99% VaR, which is 19.14 million yen for the example position12.

The Monte Carlo method uses random numbers to generate risk factor moves from an assumed probability distribution, and revalues the position to produce profit and loss figures10. With 10,000 scenarios, the 100th-largest loss is the 99% VaR, which is 20.23 million yen in the example. If the position's value changes in proportion to the moves and a normal distribution is assumed, the Monte Carlo VaR in theory matches the variance-covariance VaR6. The example's 20.23 million yen differs from 20.27 million yen because only a limited number of scenarios are generated with random numbers. Changing the sequence of random numbers also changes the value.

SimulatorVaR by the three methodsOther simulators
Inputs
Confidence level
Return distribution
100m yen
100m yen
%
%
days
0246810−3,000−2,000−1,00001,0002,0003,000Share (%)1-day profit/loss (10,000 yen)
Variance-covariance VaR2,027Variance-covariance ES2,322Historical VaR1,914Historical ES2,204Monte Carlo VaR2,023Monte Carlo ES2,323
Standard deviation of profit/loss (10,000 yen)
871
Variance-covariance VaR / expected shortfall (99%, 10,000 yen)
2,027 / 2,322
Historical VaR / expected shortfall (99%, 10,000 yen)
1,914 / 2,204
Monte Carlo VaR / expected shortfall (99%, 10,000 yen)
2,023 / 2,323

Simplifications

  • The portfolio is linear: the value of each position changes in proportion to its return. The holding period is 1 day and mean returns are zero.
  • Both the historical data and the Monte Carlo scenarios are samples drawn from the chosen distribution, not real market data.
  • The t distribution is a multivariate t with the same tail thickness for both assets, scaled to the same variance as the normal. The variance-covariance method always assumes a normal distribution.
  • VaR is the ⌈n(1 − confidence)⌉-th largest loss, and expected shortfall is the average of losses at or beyond it.

This simulator uses simplified calculations for learning. It cannot be used for valuing actual transactions or managing their risk. (Terms of Use)

About this simulator

You can change the positions in asset A and asset B, their daily volatilities, the correlation, and the confidence level. You can also change the return distribution, the number of historical days, the number of Monte Carlo scenarios, and the random seed. The chart of the profit and loss distribution and the VaR for each method change with them. Both the historical data and the Monte Carlo scenarios are generated with random numbers from the chosen distribution, and neither is real market data. The screen also shows expected shortfall (ES). If you switch the return distribution to a t distribution, you can see how the VaR and expected shortfall of each method change.

Strengths and weaknesses of the three methods

The three methods differ in how they set the distribution of profit and loss, which changes the computing effort and the shapes of price moves they can capture13. Every method has limitations, so you choose one that fits the risk characteristics of the position14.

Method How the profit and loss distribution is set Strengths Weaknesses
Variance-covariance method Assumes a normal distribution and sets it from standard deviations and correlations Easy to calculate, with no simulation needed If the actual distribution is fat-tailed, VaR can be underestimated. Not suited to options
Historical simulation Uses past price moves as they are Does not assume a particular distribution. Can reflect fat tails in past price moves and values that do not change in proportion to the moves Can only handle what has happened in the past. Results change with the length of the observation period
Monte Carlo method Generates it with random numbers from an assumed distribution Can assume distributions other than the normal distribution. Can also handle values that do not change in proportion to the moves Results depend on the assumed distribution. Complex models with large amounts of data make the computing load heavy

Fat-tailed means that large losses happen more often than a normal distribution assumes. Because the variance-covariance method and the Monte Carlo method assume a shape for the distribution, VaR will be off if the assumption differs from the actual distribution.

What VaR does not show

VaR alone does not, in general, show how large a loss becomes once it exceeds VaR. Even with the same 99% VaR of 20.27 million yen, VaR cannot tell you whether losses on the remaining 1% of days stop at 21 million yen or reach 50 million yen15.

VaR is estimated with statistical methods from past data, and it does not prepare you for stress events that are not in the observation period16. If the market shifts into a regime unlike anything seen before, VaR can underestimate future losses16. It is therefore supplemented by stress testing, which measures losses under large past or assumed price moves16. Backtesting checks whether the number of losses exceeding VaR stays within what the confidence level implies3.

VaR moves when its assumptions break down. With the same asset A and asset B positions, replacing the return distribution with a t distribution with 5 degrees of freedom (a fat-tailed distribution with the same variance as the normal distribution) gives the following 99% VaR.

Method Normal distribution (million yen) t distribution (million yen)
Variance-covariance method 20.27 20.27
Historical simulation (250 days) 19.14 29.98
Monte Carlo method (10,000 scenarios) 20.23 22.76

The variance-covariance method assumes a normal distribution, so it stays at 20.27 million yen when the distribution changes. Monte Carlo VaR rises about 13% from 20.23 million yen to 22.76 million yen, and historical simulation VaR rises about 57% from 19.14 million yen to 29.98 million yen. Even with the same standard deviation, a fat-tailed distribution produces large losses more often, and a VaR that assumes a normal distribution underestimates the loss.

What this article does not cover

Notes

  1. Bank of Japan, Financial System and Bank Examination Department, Center for Advanced Financial Technology, "市場リスク管理態勢の整備" (external site) (Developing a market risk management framework) (September 2019), "1.市場リスクとは" (1. What market risk is), page 3 (in Japanese). Citing the definition in the Financial Inspection Manual, the document counts as market risk not only the risk of loss from changes in the value of assets and liabilities but also the risk of loss from changes in the earnings they generate. ↩

  2. Bank of Japan, Financial System and Bank Examination Department, Center for Advanced Financial Technology, "Ⅱ.市場リスクの把握と管理" (external site) (II. Understanding and managing market risk) (June 2012; the "BOJ market risk training material"), "3.VaRによるリスク量の把握" (3. Measuring the amount of risk with VaR), page 19, and "市場VaR(概念図)" (Market VaR (conceptual diagram)), page 21 (in Japanese). For a 99% VaR, the diagram gives the probability that a future loss exceeds VaR as 1%. ↩ ↩2

  3. The BOJ market risk training material (external site), "4.バックテストによるVaRの検証" (4. Verifying VaR by backtesting), page 39. For VaR at a 99% confidence level, it gives the probability of a loss exceeding VaR as once in 100 times. ↩ ↩2

  4. The BOJ market risk training material (external site), page 19, and Yoshitaka Ando, "ヒストリカル法によるバリュー・アット・リスクの計測:市場価格変動の非定常性への実務的対応" (external site) (Measuring value at risk with the historical method), Kinyu Kenkyu, Institute for Monetary and Economic Studies, Bank of Japan (November 2004; "Ando's paper"), page 3 (in Japanese). Both call VaR the maximum loss. ↩

  5. The BOJ market risk training material (external site), "A.分散共分散法" (A. The variance-covariance method) and "分散共分散法" (The variance-covariance method), pages 23–24. It gives the 99% VaR as 2.33 multiplied by the sensitivity (delta) and the standard deviation. ↩ ↩2 ↩3

  6. Ando's paper (external site), "イ.分散共分散法" (a. The variance-covariance method) and "ロ.モンテカルロ法" (b. The Monte Carlo method), page 4. ↩ ↩2

  7. National Institute of Advanced Industrial Science and Technology (AIST), "期待値・分散の定義および演算" (external site) (Definitions and operations of expected value and variance), the "平均値(期待値)・分散の演算" (Operations on the mean (expected value) and variance) section (in Japanese). It shows that the variance of the sum of two random variables is the sum of their variances plus twice their covariance. The covariance is the correlation multiplied by the two standard deviations. ↩

  8. National Institute of Standards and Technology, "Cumulative Distribution Function of the Standard Normal Distribution," (external site) section 1.3.6.7.1 of the NIST/SEMATECH e-Handbook, the table of critical values. It gives 1.645, 1.960, and 2.326 for cumulative probabilities of 0.950, 0.975, and 0.990. ↩

  9. 2.3263 comes from the "Area under the Normal Curve from 0 to X" table in the NIST source (external site) cited above. The area is 0.48983 up to 2.32 and 0.49010 up to 2.33, and interpolating linearly between them to the point where the area is 0.49 gives 2.3263. ↩

  10. The BOJ market risk training material (external site), pages 31–32 and 36–37. It finds VaR from the percentile that matches the confidence level. The steps are in Ando's paper (external site), pages 5–6. ↩ ↩2

  11. Ando's paper (external site), "(1)ヒストリカル法によるVaRの算出手順" ((1) Steps for calculating VaR by the historical method), pages 5–6. ↩ ↩2

  12. Which loss is taken as VaR depends on the convention. The simulator uses the loss at the rank given by the number of days × (1 − confidence level), rounded up (the third for 250 days). Another convention is in the "標本分位点法" (sample quantile method) in Ando's paper (external site) (page 6). ↩

  13. The BOJ market risk training material (external site), pages 23, 31, 33 (points to note 3), and 36. The points that the variance-covariance method needs no simulation and does not suit options come from Ando's paper (external site), page 4. ↩

  14. The BOJ market risk training material (external site), "市場VaRの計測手法" (Methods for measuring market VaR), page 22. ↩

  15. Yasuhiro Yamai and Toshinao Yoshiba, "バリュー・アット・リスクのリスク指標としての妥当性について" (external site) (On the validity of value at risk as a risk measure), Kinyu Kenkyu, Institute for Monetary and Economic Studies, Bank of Japan (April 2001), pages 38–39 (in Japanese). For profit and loss that do not follow a normal distribution, the paper states that computing VaR alone does not, in general, give information on the size of losses beyond VaR. For a normal distribution, it states that computing VaR gives that information. ↩

  16. The BOJ market risk training material (external site), "5.VaRの補完とストレステスト" (5. Supplementing VaR, and stress testing), pages 46–47, the examples of stress scenarios on page 48, and "留意事項④" (Points to note 4), page 38. Page 48 lists scenarios that use the price moves of past shocks as they are and scenarios that assume price moves that could happen in the future. ↩ ↩2 ↩3

Check your understanding of this page

Taken from the chapter quiz to check what this page explains.

  1. Question 1

    As a fictional example, a position has a VaR of 30 million yen with a 1-day holding period and a 99% confidence level. Which statement correctly describes what this VaR means?

    Answer and explanation

    Answer: D

    This VaR means that the probability of tomorrow's loss exceeding 30 million yen is estimated at 1%. VaR is found by setting a holding period (the period over which the loss is measured) and a confidence level (the probability that the loss stays within VaR). On the other 99% of days, the loss stays within 30 million yen or there is a profit. You would expect the loss to exceed 30 million yen on about 1 in every 100 business days.

    VaR is not an upper limit on losses. VaR does not show the size of the losses larger than 30 million yen that occur with a 1% probability. The average of the large losses that occur with a 1% probability, that is, the average loss when the loss exceeds VaR, is shown by expected shortfall, which is a different measure from VaR. Reading VaR as a 1% probability of any loss confuses the days on which a loss occurs with the days on which the loss exceeds VaR. Even with a VaR of 30 million yen, losses smaller than 30 million yen also occur on the other 99% of days.

  2. Question 2

    As a fictional example, you hold 300 million yen of one asset (daily volatility 1.0%) and 500 million yen of a second asset (daily volatility 0.8%), and the correlation between the two assets is 0. Assume that profit and loss follows a normal distribution with a mean of 0, and that the factor for a 99% confidence level is 2.326. What is the VaR with a 1-day holding period and a 99% confidence level, using the variance-covariance method?

    Answer and explanation

    Answer: A

    The VaR is about 11.63 million yen. Working in millions of yen, the holdings are 300 and 500. The standard deviation of profit and loss on the first asset is 300 × 1.0% = 3 million yen. For the second asset, it is 500 × 0.8% = 4 million yen. The variance of the total profit and loss is 3 × 3 + 4 × 4 + 2 × 0 × 3 × 4 = 25. Its square root, 5 million yen, is the standard deviation of the total profit and loss. VaR is this multiplied by the factor: 2.326 × 5 million = 11.63 million yen.

    About 16.28 million yen is the sum of the VaRs for each asset. The first asset's VaR is 2.326 × 3 million, or about 6.98 million yen, and the second asset's is 2.326 × 4 million, or about 9.30 million yen, which add up to about 16.28 million yen. This is the same as the total VaR when the correlation is 1. When the correlation is less than 1, losses on the two assets do not necessarily occur on the same day, so the total VaR is smaller than the sum of the VaRs for each asset. The figure of 5 million yen is the standard deviation of profit and loss left as it is, without multiplying by the confidence-level factor.

    Because profit and loss is treated as normally distributed with a mean of 0, there is also the same 1% probability of a profit larger than 11.63 million yen.

Take the full chapter quiz (6 questions)

Summary

  • VaR at a 99% confidence level is the amount that losses exceed with a probability of 1%.
  • The variance-covariance method multiplies a standard deviation by a factor; historical simulation and the Monte Carlo method rank profit and loss.
  • VaR alone does not, in general, show how large a loss is once it exceeds VaR.

Read next

Share this page

In the learning roadmaps