Trading Risk · Guide
How to Use ATR for Stop Loss and Position Sizing in Stocks
Learn how to calculate ATR stop losses, choose an ATR multiplier and size stock positions using a fixed risk budget, with a real AAPL chart and worked examples.
Open the related calculator →Two stocks can trade at the same price and still require very different stop losses. A $100 stock with a typical daily range of $1 behaves differently from a $100 stock with a typical range of $5. A fixed 2% stop treats them as if they carry the same price volatility.
Average True Range (ATR) offers an alternative. It measures recent price movement, including gaps, so traders can adapt their stop distance and share count to the stock's volatility rather than applying the same percentage to every trade.
The important distinction: ATR tells you how much a stock has been moving, not which direction it will move next. Use it to plan risk, not to generate an entry signal.
ATR stop loss: the quick answer
For an entry-based ATR stop, multiply the ATR by a chosen factor, subtract the result from the entry price for a long trade (add it for a short trade), then divide your dollar risk budget by that stop distance to determine the share count.
| Calculation | Formula |
|---|---|
| Stop distance | ATR × multiplier |
| Long stop price | Entry − stop distance |
| Short stop price | Entry + stop distance |
| Risk budget | Account equity × risk fraction |
| Whole-share position size | Round down (risk budget ÷ risk per share) |
For example, a $100 entry, $2 ATR and 1.5 ATR multiplier imply a $97 long stop. With a $300 risk budget, the position is 100 shares before fees, slippage and capital constraints.
Use the Stock Stop-Loss Calculator to convert an ATR multiplier into a stop price, then use the Stock Position Size Calculator to determine the number of shares.
ATR Stop Loss & Position Size Calculator
Convert volatility and risk budget into a long trade plan.
Cash-only position. Actual stop execution can be worse due to gaps and slippage.
What is ATR in stock trading?
Introduced by J. Welles Wilder in 1978, ATR is a volatility indicator that smooths a sequence of true ranges. A common setting is 14 periods, using daily candles for swing trading or shorter candles for intraday analysis.
A daily ATR of $3 means the recent smoothed true range is $3 per share. It does not mean tomorrow's range will be $3, that the price will move by exactly $3, or that an ATR stop has a known probability of being hit.
How to calculate ATR
True range (TR) is the maximum of three distances:
- Current high minus current low.
- Absolute difference between current high and previous close.
- Absolute difference between current low and previous close.
TR = max(H − L, |H − previous close|, |L − previous close|)
The first 14-period ATR is the arithmetic mean of 14 true ranges. Subsequent values use Wilder smoothing:
ATR(today) = [13 × ATR(previous) + TR(today)] / 14
Charting platforms may use different smoothing or initialization settings. Match the timeframe, price adjustments, session settings and smoothing method before comparing values.
Why the previous close matters: a real Apple example
On November 4, 2026, Apple (AAPL) recorded the following daily prices (USD):
| Previous close (Nov 3) | Open | High | Low | Close |
|---|---|---|---|---|
| 331.90 | 341.57 | 354.50 | 340.99 | 349.51 |
The intraday high-low range was $13.51. But the distance from the previous close to the high was $22.60, and the distance to the low was $9.09. True range therefore equals $22.60, not $13.51. Ignoring the overnight gap would materially understate the session's price movement.
Source: AAPL historical prices, Stock Analysis, S&P Global Market Intelligence data; BasisPilot calculations.
How to choose an ATR stop-loss multiplier
There is no universally optimal multiplier. A smaller value leaves less room for volatility; a larger one requires accepting a greater price distance before the trade is closed. If dollar risk is fixed, a wider stop should normally mean fewer shares.
| ATR multiplier | Characteristics | What to test |
|---|---|---|
| 1× | Narrower stop | Sensitivity to ordinary price noise and execution costs |
| 1.5× | Intermediate distance | Balance between stop frequency and planned reward-to-risk |
| 2× | Wider stop | Lower share count and whether the technical invalidation level is respected |
| 3× | Much wider stop | Capital efficiency, target distance and exposure to larger adverse moves |
These are candidate parameters, not recommendations or proven rankings. Test them for your specific setup, timeframe and universe. A wider stop is not necessarily better: it can reduce the planned reward-to-risk ratio for an unchanged target.
How to use ATR and market structure together
An ATR multiplier is a volatility rule, not a technical support level. For a pullback trade, first identify the swing low or other level that would invalidate the setup. Then assess whether that level is consistent with recent volatility.
Suppose a stock trades at $100, its ATR is $2 and its swing low is $96.50. A mechanical 1.5 ATR stop sits at $97, above the swing low. If your thesis depends on the swing low holding, you might instead test a stop at $96, incorporating a $0.50 buffer below that level.
At a $300 risk budget, the mechanical stop permits 100 shares, while the structure-based stop permits 75. If the resulting position or reward-to-risk ratio is unattractive, skipping the trade is a valid outcome. Do not widen the stop after entry simply to avoid taking a planned loss.
How to calculate position size with ATR
Imagine two hypothetical stocks, both priced at $100. You have a $50,000 account, a 1% planned risk limit ($500) and a 2 ATR stop.
| Stock A | Stock B | |
|---|---|---|
| ATR | $1 | $5 |
| Stop distance | $2 | $10 |
| Long stop | $98 | $90 |
| Whole shares | 250 | 50 |
| Capital deployed | $25,000 | $5,000 |
| Planned loss | $500 | $500 |
Both trades have the same planned dollar loss if executed at their stop prices, although the capital invested differs fivefold. This is the central practical benefit of volatility-adjusted position sizing.
With transaction costs and capital constraints, use a more conservative rule:
Shares = floor(min[(risk budget − fixed fees) / (stop distance + estimated slippage per share + per-share fees), capital limit / entry price])
This simplified formula assumes positive inputs, a long cash position and fees/slippage estimates for the full trade. For short positions, account for margin, borrow availability and borrowing costs. The illustrative 1% risk budget is not a universal recommendation.
Real chart: three ATR stops on AAPL
Consider a hypothetical long entry at Apple's November 20, 2026 regular-session open of $352.87. Based on data available through November 19, a 14-period Wilder ATR calculated from the supplied historical sample was approximately $7.72.
With a $500 risk budget, compare three entry-based stops using the rounded ATR value:
| 1 ATR | 1.5 ATR | 2 ATR | |
|---|---|---|---|
| Stop distance | $7.72 | $11.58 | $15.44 |
| Stop price | $345.15 | $341.29 | $337.43 |
| Whole shares | 64 | 43 | 32 |
| Planned loss before costs | $494.08 | $497.94 | $494.08 |
| Stop touched Nov 20? | Yes | Yes | No |

Figure: BasisPilot calculations from Stock Analysis daily OHLC data. Stops begin at the hypothetical November 20 open. The chart uses actual historical candles, not simulated price movement.
Apple's November 20 low was $340.56, below both narrower stops but above the 2 ATR stop. On November 25, the stock closed at $355.58, above the hypothetical entry. The wider stop was not touched during the displayed post-entry window.
This illustrates a possible trade-off, not proof that 2 ATR performs better. The example is retrospective, with no validated entry signal, target, fill assumptions or strategy backtest. The two stopped positions may have had different execution prices from their triggers. The surviving position is not a realized winner because no exit was specified.
Reproducibility: Use regular-session, split-adjusted OHLC prices (not dividend-adjusted closing prices), starting with September 21, 2026 as the previous-close observation. Seed ATR from the first 14 subsequent true ranges and apply Wilder smoothing through November 19. The result is $7.716666 before rounding. The finite warm-up can cause small differences from chart platforms using longer histories. Supporting data: aapl-ohlc.csv.
How to use ATR in a stock scanner
Raw ATR is measured in dollars. For comparing stocks with different prices, normalize it:
ATR% = ATR / closing price × 100
A $20 stock with a $1 ATR has an ATR% of 5%, while a $200 stock with a $4 ATR has an ATR% of 2%. The cheaper stock has greater recent relative volatility despite its lower dollar ATR.
Another useful measure is a session's high-low range divided by a reference ATR. A ratio of 2 indicates that the observed range is twice that reference value; it does not mean price rose by twice the ATR. For an independent comparison with prior volatility, calculate the reference ATR using completed bars before the session. True range divided by ATR is a related but different measure because it includes gaps.
Explore the Market Opportunity Scanner to review its published Range / ATR, volume, price and opening-gap signals together. Treat these signals as research candidates, not automatic buy or sell instructions.
Common mistakes when using ATR
- Treating higher ATR as bullish. Volatility can expand during rallies or selloffs.
- Using the wrong timeframe. A 14-bar ATR on a five-minute chart is not a 14-day ATR. Match it to your strategy horizon.
- Keeping the same share count after widening a stop. This increases planned dollar exposure.
- Using the completed session's ATR to simulate a trade at that session's open. This introduces look-ahead bias. Use information available at the decision time.
- Ignoring earnings and overnight gaps. ATR is backward-looking. A stop order can execute materially beyond its trigger; a stop-limit order may not execute at all.
- Optimizing one example. Compare candidate multipliers over many trades, including failed setups, after costs, with out-of-sample validation.
A practical pre-trade checklist
Identify your entry setup and invalidation level; read the ATR from an appropriate completed bar; choose a tested stop rule; define the account-level dollar risk; calculate whole shares after capital and cost limits; check scheduled events and aggregate portfolio exposure; then record the plan before entry. If the trade no longer meets your requirements, pass on it.
Continue with Position Size vs. Stop-Loss to understand why the stop and risk budget should generally precede the share count.
Frequently asked questions
Is 14 the best ATR period?
Fourteen is a conventional starting setting, not an optimum. Shorter periods react faster but fluctuate more; longer periods respond more slowly. Validate the choice for your trading horizon.
Is 1.5 ATR or 2 ATR better for a stop loss?
Neither is universally better. A 2 ATR stop is wider and, for the same risk budget, permits fewer shares. Compare expectancy after fees, drawdown, stop-hit rates and adverse excursion across representative trades.
Can ATR be used for day trading?
Yes. Use an intraday timeframe consistent with your setup and define whether extended-hours bars are included. Account for opening volatility, spreads and slippage.
Should I move my ATR stop every day?
Only if your pre-defined strategy calls for a trailing stop. A long trailing stop is commonly designed not to move downward just because ATR rises; otherwise the rule can increase the originally accepted risk.
Does an ATR stop guarantee a maximum loss?
No. The calculated loss assumes execution at the planned stop price. Gaps, fast markets, liquidity shortages and transaction costs can increase actual losses.
Bottom line
ATR turns recent volatility into a measurable input for trade planning. Its greatest value comes from combining a defensible stop with a share count that respects your risk budget. A volatile stock does not automatically deserve a larger risk allocation; it may simply require a smaller position.
Plan the stop. Size the position. Then decide whether the trade is worth taking.
Sources and methodology
- Fidelity: Average True Range.
- TradingView: Average True Range, calculation and smoothing.
- Stock Analysis: AAPL historical OHLC, supplied by S&P Global Market Intelligence. Accessed November 28, 2026; the chart and calculations are based on the dated extract accompanying this article.
- SEC Investor.gov: Stop orders and execution risk.
This article is for educational and informational purposes only. It is not personalized investment advice. Historical examples do not establish future performance.
Keep calculating
Related tools
Keep learning
More guides
BasisPilot provides educational calculations and does not provide personalized investment, trading, tax or legal advice.