Enter a list of numbers to find the mean, variance, and both population and sample standard deviation.
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.
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.
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).
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.
| Term | What it means |
|---|---|
| Mean | The average of all the numbers |
| Variance | The average of the squared differences from the mean |
| Standard deviation | The square root of variance — back in the original units |