Variance Calculator

Use this calculator to find the variance of your dataset. Select whether your data is a sample or an entire population to get the correct result and step-by-step formula.

Enter numbers separated by commas or spaces.

What is Variance?

Variance is a statistical measurement of the spread between numbers in a data set. More specifically, variance measures how far each number in the set is from the mean and therefore from every other number in the set. A large variance indicates that numbers in the set are far from the mean and far from each other.

Sample vs Population Variance

The calculation differs slightly depending on whether your data represents an entire population or just a sample from that population.

  • Population Variance (σ²): Used when you have data for every single member of the group you're studying. You divide the squared deviations by N.
  • Sample Variance (s²): Used when your data is just a subset (sample) of a larger population. You divide the squared deviations by N - 1 (Bessel's correction) to get a more unbiased estimate of the population variance.

Variance Formula

Sample Variance (s²):

s² = Σ(x - x̄)² / (n - 1)

Population Variance (σ²):

σ² = Σ(x - μ)² / N