Standard Deviation
A statistical measure of how spread out data points are from the mean — in trading, it quantifies price volatility.
See Standard Deviation in real trade signals
Tradewink uses standard deviation as part of its AI signal pipeline. Get signals with full analysis — free to start.
Explained Simply
Standard deviation measures dispersion. A stock with a 2% daily standard deviation means its daily returns typically fall within +/-2% about 68% of the time, and within +/-4% about 95% of the time. Higher standard deviation = more volatile = larger expected price swings. It's the building block for Bollinger Bands, options pricing (Black-Scholes), and risk metrics like Sharpe ratio. Annualized volatility is daily standard deviation multiplied by the square root of 252 (trading days).
How Standard Deviation Is Calculated in Trading
Standard deviation follows a specific mathematical process applied to price returns:
Step 1 — Calculate returns. For daily standard deviation, compute the percentage change for each trading day: Return = (Today's Close - Yesterday's Close) / Yesterday's Close.
Step 2 — Find the mean return. Average all the daily returns over your chosen period (typically 20 days for short-term, 252 days for annual analysis).
Step 3 — Calculate deviations. For each day, subtract the mean return from the actual return.
Step 4 — Square the deviations. This eliminates negative values so they don't cancel out positive ones.
Step 5 — Average the squared deviations. This gives the variance.
Step 6 — Take the square root. The square root of variance is the standard deviation.
Annualization: Daily standard deviation x sqrt(252) = annualized volatility. If a stock's daily standard deviation is 1.5%, its annualized volatility is approximately 1.5% x 15.87 = 23.8%. This annualized figure is what options markets and financial media typically quote.
Normal distribution assumption: Standard deviation assumes returns follow a bell curve, where 68% of observations fall within 1 standard deviation of the mean, 95% within 2, and 99.7% within 3. In reality, stock returns have fat tails — extreme moves occur more often than the normal distribution predicts. This is why 3-sigma events (theoretically once every 741 days) happen far more frequently in markets.
Using Standard Deviation for Trading Decisions
Bollinger Bands: The most popular application of standard deviation in trading. Bollinger Bands plot 2 standard deviations above and below a 20-period moving average. When price touches or exceeds the upper band, the stock is trading 2 standard deviations above its recent average — statistically extreme. The bands automatically widen during volatile periods and narrow during calm periods (the squeeze).
Volatility-based position sizing: Standard deviation directly determines how large your positions should be. If stock A has a daily standard deviation of 1% and stock B has 3%, you need 3x more shares of stock A to get the same dollar risk per day. This normalizes risk across the portfolio — no single position dominates your P&L.
Stop-loss placement: Set stops at 2-3 standard deviations from your entry. A stop closer than 1 standard deviation will get triggered by normal price noise. A stop at 2 standard deviations gives the trade room to breathe while limiting losses to a statistically unlikely move.
Mean reversion signals: When price moves more than 2 standard deviations from its moving average, it is statistically extended and often reverts. This is the basis for mean-reversion strategies and overbought/oversold signals.
Volatility regime detection: When the 20-day standard deviation of returns significantly exceeds its 6-month average, the market has entered a high-volatility regime. This signals traders to reduce position sizes, tighten stops, and favor mean-reversion over trend-following strategies.
Standard Deviation vs Other Volatility Measures
Standard deviation vs ATR (Average True Range): ATR measures the average daily price range (high minus low) in dollar terms. Standard deviation measures the dispersion of returns in percentage terms. ATR is more intuitive for setting dollar-based stops; standard deviation is more useful for comparing volatility across different-priced stocks and for statistical analysis.
Standard deviation vs beta: Beta measures volatility relative to the market. Standard deviation measures absolute volatility. A high-beta stock moves more than the market, but its standard deviation might be lower than a low-beta stock in a volatile sector. Both metrics are useful but measure different things.
Standard deviation vs implied volatility (IV): Standard deviation of historical returns is backward-looking (historical volatility). IV is forward-looking — it reflects what the options market expects future volatility to be. When IV exceeds historical standard deviation, options are relatively expensive; when IV is below, options are cheap. This relationship (IV vs realized vol) is the basis of volatility trading.
Limitations: Standard deviation treats upside and downside volatility equally, but traders care more about downside risk. A stock that occasionally spikes 10% upward and rarely drops more than 2% has high standard deviation but low downside risk. The Sortino ratio and downside deviation address this by only measuring negative volatility.
How to Use Standard Deviation
- 1
Calculate the Mean (Average) Price
Take the closing prices over your chosen period (e.g., 20 days) and calculate the arithmetic mean. Add all 20 closing prices and divide by 20. This is the center point from which deviation is measured.
- 2
Calculate Each Day's Deviation
Subtract the mean from each day's closing price to get the deviation. Some deviations will be positive (above average) and some negative (below average). These measure how far each day's price strayed from the average.
- 3
Square the Deviations and Average Them
Square each deviation (to eliminate negatives), sum the squares, and divide by the number of periods. This gives you the variance. Take the square root of the variance to get the standard deviation.
- 4
Interpret 1, 2, and 3 Standard Deviations
In a normal distribution, 68% of price moves fall within 1 SD, 95% within 2 SD, and 99.7% within 3 SD. A move of 2+ standard deviations is statistically unusual and often signals a potential reversal or continuation depending on context.
- 5
Apply to Trading Decisions
Use standard deviation to set Bollinger Bands (2 SD from mean), calculate expected moves for options pricing, and identify statistically extreme price levels. Moves beyond 2 SD are candidates for mean reversion trades in ranging markets.
Frequently Asked Questions
What does standard deviation mean in stocks?
Standard deviation measures how much a stock's price typically fluctuates from its average. A stock with a 2% daily standard deviation means its daily price changes usually fall within plus or minus 2% about 68% of the time. Higher standard deviation means more volatile (larger expected price swings). It is the foundation for Bollinger Bands, options pricing models, and risk metrics like the Sharpe ratio.
Is high standard deviation good or bad for trading?
It depends on your strategy. Day traders and swing traders need volatility to profit — higher standard deviation means larger moves and more trading opportunities. Long-term investors generally prefer lower standard deviation for smoother returns. The key is matching standard deviation to your strategy and adjusting position sizes accordingly: higher standard deviation stocks should receive smaller positions to normalize risk.
How is standard deviation used in risk management?
Standard deviation is used for position sizing (allocating equal dollar risk per position regardless of volatility), stop-loss placement (setting stops 2-3 standard deviations from entry to avoid being stopped out by normal noise), portfolio risk assessment (calculating portfolio-level volatility), and the Sharpe ratio (measuring return per unit of risk). It is the single most fundamental measure in quantitative risk management.
How Tradewink Uses Standard Deviation
Standard deviation powers Bollinger Band calculations, the VolatilityStrategyEngine's regime detection, and options pricing models. The AI uses rolling standard deviation to detect volatility regime shifts — a sudden increase in daily standard deviation often precedes significant moves. It also informs position sizing: higher standard deviation means smaller positions to maintain consistent dollar risk.
Trading Insights Newsletter
Weekly deep-dives on strategy, signals, and market structure — written for active traders. No spam, unsubscribe anytime.
Related Terms
Previous
Trend Following
Next
Implied Volatility (IV)
See Standard Deviation in real trade signals
Tradewink uses standard deviation as part of its AI signal pipeline. Get daily trade ideas with full analysis — free to start.