MathematicsStatisticsMedium

Variance (statistics)

Also known as:mean squared deviationsecond central moment

Variance measures the average squared deviation of a random variable from its mean, quantifying how spread out the values in a distribution are. A low variance indicates values cluster tightly around the mean; a high variance indicates they are widely dispersed. Variance is the square of the standard deviation and is fundamental to ANOVA, regression analysis, and portfolio theory.

Key Formula

σ² = E[(X − μ)²] = E[X²] − (E[X])²

LaTeX: \sigma^2 = E[(X - \mu)^2] = E[X^2] - (E[X])^2

SymbolMeaningUnit
σ²population variancesquare of the unit of X
Xrandom variablesame as X
μpopulation mean E[X]same as X
E[·]expected value operatorunitless

Worked Example

Problem

Five students scored: 60, 70, 80, 90, 100. Calculate the population variance.

Solution

Step 1: Find the mean: μ = (60 + 70 + 80 + 90 + 100) / 5 = 400 / 5 = 80. Step 2: Compute squared deviations: (60−80)² = 400 (70−80)² = 100 (80−80)² = 0 (90−80)² = 100 (100−80)² = 400 Step 3: Sum: 400 + 100 + 0 + 100 + 400 = 1000. Step 4: Divide by N = 5: σ² = 1000 / 5 = 200.

Answer

Population variance σ² = 200 (marks squared)

Population vs Sample Variance

PropertyPopulation VarianceSample Variance
Symbolσ²
FormulaΣ(xᵢ − μ)² / NΣ(xᵢ − x̄)² / (n−1)
DenominatorN (full population)n−1 (Bessel's correction)
PurposeDescribes entire populationEstimates population from sample
BiasUnbiased for populationUnbiased estimator of σ²

Interactive Tools

Wolfram Alpha — Variance

Open Tool

Khan Academy — Variance

Open Tool

Desmos Graphing Calculator

Open Tool
Three normal distributions showing different variance (spread) around the same mean

Wikimedia Commons, CC BY-SA

Related Terms

From Latin variare (to change, alter). The term "variance" in its statistical sense was introduced by Ronald A. Fisher in his 1918 paper "The Correlation Between Relatives on the Supposition of Mendelian Inheritance."

variancespreadstatisticsdispersionstandard deviationdata analysis