Calculators4All
Home / Math / Standard deviation calculator
Math calculator

Standard deviation calculator

Enter a list of numbers to find the mean, variance, and both population and sample standard deviation.

This is the whole population if your list is every value you care about, or a sample if it's drawn from a larger group.
0
Standard deviation
Count of numbers
Sum
Mean (average)
Variance

What standard deviation tells you

Standard deviation measures how spread out a set of numbers is from its average. A small standard deviation means most values sit close to the mean; a large one means the values are scattered widely. Two datasets can have the exact same average and look completely different once you know how spread out each one is — which is exactly the gap standard deviation fills in.

Population vs. sample standard deviation

This distinction trips a lot of people up, but it comes down to one question: does your list of numbers represent an entire group you care about, or just a sample drawn from a bigger group? If you have every test score from every student in a class, that's population data. If you only have scores from 20 randomly selected students out of a much larger school, that's sample data.

The formulas

Both formulas start the same way: find the mean, then find how far each number is from that mean, then square each of those differences (so negative and positive differences don't cancel out).

A worked example

For the numbers 2, 4, 4, 4, 5, 5, 7, 9 — a classic textbook example — the mean is exactly 5. Treated as a population, the standard deviation comes out to exactly 2. Treated as a sample, it comes out slightly higher, at about 2.14, because of that N − 1 adjustment.

TermWhat it means
MeanThe average of all the numbers
VarianceThe average of the squared differences from the mean
Standard deviationThe square root of variance — back in the original units