Paste a data set to get mean, variance, and both population and sample standard deviation. Steps and the full formula are shown for each result.
Standard deviation measures how spread out values are from the mean. A low value means the data clusters tightly around the average; a high value means individual points swing further away from it. Two data sets can share the same mean and still look completely different once you check the spread, which is exactly what this number captures.
Whether to read the population or sample figure depends on what your numbers represent. If the list you entered is the entire group you care about, such as every test score in one specific class, use population SD (sigma). If your list is a sample drawn from a bigger population, such as 30 patients standing in for an entire hospital, use sample SD (s), which divides by n - 1 instead of n to avoid understating the spread of the larger group.
This is the classic textbook example for standard deviation. Here is how to work through it step by step.
The only difference between the two formulas is the denominator. Population SD divides by n, the full count. Sample SD divides by n - 1, a correction named after the statistician Friedrich Bessel that produces an unbiased estimate when your numbers are a sample rather than the entire population. In this worked example the two formulas differ by only a fraction, but on smaller samples the gap between sample and population SD grows noticeably wider.
For more on when to use each formula, see the Wikipedia entry on standard deviation.
Standard deviation pairs naturally with the mean, median, and mode from the same list.
Find the mean, subtract it from each value and square the result, average those squared differences, then take the square root. Divide by n for population SD or by n-1 for sample SD. This calculator does each step and shows the working.
Use population standard deviation (sigma) when your data set IS the entire group you care about. Use sample standard deviation (s) when your data is a subset drawn from a larger population. Sample SD divides by n-1 instead of n to correct for the smaller group size.
Paste your numbers into the box above, separated by commas or spaces. The calculator returns population SD, sample SD, mean, and variance with the full steps.
Use =STDEV(range) for sample standard deviation or =STDEVP(range) for population standard deviation. In newer versions of Excel, STDEV.S and STDEV.P are the updated equivalents.