🕐 9 min read | Class 9–12 | FBISE · CBSE · IGCSE · O-Levels · IB
If standard deviation tells you how far data points typically stray from the mean, variance is the stepping stone that gets you there. Variance is the average of the squared differences from the mean — it quantifies spread in a mathematically precise way that makes it indispensable in advanced statistics, machine learning, and scientific research. Understanding variance unlocks your understanding of standard deviation, statistical tests, and data analysis at every level.
What Is Variance?
Variance measures how far each value in a data set lies from the mean, on average. Unlike range, which only looks at two extreme values, variance uses every data point. The squaring step ensures that negative and positive deviations don't cancel each other out, and it also gives extra weight to values that are far from the mean.
Sample Variance: s² = Σ(x − x̄)² / (n − 1)
Notice that variance is always the square of standard deviation — that is why variance is written as σ² and sample variance as s². For school-level problems, use the population formula unless the question explicitly says "sample."
Step-by-Step Example
The monthly rainfall (in mm) for six months was: 30, 45, 20, 60, 35, 50. Find the variance.
Calculate the mean:
x̄ = (30+45+20+60+35+50) ÷ 6 = 240 ÷ 6 = 40 mm
Calculate each deviation (x − x̄):
30−40=−10 | 45−40=5 | 20−40=−20 | 60−40=20 | 35−40=−5 |
50−40=10
Square each deviation (x − x̄)²:
100 | 25 | 400 | 400 | 25 | 100
Sum the squared deviations:
100+25+400+400+25+100 = 1050
Divide by N (population variance):
σ² = 1050 ÷ 6 = 175 mm²
The variance is 175 mm². To get standard deviation, simply take the square root: σ = √175 ≈ 13.23 mm.
Variance vs Standard Deviation — Which Should You Report?
| Property | Variance (σ²) | Standard Deviation (σ) |
|---|---|---|
| Units | Squared units (e.g., mm²) | Same units as data (e.g., mm) |
| Interpretability | Less intuitive | Directly interpretable |
| Used in | Mathematical proofs, ANOVA | Everyday data description |
| Always ≥ 0? | Yes | Yes |
Real-Life Applications
-
📡
Signal processing: Engineers minimise signal variance to reduce noise in communications and audio systems.
-
🌾
Agriculture: Agronomists measure variance in crop yield across fields to identify which soil conditions produce consistent results.
-
🏦
Portfolio management: Financial analysts minimise the variance of a portfolio's returns — the mathematical basis of Modern Portfolio Theory.
-
🔬
Scientific experiments: Variance tells researchers how repeatable their measurements are. Low variance = high precision.
Common Mistakes Students Make
Frequently Asked Questions
Try the Variance Calculator
Enter your data set and get instant variance and standard deviation — with a full step-by-step breakdown so you can see exactly how the answer is reached.
🧮 Open the Calculator →