Skip to main content

The Variance Formula Explained

The variance formula looks dense, but it is four plain instructions written in shorthand. Here is what every symbol means, plus the variations you will meet in textbooks.

By the VarianceCalc team · Updated

Open the variance calculator

Frequently asked questions

What is the formula for variance?

Population variance is σ² = Σ(x − μ)² / N and sample variance is s² = Σ(x − x̄)² / (n − 1). Both sum the squared distances from the mean; they differ only in the denominator.

What is the shortcut formula for variance?

The sum of squares can be computed as Σx² − (Σx)² / n, then divided by n or n − 1 as usual. It avoids calculating every deviation, which is handy by hand but can lose precision on a computer.

How do you find variance from a frequency table?

Multiply each squared deviation by its frequency: σ² = Σf(x − μ)² / N, where N = Σf. For a sample, divide by N − 1 instead.

What does the Σ symbol mean?

Σ (capital sigma) means 'add up'. Σ(x − μ)² means: for every value x, subtract the mean, square the result, then add all of those squares together.