Statistics & Probability / QUICK CALCULATOR

Variance Calculator

Calculate population or sample variance, mean, and observation count.

YOUR INPUTS
Dataset (commas, spaces, or new lines) *
Calculation type *
YOUR RESULT✳
Population variance
4
Mean5
Observations8

Variance is expressed in squared units of the observations.

A clear estimate from the values you provided.
UNDERSTAND THE RESULT

How it works

ƒx
The formulaTransparent by design

Population: σ² = Σ(x − μ)² ÷ N. Sample: s² = Σ(x − x̄)² ÷ (n − 1).

FORMULA KEYvariance

Explanation

Variance measures squared spread around the mean. Select Population when your data represent the entire population of interest, or Sample when estimating population variability from a sample. The sample denominator corrects bias in the variance estimate.

Variables and units

x is an observation; μ or x̄ is the mean; N or n is the number of observations. Sample mode requires at least two observations.

How to calculate

  1. Enter the dataset and choose Population or Sample.
  2. Find the mean and sum squared deviations from it.
  3. Divide by N for population variance or n − 1 for sample variance.

Worked example

For 2, 4, 4, 4, 5, 5, 7, 9, the mean is 5. Population variance is 4; sample variance is 32/7 ≈ 4.57143.

FORMULA REFERENCES
COMMON QUESTIONS

A few things you might wonder.

Why is variance in squared units?

The formula squares each deviation. Standard deviation takes its square root to return to the original measurement units.

Are my inputs saved?

No. Calculations run on your device. Your input values and datasets are not sent to the server.