Math & Statistics

Variance Calculator

Measure squared spread around the mean using a population or sample denominator.

Private, in-browser calculationUpdated

Let’s work it out

Enter your numbers. We’ll show the working.

Separate numbers with commas, spaces, or new lines; no thousands separators. Up to 1,000 values, each from -1 trillion to 1 trillion.
Choose the convention for your inputs.

How to use this calculator

  1. Enter values and the remaining values.
  2. Check the selected units and the counting or calculation convention described below.
  3. Select Calculate to review the result and breakdown. Reset restores the example.

The formula

Population variance = sum((x − mean)²)/N; sample variance = sum((x − mean)²)/(N − 1)

Variance averages squared deviations. It shares the stable shifted computation with Standard Deviation, while retaining the squared result as its main output. The breakdown also shows the square root for comparison.

PUTTING IT INTO PRACTICE

A worked example

For 2, 4, 4, 4, 5, 5, 7, 9, squared deviations total 32. Population variance is 4; sample variance is 32/7, about 4.57143.

How to interpret your result

Variance is expressed in squared units. If measurements are meters, variance is square meters while standard deviation is meters.

Assumptions and limitations

Population mode allows one observation; sample mode needs two or more.

Large variance is meaningful only relative to the measurement scale and context. No statistical test or causal interpretation is supplied.