Standard Deviation of Returns Calculator

This standard deviation of returns calculator measures volatility and risk from five period returns, showing the mean, variance and dispersion.

Standard Deviation of Returns Calculator
%
%
%
%
%
Standard deviation —
Mean return —
Variance —

We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.

What it does

The Standard Deviation of Returns Calculator measures how much a series of investment returns varies around its average. A higher standard deviation means more volatility and a wider range of outcomes; a lower figure means steadier, more predictable returns.

Data sources & parameters

This calculator uses standard financial formulas and runs entirely in your browser. It needs no external rate data — your result is computed only from the values you enter above.

We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.

The formula

s = √( Σ(rᵢ − r̄)² ÷ (n − 1) ), where r̄ is the mean return and n the number of periods

How it works

Enter the return for each of five periods. The tool averages them to find the mean return, then measures how far each period sits from that mean, squares those gaps, and uses the sample formula (dividing by n minus 1) to get the variance. The standard deviation is the square root of the variance.

Where it is used

  • Comparing the volatility of two funds or portfolios
  • Feeding a risk figure into a Sharpe or Sortino ratio
  • Judging whether a return series is steady or erratic

Worked example

A portfolio returns 10%, 12%, 8%, 15% and 5% over five years. The mean return is …, the variance is …, and the sample standard deviation is … — a measure of how widely the yearly results swing around that average.

What the standard deviation of returns calculator does

The standard deviation of returns calculator measures how much a series of investment returns varies around its average. The average gives the typical outcome; the standard deviation shows how far individual results tend to stray from it. It is the most widely used gauge of investment risk, and it turns a sense that one investment is "bumpier" than another into a figure you can compare.

Enter the return for five periods and the tool reports the mean return, the variance, and the standard deviation, which together describe how well an investment performed on average and how consistent that performance was.

Why volatility matters as much as average return

Two portfolios can share the same average return while one produces steady, similar results year after year and the other swings between large gains and painful losses. The standard deviation shows the difference the average hides.

A highly volatile investment can force you to sell at the worst moment, because you need the money during a downturn or the swings become too stressful to hold through. It also drags on long-term compounding: a sequence of large ups and downs typically ends lower than a smoother path with the same average, because losses need proportionally larger gains to recover.

How the calculation works

  1. Find the mean: add the five returns and divide by five.
  2. Measure each deviation: subtract the mean from each period's return.
  3. Square and sum: square each deviation so negatives and positives both count as dispersion, then add them.
  4. Divide and take the root: divide the total by the number of periods minus one to get the sample variance, then take the square root to return to the original units.

The standard deviation is in the same percentage units as the returns. If a portfolio has an average return of 10% and a standard deviation of 4%, about two years in three fall between 6% and 14% if returns are roughly normal.

Sample versus population

The calculator divides by the number of periods minus one, which gives the sample standard deviation. This adjustment, known as Bessel's correction, corrects a slight tendency to understate the true variability when your handful of returns is a sample drawn from a longer, unknown history. Investors almost always work with a limited window of past returns, so the sample version is the appropriate default. The difference shrinks as the number of periods grows, but with only a few observations it is visible.

How to read the result

On its own, a figure of 12% means little; next to a similar fund at 6%, it shows the first investment swings roughly twice as widely.

  • Compare like with like. Volatility varies by asset class, so judge a stock fund against other stock funds, not a bond fund.
  • Pair it with return. A higher standard deviation is worth accepting only if it comes with enough extra return; risk-adjusted measures such as the Sharpe and Sortino ratios formalise this trade-off.
  • Mind the sample size. Five periods give a quick read, but a longer history gives a steadier estimate.

Limitations

Standard deviation treats upside and downside swings identically, although most investors mind only the downside, which is why the Sortino ratio exists as a complement. It assumes returns cluster in a roughly bell-shaped way, which understates the risk of rare but severe crashes. And it describes the past, with no guarantee about the future.

Knowing how widely an investment's returns swing helps you size your position, set realistic expectations, and avoid being surprised by a normal bad year. Use the figure alongside other measures when judging whether an investment suits you.

This article is general information only and is not financial advice.

About This Standard Deviation of Returns Calculator

Use this standard deviation of returns calculator to get an instant estimate based on the figures you enter. Adjust the inputs above to match your situation, or browse all our calculators to plan your next step.

Frequently asked questions

How does the standard deviation of returns calculator work?
Enter the return for five periods. The calculator averages them to find the mean return, measures how far each period sits from that mean, squares those gaps, and divides the total by the number of periods minus one to get the sample variance. The standard deviation is the square root of that variance, expressed in the same units as the returns.
Why does standard deviation matter for investors?
Standard deviation is the most common measure of investment risk. It tells you how widely returns swing around their average, so two portfolios with the same average return can look very different once you see how much one moves around. A higher figure means a wider range of possible outcomes in any given year.
What is the difference between sample and population standard deviation?
Sample standard deviation divides by the number of periods minus one, while the population version divides by the number of periods. This tool uses the sample formula because a short run of historical returns is normally treated as a sample of a longer, unknown track record, not the entire population.
Is a low standard deviation always better?
Not necessarily. A low standard deviation means steadier returns, which many investors prefer, but very low volatility often comes with lower expected returns. The right level depends on your time horizon and how much fluctuation you can tolerate without changing your plan.
How does standard deviation relate to the Sharpe ratio?
The Sharpe ratio divides a portfolio's excess return by its standard deviation, so the figure this calculator produces is a direct input to that measure. A lower standard deviation for the same excess return produces a higher Sharpe ratio, meaning better risk-adjusted performance.
Is my data kept private?
Yes. The calculation runs entirely in your browser. Nothing you enter is uploaded, stored, or shared with anyone.

About the author

Taha Kheirandish

Written and reviewed by

Taha Kheirandish

Economics student and independent researcher

Taha Kheirandish reads tax codes the way other people read maps — to find out where a system actually leads, not where it claims to go.

He is an economics student, and his work here is comparative by design. A pension deferral bonus in Quebec, a commuting allowance in Germany, a rent-increase ceiling in the Netherlands: each is a decision a government made about how money should move, and each reads differently once you set it beside eight others. He builds and checks these calculators across nine markets from primary sources — the regulation rather than a summary of it, the ministry’s own circular rather than a news item quoting it.

That is the editorial standard of the site as well as his habit. Every rate, threshold and bracket here carries the document it was read from and the date it takes effect, and gets re-checked when the law moves rather than when someone happens to notice.

He is a researcher, not a licensed adviser, and nothing on this site is personal financial advice. It is arithmetic done carefully with its sources shown — so that you can check it, and take it to someone who is.

Leave a Reply

Your email address will not be published. Required fields are marked *