Variance measures how far values spread out from the mean, as the average squared deviation. This calculator gives both the sample variance (dividing by n − 1) and the population variance (dividing by n).
Formulas
Sample: s² = Σ(x − x̄)² ÷ (n − 1) · Population: σ² = Σ(x − μ)² ÷ n
Variance or standard deviation?
Variance is in squared units (cm², $²), which are hard to interpret, so results are usually reported as the standard deviation, its square root. Variance is still essential inside statistical methods such as ANOVA and regression, because variances of independent quantities add up.
Frequently asked questions
Why divide by n − 1?
A sample’s values sit closer to the sample mean than to the true population mean, so dividing by n would underestimate the population variance. Dividing by n − 1 (Bessel’s correction) removes that bias.