Variance Calculator

Sample or population variance with the divisor choice explained.

The formula behind it

population: σ² = Σ(xᵢ−x̄)²/n · sample: s² = Σ(xᵢ−x̄)²/(n−1)
x̄
the mean
n − 1
Bessel's correction for samples

Variance averages the squared distances from the mean. Squaring removes signs and exaggerates outliers. Choose population (÷n) when you have the whole group, sample (÷n−1) when estimating from a subset.

How to use this calculator

  1. 1

    Enter the values.

  2. 2

    Choose population or sample.

  3. 3

    Press Calculate — the divisor used is shown.

Worked examples

Machine tolerance

Parts 10.1, 10.0, 9.9, 10.0 mm: sample variance 0.0067 mm².

Two classes

Same mean 70, variances 4 vs 100 — same average, very different consistency.

Frequently asked questions

Explore more categories

Command Palette

Search for a command to run...