Variance Calculator

This free variance calculator finds the sample or population variance of any list of numbers. It also gives you the standard deviation, the mean and a full step-by-step working, so you can check homework or understand how spread out your data is.

σ²

Variance Calculator

Sample or population variance with every step shown

Separate values with commas, spaces or new lines.

How to Use the Variance Calculator

  1. Type or paste your numbers into the box. Commas, spaces or new lines all work.
  2. Pick Sample if your data is a part of a bigger group, or Population if it covers every member.
  3. Press Calculate. You’ll see the variance, the standard deviation, a chart of squared deviations and a table of every step.

Variance Formulas

The calculator uses the two standard formulas. The only difference is the number you divide by.

Sample variance:      s² = Σ(x − x̄)² ÷ (n − 1)
Population variance:  σ² = Σ(x − μ)² ÷ N
  • x is each value, and x̄ or μ is the mean.
  • Σ(x − mean)² is the sum of squares: each value’s distance from the mean, squared, then added up.
  • n − 1 is used for samples. It corrects for the fact that a sample’s own mean sits a little too close to its values.

Worked Example

Six delivery times, in minutes: 22, 38, 25, 36, 27, 32. Press Load example above to see the same numbers in the tool.

StepWorkingResult
1. Mean180 ÷ 630
2. Deviations−8, 8, −5, 6, −3, 2Sum = 0
3. Squares64 + 64 + 25 + 36 + 9 + 4202
4. Sample variance202 ÷ 540.4
5. Standard deviation√40.46.36

How to Read Your Result

  • Small variance: values stay close to the mean. The data is consistent.
  • Large variance: values are spread far from the mean.
  • Zero: every value is the same.
  • Variance is in squared units (minutes², dollars²), so use the standard deviation when you explain spread to other people.

Want the full explanation? Read our guide on what variance means in statistics, or see how it connects to standard deviation and the mean.

Frequently Asked Questions

Should I use sample or population variance?

Use sample variance (n − 1) when your numbers are a sample taken from a bigger group, which is the usual case in school and research. Use population variance (N) only when your list includes every member of the group you care about, such as the scores of every student in one class.

Can variance be negative?

No. Every deviation is squared before it is added, and squares are never negative. The smallest possible variance is 0, which happens only when all your values are identical.

How is variance different from standard deviation?

Standard deviation is the square root of variance. Both measure spread, but standard deviation is in the same units as your data, so it is easier to explain. Variance is handy inside formulas and statistical tests.

How many numbers can I enter?

There is no strict limit. The calculator handles hundreds of values. The chart shows the first 30 values so it stays readable, but the result always uses all of them.

More Free Tools

Standard Error Calculator · Confidence Interval Calculator · Z-Score Calculator · P-Value Calculator · Correlation Coefficient Calculator · Linear Regression Calculator · Probability Calculator · Percentage Calculator · Grade Calculator · Flip a Coin · Random Number Generator

See every tool on our free statistics and math tools page.

This calculator is for learning and everyday use. Double-check important results, and follow your teacher’s or school’s method for graded work.