standard deviation calculator — the complete guide
This is everything about the Standard Deviation Calculator in one place: what standard deviation means, the formulas it runs on, worked examples, where each version is used, and the mistakes that trip people up. If you only read one guide on this tool, read this one.
The two versions
- Population standard deviation. Divide the squared distances by the count. Use it when your list is everything you care about. For 10, 20, 30, 40 and 50 it is 14.14.
- Sample standard deviation. Divide by the count minus one. Use it when your list is a sample and you are estimating the spread of a larger group. For the same list it is 15.81.
The formulas
Mean = sum of the numbers ÷ count Population variance = mean of (each number − mean)² Population SD = square root of population variance Sample SD uses ÷ (count − 1) instead of ÷ count
Worked examples
For 10, 20, 30, 40 and 50: the mean is 30, the squared distances add to 1,000, the population variance is 200 and the population standard deviation is 14.14. For 2, 4, 6, 8 and 10: the mean is 6, the squared distances add to 40, the population variance is 8 and the population standard deviation is 2.83. For 5, 5, 5 and 5: every distance is 0, so the standard deviation is 0.
10, 20, 30, 40, 50: mean 30, pop SD 14.14, sample SD 15.81 2, 4, 6, 8, 10: mean 6, pop SD 2.83, sample SD 3.16 5, 5, 5, 5: mean 5, pop SD 0, sample SD 0
At a glance
Where each version is used
- Population: the spread of a full class of exam marks, a complete set of measurements, or every item in a batch.
- Sample: estimating the spread of a whole population from a few measurements, like testing a handful of parts from a production run.
The mistake to avoid
Using the population version on a sample, or the sample version on a full list. The two answers are close — 14.14 and 15.81 here — so the error is easy to miss and hard to spot later. Decide which one you need before you read the number, not after.
Mean, range or standard deviation — picking the right summary
Three summaries, three questions. The mean answers “what is typical?” The range answers “how far apart are the best and worst?” The standard deviation answers “how much do the numbers swing around the typical?” Most lists need at least two of the three, because each one hides what the others show.
Take five cricket scores: 12, 18, 24, 30 and 36. The mean is 24, the range is 36 − 12 = 24, the population standard deviation is 8.49 and the sample version is 9.49. The mean says the batter typically scores 24. The range says the scores run from 12 to 36. The standard deviation says they swing about 8 or 9 runs either side of the average — a steadier picture than the range alone suggests, because the range is set by two innings and the standard deviation uses all five.
The one check before you quote the number
Check three things before the number leaves your mouth: the version, the count and the units. The version, because 14.14 and 15.81 are both “the standard deviation” of the same list, and quoting the wrong one is an error nobody will spot. The count, because a missing number moves every answer. And the units, because a standard deviation of 8.49 runs is not the same as 8.49 anything else.
A short list shows why the count matters. Take 7, 7, 7 and 13: the mean is 8.5, the population standard deviation is 2.60 and the sample version is 3.00. The whole spread comes from the single 13 — if it was a typo for 7, the standard deviation would be 0. When one number is doing all the work, verify that number before you quote the spread it creates.
Frequently asked questions
What can the Standard Deviation Calculator do?
It finds the mean, the variance and both versions of the standard deviation for a list of numbers, and shows how far each number sits from the mean.
What is the standard deviation of 10, 20, 30, 40, 50?
14.14 for the population version and 15.81 for the sample version. The mean is 30 and the population variance is 200.
What is the standard deviation of 2, 4, 6, 8, 10?
2.83 for the population version and 3.16 for the sample version. The mean is 6 and the population variance is 8.
When is the standard deviation zero?
When every number in the list is the same, so every distance from the mean is zero. For 5, 5, 5, 5, the standard deviation is 0.
More guides on the Standard Deviation Calculator
- How to use the Standard Deviation Calculator — step by step
- Standard Deviation Calculator explained with worked examples
- Standard Deviation Calculator formula — how it actually works
- Standard Deviation Calculator for beginners — start here
- Common mistakes people make with the Standard Deviation Calculator
- Standard Deviation Calculator vs doing it by hand — which is faster?
- How to get an accurate result from the Standard Deviation Calculator
- Standard Deviation Calculator for students — with examples
- Standard Deviation Calculator for homeowners and DIYers
Find the mean, variance and standard deviation of any list of numbers — free, in your browser.