Core answer: Standard deviation measures spread around the mean: it's the square root of average squared deviation. Data [2, 4, 4, 4, 5, 5, 7, 9] (mean 5): population SD = √(32/8) = 2.0; sample SD = √(32/7) = 2.14. The difference: population divides by N, sample divides by N−1 (Bessel's correction, fixing underestimation from sampling). In a normal distribution, 68% of data sits within ±1σ, 95% within ±2σ, 99.7% within ±3σ.

The step-by-step (population)

  1. Mean: (2+4+4+4+5+5+7+9)/8 = 5
  2. Deviations squared: 9, 1, 1, 1, 0, 0, 4, 16 → sum 32
  3. Variance = 32/8 = 4 → SD = √4 = 2

For a SAMPLE of the same data: variance = 32/7 = 4.57 → SD = 2.14. The N−1 correction matters for small samples and vanishes for large ones.

The 68-95-99.7 rule

Heights: mean 170 cm, SD 7 cm → 68% of people are 163–177 cm, 95% are 156–184 cm. A person at 191 cm is 3σ out — 0.15% territory. This is how control charts, test curves, and risk models all reason.

Worked examples

Example 1 — Comparing consistency. Two shooters both average 9 rings: A's SD 0.3, B's SD 1.5. A is a metronome, B swings between 6 and 12. Same mean, different players — SD is the difference between "average" and "reliable".

Example 2 — Exam standardization. Class A mean 75, SD 5; Class B mean 75, SD 15. A 90 in Class A is +3σ (elite); in Class B it's +1σ (good but common). Comparing raw scores across classes without SD is meaningless — hence z-scores: z = (x − mean)/SD.

Example 3 — Finance volatility. Fund A: 8%/yr mean, SD 10%; Fund B: 8% mean, SD 25%. In a normal-ish world, A's worst 5% year ≈ 8 − 1.65×10 = −8.5%; B's ≈ −33%. Same return, wildly different ride — Sharpe ratio (return ÷ SD) exists to price exactly this.

Example 4 — Quality control. A fill machine targets 500 g, SD 2 g. Spec 494–506 g = ±3σ → 99.73% in spec, ~2,700 defects per million. If SD creeps to 3 g, defects jump to 45,500 per million — that's why factories watch σ like a heartbeat.

Common mistakes and myths

  1. Variance vs SD units — variance is in squared units (cm²) and uninterpretable; SD returns to original units. Report SD, compute in variance.
  2. N vs N−1 casually — Excel: STDEV.P (population) vs STDEV.S (sample). Using .S on a full population understates spread.
  3. Assuming normality — the 68-95 rule fails for skewed data (income, city sizes); use percentiles/IQR there.
  4. SD = average error — it's √(mean of squares), which weights big deviations MORE than a plain mean of |deviations|; that's a feature (penalizes outliers), not a bug.
  5. Comparing SD across scales — SD 5 means nothing without context; coefficient of variation (SD/mean) normalizes: CV 2% vs 20% tells the consistency story across different-sized things.