Math · Every step shown

Variance Calculator

Find the variance of a data set — as a population or as a sample.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Statistics
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Variance = the average of each value's squared distance from the mean — divided by n for a population, or n − 1 for a sample.

Example: 2, 4, 4, 4, 5, 5, 7, 9 has a population variance of 4 and a sample variance of about 4.57.

What is variance?
A measure of how spread out a data set is — the average of the squared distance of each value from the mean.

How is variance different from standard deviation?
Variance is in squared units; standard deviation is its square root, back in the original units, which is usually easier to interpret.

Why square the differences instead of just averaging them?
Squaring makes every difference positive (so they don't cancel out) and gives extra weight to values that are far from the mean.

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.