Variance: The Square of Standard Deviation

April 12, 2026

Problem

Calculate the variance of {10, 12, 14, 16, 18}. Show squared deviations as literal squares.

Explanation

What is variance?

Variance is the average of the squared deviations from the mean. It measures spread in squared units. Standard deviation is its square root.

Var(X)=σ2=1ni=1n(xixˉ)2\text{Var}(X) = \sigma^2 = \frac{1}{n}\sum_{i=1}^{n}(x_i - \bar{x})^2

Step-by-step: {10, 12, 14, 16, 18}

Step 1 — Mean: xˉ=(10+12+14+16+18)/5=70/5=14\bar{x} = (10+12+14+16+18)/5 = 70/5 = 14

Step 2 — Deviations: 4,2,0,+2,+4-4, -2, 0, +2, +4

Step 3 — Squared deviations: 16,4,0,4,1616, 4, 0, 4, 16

Step 4 — Average: σ2=(16+4+0+4+16)/5=40/5=8\sigma^2 = (16+4+0+4+16)/5 = 40/5 = 8

Variance=8,SD=82.83\boxed{\text{Variance} = 8, \quad \text{SD} = \sqrt{8} \approx 2.83}

Why square?

Squaring ensures all deviations are positive (no cancellation) and penalizes large deviations more heavily. Variance = σ2\sigma^2; SD = σ\sigma.

Shortcut formula

σ2=xi2nxˉ2=102+122+142+162+1825142=10005196=200196=4\sigma^2 = \frac{\sum x_i^2}{n} - \bar{x}^2 = \frac{10^2+12^2+14^2+16^2+18^2}{5} - 14^2 = \frac{1000}{5} - 196 = 200 - 196 = 4

Wait — let me recheck: 100+144+196+256+324=1020100+144+196+256+324 = 1020. 1020/5=2041020/5 = 204. 204196=8204 - 196 = 8 ✓.

Try it in the visualization

Squared deviations are drawn as literal squares with areas proportional to (xixˉ)2(x_i - \bar{x})^2. The variance is the average area.

Interactive Visualization

Parameters

10.00
12.00
14.00
16.00
18.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Variance: The Square of Standard Deviation | MathSpin