How to use Variance calculator
- 01Enter the dataOne list of numbers.
- 02Choose sample or populationChanges the divisor.
- 03Check the tableEach deviation and its square.

The average squared distance.
Variance measures spread in squared units. Take the mean, subtract it from each value, square the results and add them up: that total is the sum of squares. Divide it by n − 1 for a sample or by n for a population. The square root of the variance is the standard deviation.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
What is the variance of 2, 4, 4, 4, 5, 5, 7, 9?
The mean is 5 and the squared deviations are 9, 1, 1, 1, 0, 0, 4 and 16, which add up to 32. The population variance is 32 ÷ 8 = 4; the sample variance is 32 ÷ 7 ≈ 4.571.
Why square the deviations instead of just adding them?
Deviations from the mean always add up to zero, because the values above and below cancel out. Squaring makes every distance positive and weights large distances more.
Variance or standard deviation: which should I report?
The standard deviation, usually, because it is in the same units as the data. Variance is what you need inside formulas such as ANOVA, the pooled t-test or adding the spread of independent quantities.
Is what I type sent anywhere?
No. The calculation runs in your browser and nothing you type leaves your device.