What is the Volatility (ATR) Position Size Calculator?
Volatility-based sizing answers a single question: how many shares expose me to the same dollar risk on any instrument, regardless of how choppy it is? Rather than pick a stop price by hand, you feed the calculator the instrument's Average True Range (ATR) and a multiple, and it derives the stop distance from the market's own behaviour. A jumpy stock gets a wider stop and therefore fewer shares; a quiet one gets more — so every position risks the same slice of your account.
How it works
R = accountSize × risk% / 100 · riskPerShare = ATR × multiple · shares = floor(R / riskPerShare) · capital = shares × entry · maxLoss = shares × riskPerShare
The dollar risk budget is your account times your risk percentage. The stop distance is the ATR scaled by your chosen multiple — the only structural difference from a fixed-stop calculator, where the distance is |entry − stop|. Dividing the budget by the stop distance and flooring gives the share count; the entry price affects only the capital required, never the sizing.
The key insight
Worked example
A $50,000 account risking 1% on a stock with a $2.50 ATR and a 2× multiple — every figure is produced by the same engine that powers the calculator above:
| Step | Value |
|---|---|
| Account size | $50,000 |
| Risk per trade | 1% |
| ATR × multiple | $2.5 × 2 |
| Dollar risk | $500 |
| Stop distance (risk per share) | $5 |
| Shares to buy (floored) | 100 |
| Max loss if stopped | $500 |
| Capital required | $15,000 |
How the ATR multiple changes your position
Holding the account, risk and ATR fixed, a wider multiple gives the stop more room but buys fewer shares for the same risk budget. The max loss stays pinned to the budget:
| ATR multiple | Stop distance | Shares | Max loss |
|---|---|---|---|
| 1× (Van Tharp) | $2.5 | 200 | $500 |
| 1.5× | $3.75 | 133 | $498.75 |
| 2× | $5 | 100 | $500 |
| 3× | $7.5 | 66 | $495 |
| 4× | $10 | 50 | $500 |
Interpreting your results
The shares to buy figure is the largest position where a volatility stop-out costs no more than your risk percentage. Risk per share is the stop distance the market implies at your multiple. If capital required exceeds your account, ATR is small relative to price — widen the multiple or use margin. To size from a manually chosen stop price instead, the Position Size Calculator runs the same math on |entry − stop|; to size from a statistical edge, the Kelly Criterion Calculator derives the growth-optimal fraction, and the Trading Expectancy Calculator confirms the system is worth risking capital on at all.
Professional tips
- Enter ATR in price units, not as a percentage of price — the two are silently off by orders of magnitude.
- Match the ATR timeframe to your intended hold: a daily ATR for swing trades, an intraday ATR for day trades.
- Widen the multiple (e.g. 3×) on gap-prone names to keep normal noise from tripping the stop.
- Re-read the ATR before each trade — volatility drifts, and a stale ATR mis-sizes the position.
Common mistakes
- Feeding in a percentage-ATR from one data source and a price-based entry from another.
- Rounding shares up instead of flooring, quietly breaching the risk budget.
- Treating the modeled max loss as a guarantee — an overnight gap can jump the ATR stop.
- Using a 1× multiple by accident when you meant a swing-trading 2–3× stop.
Assumptions and limitations
- The stop is assumed to fill at ATR × multiple; commissions, spread, slippage and overnight gaps add to the real loss.
- ATR is treated as stable for the life of the trade; it actually drifts as volatility changes.
- Capital required is the full notional with no leverage; margin lowers the cash posted, not the risk.
- The model ignores correlation across simultaneously open positions.
Frequently asked questions
What is an ATR position size calculator?+
An ATR (Average True Range) position size calculator tells you exactly how many shares to buy so that if the market moves against you by its typical daily range — measured by ATR — your account loses no more than your chosen risk percentage. Instead of requiring a fixed stop-loss price, it derives the stop distance from the instrument’s own volatility, automatically sizing you smaller in wild markets and larger in calm ones.
What is Average True Range (ATR) and how is it calculated?+
ATR, introduced by J. Welles Wilder Jr. in his 1978 book New Concepts in Technical Trading Systems, measures how much an instrument typically moves in one period. The True Range for each bar is the largest of: (high − low), |high − previous close|, and |low − previous close|. ATR is a 14-period smoothed moving average of those True Range values. Your charting platform calculates it automatically; you just read the number and enter it here in price units (e.g. $2.50, not 1.67%).
How do you calculate position size using ATR?+
Three steps: (1) Multiply your account size by your risk percentage to get the dollar amount at risk — e.g. $50,000 × 1% = $500. (2) Multiply your ATR by your chosen multiple to get the stop distance per share — e.g. ATR $2.50 × 2 = $5.00. (3) Divide the dollar risk by the stop distance and floor the result — e.g. floor($500 / $5.00) = 100 shares. Capital required is 100 × entry price; max loss is 100 × $5.00 = $500.
What ATR multiple should I use?+
The multiple translates ATR into the stop distance: a wider multiple gives more room before the stop fires, but it also means fewer shares for the same risk budget. Common conventions by trading style: 1× for the pure Van Tharp percent-volatility model; 1.5–2× for day trading (tighter stops, faster exits); 2–3× for swing trading; 3–4× for position trading with wide stops. Start at 2× and adjust based on how often your stops are being hit by normal noise vs real adverse moves.
What is Van Tharp's percent-volatility position sizing model?+
Van Tharp’s percent-volatility model, described in The Definitive Guide to Position Sizing Strategies, is the original ATR-based sizing formula. It sets the volatility exposure — the fraction of capital allocated to each position’s daily price risk — to a fixed percentage. The formula is: Shares = (Account × Risk%) / ATR, which is identical to this calculator with atrMultiple set to 1. Setting the multiple to 1 in the calculator reproduces Van Tharp’s original results exactly.
How is ATR position sizing different from fixed stop-loss position sizing?+
With a fixed stop-loss calculator you supply a specific stop price and the formula computes risk per share as |entry − stop|. With ATR position sizing you supply the instrument’s ATR and a multiple; the stop distance is derived from volatility rather than a manually chosen price level. The underlying shares formula is identical — shares = floor(riskAmount / riskPerShare) — but the source of riskPerShare differs: market-derived volatility (ATR × multiple) versus a manually chosen stop price. ATR sizing is preferred when you want your stop to adapt to how noisy the instrument is.
Why must shares be floored (rounded down) instead of rounded to the nearest whole number?+
Rounding to the nearest whole number can push the share count above the exact quotient, which makes your actual loss exceed your risk budget. Flooring always keeps maxLoss = shares × riskPerShare at or below your dollar risk limit. For example, floor(500 / 3.0) = 166 shares; 166 × $3.00 = $498 within the $500 budget. Rounding up to 167 shares gives $501 — a small but real breach of the rule.
What does 'capital required' mean and why can it exceed my account size?+
'Capital required' is the total cash needed to open the trade: shares × entry price. It can exceed your account size when ATR is very small relative to price, because a tight stop allows a large share count before the risk budget is exhausted. For example, a $5 ATR on a $500 stock with a 2× multiple gives a $10 stop; a $1,000 risk budget buys 100 shares — a $50,000 notional on a $50,000 account. In a cash account you are limited to what you hold; with margin the broker extends your buying power. The risk math (shares and max loss) remains correct regardless.
What happens when ATR is zero or the ATR multiple is zero?+
If either ATR or the ATR multiple is zero, the risk per share is zero, which would cause a division by zero. The calculator intercepts this case and returns zero shares with an isZeroRisk flag rather than Infinity or an error. Make sure you are entering the ATR in price units (e.g. $2.50) and the multiple is at least 0.1.
Can I use this calculator for forex, futures or crypto?+
Yes. Enter ATR in the same units as your entry price (pips for forex, points for index futures, dollars for crypto). For futures contracts that have a point value other than 1, multiply ATR × point-value before entering it, or multiply your result by the contract size. The core formula — shares = floor(riskAmount / riskPerShare) — works for any instrument where you can express both ATR and entry in the same price unit.
Does ATR position sizing account for overnight gaps?+
No. ATR measures recent realized volatility within normal market hours. An overnight earnings gap or macro news event can move price far beyond ATR × multiple in a single overnight session, so your realized loss can exceed the modeled maximum. This is called gap risk. To mitigate it, some traders use a slightly wider multiple (e.g. 3× instead of 2×) or use options to cap the downside. The modeled max loss should be treated as a floor under normal conditions, not an absolute guarantee.
How is this different from the Kelly Criterion or fixed-fractional position sizing?+
Kelly Criterion sizes positions by maximizing the geometric growth rate of your account using your edge (win rate × payoff ratio). Fixed-fractional sizing risks a constant fraction of current equity regardless of volatility. ATR / percent-volatility sizing keeps your per-trade dollar risk constant while automatically adjusting share count for each instrument's volatility — volatile instruments get smaller positions, calm instruments get larger ones. The three approaches address different questions: Kelly asks 'how much risk maximizes growth?', fixed-fractional asks 'what constant fraction protects the account?', and ATR sizing asks 'how many shares expose me to the same daily volatility risk?'
Disclaimer
Sources
- Wikipedia — Average True Range: Wilder's TR = max[(H−L), |H−C₋₁|, |L−C₋₁|]; ATR = 14-period smoothed average; ATR or ATR × multiple = stop-loss distance for position sizing
- CME Group Education — Position Size = Account Risk ÷ Trade Risk per unit; Account Risk = Account Size × Risk %; Trade Risk = stop distance per unit (ATR × multiple in the volatility model)
- Finaur — ATR Position Size = (Equity × Risk%) / (ATR × Multiplier); worked example: $100k account, 1% risk, ATR 2.0, multiplier 2.5 → 200 shares
- Van Tharp — The Definitive Guide to Position Sizing Strategies: percent-volatility model, Shares = (Capital × Volatility%) / ATR (atrMultiple = 1)
Formula and data last reviewed by the TheCalculatorVault team on 4 July 2026. Figures are for general information, not professional advice.
Related calculators
Work out exactly how many shares to buy or short on a trade so a stopped-out loss stays within 1–2% of your account. Enter account size, risk %, entry and stop-loss to get the share count, max loss, capital required and dollar risk — for a long or short, in any currency.
Kelly CriterionCalculate your optimal Kelly bet size — the mathematically proven fraction of your bankroll to risk per trade, based on win rate, average win/loss, and account size.
Risk of RuinCalculate your risk of ruin — the chance of hitting a drawdown threshold — from win rate, average win/loss and risk per trade, using the classic formula.