How it works
Type the numbers separated by commas and pick sample or population. The page shows the variance and standard deviation for your choice, plus both versions so the difference is visible.
Formula
Squared deviations = sum of (x - mean)^2.
Sample variance = squared deviations / (n - 1); population variance = squared deviations / n.
Sources
Example
Variance: 10
Frequently asked questions
Why do the two answers differ?
The sample version divides by one less, which makes it slightly bigger. For 4, 8, 6, 10, 12 it is 10.00 against 8.00.
Which one do I use?
Sample when the numbers are a sample of something larger, population when they are the whole group. In class it is usually the sample version.