Overview
Variance measures how far values spread from the mean, in squared units. This gives both the population variance, dividing by n, and the sample variance, dividing by n − 1.
Enter your values. Use the population figure when your values are the whole group, and the sample figure when they're a sample.
Worked examples
| Inputs | Result |
|---|---|
| Your numbers12, 16, 14, 21, 19 | Population variance: 10.64Sample variance: 13.3SD: 3.65 |
Show 2 more examples
| Your numbers2, 4, 4, 4, 6 | Population variance: 1.6Sample variance: 2SD: 1.41 |
| Your numbers1, 1, 1, 1, 11 | Population variance: 16Sample variance: 20SD: 4.47 |
How it works
Find the mean, square each value's distance from it, and add them. Population variance divides by n. Sample variance divides by n − 1, which corrects for estimating the mean from the same data. The standard deviation shown is the square root of the sample variance.
The formula
Practical tips
- For 12, 16, 14, 21 and 19, the population variance is 10.64 and the sample variance is 13.3.
- Variance is in squared units, so the standard deviation is easier to interpret.
- Doubling every value multiplies the variance by 4.
Frequently asked questions
Why n − 1 for samples?
It's Bessel's correction, which makes the estimate unbiased.
When is the data a population?
When it's the whole group you care about, such as every student in a class.
What's the population SD?
√10.64, about 3.26.