Standard deviation is a statistic that measures how far a set of numbers typically sits from its average, and in investing it is the most common way to express how much returns vary. A higher figure means returns have been more spread out; a lower figure means they have clustered closer to the average.
This article focuses on the mechanics. It walks through a full hand calculation with simple numbers, explains the difference between the sample and population versions, shows how to turn the result into a rough range of outcomes, and points out where the measure can mislead investors who rely on it alone.
What the Spread of Returns Reveals That an Average Hides
An average return tells only part of the story. Suppose two funds each averaged a 6% annual return over several years. One may have produced returns close to 6% almost every year, while the other swung between large gains and painful losses that happened to average out to the same number.
Standard deviation captures that difference. It answers a simple question: on a typical year, how far did the return land from the average? A fund with a small standard deviation behaved predictably around its average, while a large figure signals a wider scatter.
That information matters because investors live through individual years, not averages. A retiree drawing income or a family saving for a home purchase can be affected by one bad year even if the long-run average looks attractive.
For that reason, standard deviation appears on many fund fact sheets, in prospectus risk sections and in research reports. Knowing how it is built makes it far easier to judge when the figure is helpful and when it deserves caution.
The Formula in Plain Words
The calculation follows a clear sequence. In plain text, the formula for a sample of returns is: standard deviation = square root of [sum of (each return minus the average)² divided by (number of returns minus 1)].
In words, the process has five parts. Find the average return. Subtract the average from each individual return to get a deviation. Square each deviation so that negative and positive values do not cancel. Add the squares and divide. Then take the square root of the result.
The step before the square root produces a figure called the variance. Variance is expressed in squared units, such as percent squared, which are hard to interpret. Taking the square root returns the measure to the same units as the original returns, which is why standard deviation is easier to read.
Spreadsheet programs perform these steps automatically through built-in functions. Even so, working through one example by hand shows exactly what the number captures and helps reveal when a published figure may rest on too little data.
A Worked Example Using Five Annual Returns
Suppose a hypothetical fund produced these annual returns over five years: 10%, -5%, 15%, 0% and 5%. The steps below show how standard deviation is calculated from that short history.
Step 1: Find the Average
Add the five returns: 10 + (-5) + 15 + 0 + 5 = 25. Divide by the number of returns, five, to get an average of 5%.
This average is the reference point for every later step. Each return will be compared with it to see how far that year landed from the typical result. A different average would change every deviation that follows, so it is worth double-checking before moving on.
Step 2: Calculate and Square the Deviations
Subtract 5 from each return. The deviations are 5, -10, 10, -5 and 0. Squaring each one gives 25, 100, 100, 25 and 0.
Squaring removes negative signs, so a year that fell short of the average counts just as much as a year that beat it. It also gives large deviations extra weight. The two years that missed the average by 10 points contribute far more than the two years that missed it by 5 points.
Step 3: Average the Squares and Take the Root
The squares add up to 250. For a sample, divide by one less than the number of returns: 250 ÷ 4 = 62.5. This is the sample variance, measured in percent squared.
The square root of 62.5 is about 7.91. The fund’s sample standard deviation is therefore roughly 7.9 percentage points. In a typical year of this history, returns sat about 7.9 points away from the 5% average, in one direction or the other.
Sample Versus Population Standard Deviation
The example divided by four rather than five. That choice reflects the difference between a sample and a population. A population includes every possible observation, while a sample is a subset used to estimate the characteristics of a larger, unseen whole.
Investment returns are almost always treated as a sample. Five years is a small window into a fund’s possible behavior. Dividing by one less than the count, a step known as Bessel’s correction, corrects the tendency of a simple average of squared deviations to understate true variability, a bias that matters most in small samples.
Using the population version on the same data, the calculation becomes 250 ÷ 5 = 50, and the square root of 50 is about 7.07. That is noticeably lower than 7.91, and the gap is larger when the data set is small.
When comparing published figures, it is worth knowing which version was used. Spreadsheet programs often offer separate functions for each, and reports may not always state the choice. With long histories, the difference shrinks, but with only a few years of data it can matter.
How Much Data a Reliable Figure Needs
The five-year example was kept short to make the arithmetic easy to follow. In practice, a figure built on five annual returns is a fragile estimate. One unusual year can move the result substantially, and a different five-year window might produce a very different number.
Analysts usually prefer more observations. Using monthly returns over three or five years provides dozens of data points instead of a handful, which tends to produce a steadier estimate. The monthly figure is then annualized, commonly by multiplying it by the square root of 12.
Before trusting a published standard deviation, a few questions are worth asking:
- How many return observations went into the calculation?
- Were the returns daily, weekly, monthly or annual?
- Does the period include both rising and falling markets?
- Was the figure annualized, and if so, how?
A longer history that spans different market conditions usually gives a more realistic picture. Even then, the result is an estimate of past behavior, and it should be read as a guide to the range of possibilities rather than a precise measurement of future risk.
Turning Standard Deviation Into a Range of Outcomes
Standard deviation becomes more intuitive when converted into a range. If returns roughly follow a bell-shaped curve, known as a normal distribution, about two-thirds of outcomes fall within one standard deviation of the average, and about 95% fall within two.
Using the earlier example, with an average of 5% and a standard deviation of about 7.9 points, the one-standard-deviation range runs from roughly -2.9% to 12.9%. The two-standard-deviation range runs from roughly -10.8% to 20.8%.
These ranges are a way of reading the past data, not a forecast. They suggest that, if the fund kept behaving as it did, most years would land within the wider range. They say nothing certain about any single future year.
The ranges also show why a modest-looking standard deviation can still allow uncomfortable outcomes. Even with a positive average, the lower edge of the two-standard-deviation range in this example is a loss of more than 10%, which some investors would find hard to accept.
Where Standard Deviation Can Mislead
Standard deviation is useful, but it rests on assumptions that real markets do not always respect. Understanding its blind spots helps avoid placing too much confidence in a single figure.
- Returns are not always bell-shaped. Real market returns can include extreme moves more often than a normal distribution would suggest, so the two-standard-deviation range may be breached more often than expected.
- Upside and downside count equally. A fund with occasional large gains can show a high figure even though investors would welcome those gains.
- Short histories produce shaky estimates. A few years of data can make a fund look calmer or rougher than it typically is.
- Smoothed prices understate swings. Assets that are valued infrequently, such as some private investments, can report artificially low figures.
- The past window may not repeat. Conditions change, and a calm stretch can end suddenly.
Measures that focus only on losses, such as downside deviation, and measures of the worst historical decline, such as maximum drawdown, are often used alongside standard deviation for this reason. Each covers a gap the others leave open.
Comparing Funds With Standard Deviation
Standard deviation is most useful when comparing similar investments over the same period, using the same return interval. Comparing two large-company stock funds over the same three years, both measured monthly and annualized, gives a fair reading of which one moved around more.
Comparisons become less meaningful when the investments serve different purposes. A short-term bond fund and an emerging-market stock fund will naturally differ, and the figure alone does not show whether either one suits a given role in a portfolio.
It also helps to pair standard deviation with return. A fund with a higher figure is only worth the extra movement if it has also delivered, or is reasonably expected to deliver, higher returns. Ratios such as the Sharpe ratio combine the two into a single measure of return above a risk-free rate per unit of volatility.
Investors can usually find standard deviation on fund websites, in independent research tools and sometimes in shareholder reports. Checking whether the figure is annualized, and over which period, should come before any comparison.
Standard Deviation Inside a Portfolio
The standard deviation of a portfolio is not simply the average of its holdings’ standard deviations. When holdings do not move in perfect lockstep, some of their ups and downs offset each other, and the portfolio’s overall figure can be lower than the weighted average.
Suppose a portfolio holds two funds, each with a standard deviation of 15%. If they always moved together, the portfolio would also show about 15%. If they sometimes moved in opposite directions, the portfolio’s figure would be lower, possibly much lower.
This is the mathematical basis of diversification. The degree of offsetting depends on correlation, which measures how closely two investments move together. Low or negative correlation between holdings can reduce overall portfolio variability without necessarily lowering expected return by the same amount.
For this reason, adding a volatile asset does not always raise a portfolio’s standard deviation. If the new asset tends to move differently from what is already held, it may reduce the overall figure. Portfolio-level measures therefore deserve attention alongside the figures for individual holdings.
Practical Habits for Using the Measure Well
A few habits make standard deviation more useful in everyday investing. Start by noting the figure for each major holding, along with the period and interval used. Recording this information once a year helps reveal whether a holding has become rougher or calmer than expected.
Next, translate the figure into dollars. Suppose a $20,000 holding has an annual standard deviation of 10%. A move of one standard deviation is about $2,000, and two standard deviations is about $4,000. Thinking in dollars often makes the number feel more real than a percentage does.
Then compare the dollar range with the goal the money serves. If a two-standard-deviation decline would derail a near-term plan, the holding’s size or role may deserve review. If the money is meant for a distant goal, a wider range may be more tolerable.
Investors who want help relating these figures to retirement income, education savings or other goals may consider speaking with a qualified, fiduciary financial professional who can review the full picture, including taxes, timing and other assets.