Variance Calculator
Calculate the population or sample variance of a list of numbers.
Variance
- Standard deviation
- Mean
- Count
- Sum of squares
How we calculated this
Formula (population)
σ² = Σ(xᵢ − μ)² / N
Sorted values
See detailed workings
Worked example
For 2, 4, 4, 4, 5, 5, 7, 9 as a population, the variance is 4.
How it works
Variance measures how spread out a set of numbers is from its mean. It is the average of the squared differences from the mean, and its square root is the standard deviation. This tool uses the same population and sample formulas, and the same convention, as the Standard Deviation Calculator: the population formula divides by the number of values, the sample formula divides by one fewer (to correct for estimating from a sample), and the two are never mixed. A sample variance needs at least 2 values.
What this result means
Variance is the average of the squared differences from the mean — the same spread measure as standard deviation, but before the square root is taken.