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; a high value means it is more scattered.
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 called Bessel's correction that produces an unbiased estimate when you have a sample rather than the entire population.
This is the classic Wikipedia example for standard deviation. Here is how to work through it step by step.
For more on when to use each formula, see Standard deviation on Wikipedia.
Calculate an average with mean, median, and mode, or find the mean square error with the square root calculator.
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.

Editor at Encore Editorial, Chris Terry sets the editorial standards here and turns dense topics into plain English. He has written widely on education, finance, and consumer markets.