Standard Deviation
Standard deviation is a statistic that measures how spread out a set of numbers is around their average. In trading it is the standard yardstick for how much returns vary: a small standard deviation means results cluster near the average, a large one means they swing widely. It is the building block of volatility, the Sharpe ratio, Bollinger Bands and many risk models.

Hypothetical five daily returns: +2%, −1%, +3%, 0%, −4%.
- Mean = (2 − 1 + 3 + 0 − 4) ÷ 5 = 0%.
- Deviations from the mean: 2, −1, 3, 0, −4. Squared: 4, 1, 9, 0, 16 → sum 30.
- Sample variance = 30 ÷ (5 − 1) = 7.5. Sample standard deviation = √7.5 ≈ 2.74%.
- Population variance = 30 ÷ 5 = 6. Population standard deviation = √6 ≈ 2.45%.
If these returns came from a normal distribution with a 2.74% standard deviation, about two days in three would fall between −2.74% and +2.74%.
Formula
Sample standard deviation s = √( Σ(xᵢ − x̄)² ÷ (n − 1) )
- xᵢ = each value, x̄ = the mean, n = number of values.
- Dividing by n − 1 rather than n corrects for the fact that the mean itself was estimated from the same data. With large samples the difference is small.
Variance is the standard deviation squared. Standard deviation is used more often because it is in the same units as the data (percent, dollars or R).
Scaling over time
If returns are independent from period to period, standard deviation grows with the square root of time. Daily standard deviation × √252 gives an annual figure; × √5 gives a rough weekly figure. That is the basis of annualised volatility.
How traders use it
- Volatility: annualised standard deviation of returns is the most common volatility measure.
- Risk-adjusted returns: it is the denominator of the Sharpe ratio.
- Bands and stops: Bollinger Bands place lines a set number of standard deviations from a moving average; some traders set stops a multiple of standard deviation away from entry.
- Reliability of results: the standard error of your expectancy is the standard deviation of trade results ÷ √n. It tells you how much a sample average can be trusted.
Common mistakes
- Mixing sample and population formulas without knowing which a tool uses.
- Computing it on prices instead of returns. Prices trend, so their spread is not a measure of risk.
- Assuming normality when reading probabilities.
- Using too short a window, which makes the estimate jumpy.
Related terms
- Volatility — annualised standard deviation of returns.
- Sharpe Ratio and Sortino Ratio — return divided by a standard-deviation-based risk measure.
- Beta — built on covariance, a close relative of variance.
- Expectancy — its reliability depends on the standard deviation of trade results.
- Average True Range (ATR) — an alternative range-based volatility gauge.
1. Values 1, 3 and 5 have a mean of 3. What is the sample standard deviation?
2. For a normal distribution, roughly what share of values lie within two standard deviations of the mean?
3. Daily standard deviation is 1%. Roughly what is the annualised figure, assuming independent returns?