How it works
- Find the mean, then subtract it from each number and square the result.
- Add the squared differences to get the sum of squares.
- Variance = sum of squares ÷ n for a population, or ÷ (n − 1) for a sample.
- Standard deviation is the square root of the variance.
Frequently asked questions
Should I use sample or population?
Use population when your numbers are the whole group you care about (every student in one class). Use sample when they are a subset used to estimate a bigger group (a survey). Most real-world data is a sample.
Why divide by n − 1 for a sample?
A sample's numbers sit closer to their own mean than to the true population mean, so dividing by n would underestimate the spread. Dividing by n − 1 (Bessel's correction) fixes that.
Results are estimates for general information and are not financial, medical or professional advice.