Free · no sign-up

Value at Risk (VaR) Calculator for a Stock Position

A Value at Risk (VaR) calculator estimates a loss threshold for a stock position over a chosen number of days at a chosen confidence level. Enter the position value, daily or annualized volatility, a 95% or 99% confidence level, and the horizon to calculate parametric VaR in dollars.

Value at risk—
As % of the position—

Estimates for education. Real costs depend on the market at the time of the order.

What does the VaR result mean?

VaR answers a specific question: How large a loss would be exceeded at a stated frequency over a stated period, if the model’s assumptions hold? For example, a one-day 95% VaR of US$1,645 means the model estimates a 5% chance that the position loses more than US$1,645 in one day. It does not mean the maximum possible loss is US$1,645.

Always read the dollar figure together with its horizon and confidence level. “95% VaR” alone is incomplete: a one-day estimate and a ten-day estimate answer different questions.

How the calculator works

This calculator uses the parametric, or variance-covariance, method. It assumes returns are approximately normally distributed and estimates a one-sided loss threshold:

VaR (US$) = z × daily volatility × √(days) × position value (US$)

Input Meaning Unit
Position value Current market value of the stock position US$
Volatility Standard deviation of returns, entered as daily or annualized volatility %
Confidence level Sets the standard-normal multiplier, z 95% or 99%
Horizon Period over which the loss is measured Trading days

At 95% confidence, z ≈ 1.645. At 99% confidence, z ≈ 2.326. The higher confidence level produces a larger loss threshold for the same position, volatility and horizon.

The result can also be expressed as a share of the position: VaR (%) = z × daily volatility × √(days) × 100%, provided volatility is entered in decimal form in the formula. For example, 2% daily volatility is 0.02, not 2.

Converting annualized volatility to daily volatility

If your input is annualized volatility, convert it before applying the VaR formula:

Daily volatility = annualized volatility ÷ √252

The 252 represents a conventional approximation for the number of trading days in a year. Thus, 20% annualized volatility is approximately 20% ÷ √252 = 1.26% daily volatility. Do not enter an annualized percentage as a daily percentage: doing so would substantially overstate this formula’s result.

The horizon uses trading days, not calendar days. Under the calculator’s square-root-of-time assumption, a four-trading-day volatility estimate is twice the one-day estimate because √4 = 2. Real-world risk need not scale this way.

Worked example

Suppose, hypothetically, a stock position is worth US$50,000, its estimated daily volatility is 2%, and you choose a five-trading-day horizon at 95% confidence.

VaR = 1.645 × 0.02 × √5 × US$50,000 ≈ US$3,678

That is approximately 7.36% of the position’s value. Under the model, losses greater than about US$3,678 would occur on approximately 5% of comparable five-trading-day periods. It is an estimate, not an observed loss or a cap on losses.

If only the confidence level changes to 99%, the calculation becomes 2.326 × 0.02 × √5 × US$50,000 ≈ US$5,201. These two figures describe different thresholds for the same hypothetical position; neither predicts what will happen during a particular five-day period.

What this estimate leaves out

Parametric VaR is useful as a consistent way to compare modeled loss thresholds, but its assumptions matter:

  • Fat tails: Extreme stock returns can occur more often than a normal distribution suggests. A normal-model VaR may therefore understate tail risk.
  • Price gaps: Earnings announcements, other news or a market closure can lead to a jump between available prices. A stock need not move gradually through the VaR threshold.
  • Changing volatility: Historical volatility may not represent volatility over the chosen future horizon, especially when market conditions change.
  • Time scaling: The √(days) rule is a model assumption. Volatility clustering and changing conditions can make longer-horizon estimates inaccurate.
  • Trading costs: This formula measures a modeled change in position value. It does not add the bid-ask spread, market impact, commissions or any other cost of closing a position.
  • Direction and drift: The formula uses the position’s value and volatility; it does not model a directional return forecast or expected return.

VaR also cannot tell you the average loss after its threshold is breached. For that, a related measure is expected shortfall, sometimes called conditional VaR. At 95% confidence, expected shortfall estimates the average loss in the worst 5% of modeled outcomes. It, too, depends on the model and the quality of its inputs.

Using VaR in pre-trade analysis

A standalone VaR figure describes one modeled risk dimension, not whether an order should be placed or how readily it might execute. Before placing an order, other questions include how large the order is relative to daily trading volume, what spread and market impact it might face, and how the position affects portfolio concentration.

PreTrAIde offers a free value-at-risk calculator without sign-up. Its separate pre-trade analysis also estimates one-day 95% VaR alongside liquidity, volatility, execution and basket-level measures. Its GO, NO-GO and MODIFY verdicts are decision support, not investment recommendations; PreTrAIde does not place trades.

Frequently asked questions

How do I calculate VaR for a stock position?

For this parametric method, multiply the position value by daily volatility, the square root of the horizon in trading days, and the confidence multiplier. Use 1.645 for 95% confidence or 2.326 for 99%.

What does 95% VaR mean?

A one-day 95% VaR of US$1,000 means the model estimates a 5% chance of losing more than US$1,000 over one day, assuming its inputs and distributional assumptions hold. US$1,000 is not a maximum loss.

How do I convert annualized volatility to daily volatility for VaR?

Divide annualized volatility by √252, using 252 as an approximate number of trading days per year. For example, 20% annualized volatility is approximately 1.26% daily volatility.

Is VaR the most I can lose?

No. VaR is a loss threshold at a specified confidence level and horizon; losses beyond it can be larger, particularly during sharp moves or price gaps.

What is the difference between VaR and expected shortfall?

VaR estimates a loss threshold exceeded in a specified fraction of modeled outcomes. Expected shortfall estimates the average loss among outcomes beyond that threshold.

Other free tools

Position Size Calculator for Stocks A position size calculator estimates how many shares fit a chosen loss limit: divide the dollar amount you are prepared to risk by the difference between your entry price and stop-loss price. Enter your account size, risk per trade, entry price and stop-loss price to see the share count, position value, estimated money at risk and position as a percentage of your account. Trading Cost Calculator: Spread, Market Impact and Commission A trading cost calculator estimates what a stock order may cost beyond its quoted share price: the bid-ask spread, market impact and broker commission. Enter the order value, share price, average daily volume, daily volatility and commission to see estimated costs in US$ and basis points, plus the order’s size relative to daily volume. Portfolio Concentration Calculator: HHI and Largest Weight This portfolio concentration calculator shows how much of your portfolio sits in each stock and sector. Enter each position’s value and sector to see its weight, a 0–10,000 Herfindahl-Hirschman Index (HHI), the effective number of stocks, your largest position and sector, and a concentration reading. Pre-Trade Checklist: 12 Checks Before You Buy a Stock Before you buy a stock, write down why, decide how you will place the order, check its likely costs and risks, and consider how it changes your portfolio. This 12-point pre-trade checklist helps you do that systematically; it cannot tell you whether a stock will be profitable.

Check your next trade before you place it

Build a basket, run a pre-trade analysis, and get a GO, NO-GO or MODIFY verdict with the cost, liquidity and risk behind it.

Start your free trial

Educational content, not investment advice. PreTrAIde is analysis software, not a broker: it never executes orders, and its verdicts are decision support, not recommendations to buy or sell.