Standard deviation in finance
In finance the standard deviation is the measure of volatility: how far an asset's returns scatter around their average. That single number drives most of what risk models do, from the Sharpe ratio to value at risk. This page keeps it concrete: the exact calculation on real returns, how to annualise it, and benchmarks for what a high or low figure actually means.
What standard deviation means for an asset
You do not calculate the standard deviation of prices; you calculate it of the returns. Each return is how far the asset moved in one period, and the standard deviation is how far those moves scatter from their own average. Two assets with the same average return can be completely different: one that drifts steadily (low SD, the safe choice) and one that whipsaws (high SD, the volatile choice).
That is the whole idea. Low SD means the outcomes cluster tightly around the mean, so a result near the average is likely and the position feels calm. High SD means the outcomes spread wide, so any single period can sit far from the mean, which is exactly what "risky" means in the sense investors use the word. The standard deviation calculator computes the same number whether the input is test scores or returns, so the method transfers directly.
The formula, on returns
For a sample of n observed returns with mean x̄, the sample standard deviation is:
s = √( Σ(x − x̄)² / (n − 1) )
The same arithmetic as anywhere else, applied to returns. If you have the whole population of returns rather than a sample, divide by n instead of n − 1. The formula page takes that expression apart term by term. The one finance-specific step is what happens next: annualisation.
From a short window to a year
A standard deviation over a few weeks says little about a year. To annualise, scale by the square root of the periods per year, because variances add over time while standard deviations do not:
annualised σ = σ × √(periods per year)
Daily returns use √252 (trading days), weekly √52, monthly √12. A stock whose daily standard deviation is 1.0% has an annualised figure of 1.0% × √252 ≈ 15.9%. The volatility calculator does this from a list of closing prices so you do not have to annualise by hand.
Worked example
Six monthly returns on a fund: 4%, −1%, 6%, 2%, 3%, 5%. Worked through the
sample formula:
| Return | x − x̄ | (x − x̄)² |
|---|---|---|
| 4 | 0.83 | 0.69 |
| −1 | −4.17 | 17.36 |
| 6 | 2.83 | 8.02 |
| 2 | −1.17 | 1.36 |
| 3 | −0.17 | 0.03 |
| 5 | 1.83 | 3.36 |
| Σ | 0 | 30.82 |
The mean is (4 − 1 + 6 + 2 + 3 + 5) ÷ 6 = 19 ÷ 6 ≈ 3.17%. The sum of squared deviations is 30.82, so the sample variance is 30.82 ÷ (6 − 1) = 6.16 and the sample standard deviation is √6.16 ≈ 2.48% per month. Annualised, that is 2.48% × √12 ≈ 8.58%, a modestly volatile asset.
Reading the number: high or low?
There is no universal threshold, but the asset class sets the yardstick:
- Bonds: 5–10% annual. Low SD, the steadier end of risk.
- Large-cap equity: roughly 15–20% annual; the S&P 500's long-run figure is about 15%.
- Individual tech stocks: often 30–40%+ annual. High SD, wide swings.
A useful one-line rule: an asset with a standard deviation near 15% behaves much like the broad market, while one at 40% swings hard enough that a single bad year can matter. Compare spread across assets with different means using the coefficient of variation, and read a value off the z table when you want its position in units of σ.
Standard deviation and the risk it measures
In portfolio theory the standard deviation of returns is the default risk measure, and it feeds the two quantities investors quote most. The Sharpe ratio is the excess return over the risk-free rate divided by the standard deviation: a high Sharpe means you are being paid well for each unit of volatility. Value at risk (VaR) is built the same way, taking a standard-deviation multiple as the confidence threshold. The full theory, including how the SD enters the Black–Scholes option price, is in the finance guide.
One caution the numbers hide: the standard deviation measures the size of swings, not their direction. A falling asset can have the same standard deviation as a rising one. For a portfolio, the same tool applies to the whole basket, and the portfolio standard deviation calculator computes it from weights and the individual assets.
Related calculators
-
Standard deviation calculator
Compute the SD of your own return series, step by step.
-
Portfolio standard deviation
The SD of a weighted basket, not just one asset.
-
Volatility calculator
Annualised volatility from closing prices.
-
Coefficient of variation
Spread relative to the mean, for comparing assets.
-
The finance guide
Sharpe, VaR and the deeper theory behind this page.
Common questions
How do I calculate the standard deviation of a stock?
Collect the stock's returns (daily or monthly), find their mean, subtract the mean from each return, square those deviations, average the squares (divide by n − 1 for a sample), and take the square root. That is the standard deviation of returns, i.e. its volatility. Annualise it by multiplying by √252 for daily data. The volatility calculator does exactly this from closing prices.
What does standard deviation mean in finance?
It is the volatility of an asset: how much its returns bounce around their average. A high standard deviation means wide swings between good and bad periods (high risk); a low one means steady returns (low risk). It is the standard single-number measure of risk in portfolio theory and the input to the Sharpe ratio.
What is a good standard deviation for a stock?
There is no universal number. Large-cap US equities run roughly 15–20% annual, bonds 5–10%, individual tech stocks can exceed 30–40%. Judge it against the same asset class and against your own risk tolerance; the S&P 500's long-run annual figure is about 15%.
How does standard deviation relate to expected return?
Volatility and expected return trade off: investors demand a risk premium for holding a riskier asset, so a higher standard deviation is paired with a higher expected return. Standard deviation alone says nothing about the direction of returns; the mean does.
Standard deviation or beta: which measures risk better?
They measure different things. Standard deviation is total risk, including company-specific swings. Beta measures only market risk, the part that cannot be diversified away. A stock can have high standard deviation and low beta when its volatility is mostly idiosyncratic. The beta calculator estimates the latter.