Variance Calculator
Enter your data and choose sample or population to find its variance.
A sample divides by n − 1; a whole population divides by n.
Numbers separated by commas, spaces or new lines
Result
You entered
Standard deviation
Sample variance
Show the work
Mean (arithmetic average)
The mean shares the total out equally: add every value, then divide by how many there are. Here the values add up to and .
Deviations from the mean
Subtract the mean from every value to see how far each one sits from it. A value below the mean gives a negative deviation.
Sum of squared deviations
Squaring each deviation makes every term positive, so values above and below the mean cannot cancel. Adding the squares gives .
Population variance (divide by n)
When the data is the whole population, the variance is the mean of the squared deviations, so divide by .
Result
So the population variance is .