Mean of the squared distances from the mean = variance $\sigma^{2}$, its square root = standard deviation $\sigma$ — a measure of the data's "spread"
Turn the spread (scatter) of data into a number: "how far each value is from the mean $\bar{x}$" — the deviation $x_{i} - \bar{x}$. But the sum of deviations is always 0 (above/below the mean cancel) — the "mean deviation" is 0, a sign problem that can't measure spread. Fix: square the deviations ($(x_i - \bar{x})^2 \ge 0$) — the signs vanish and you get "the square of the distance."
The mean of the squared deviations is the variance $\sigma^{2}$ — the unit is squared (e.g., cm²), different from the original unit (cm). So take the square root back to get the standard deviation $\sigma$ — the "average spread distance" in the same units as the data. "Deviations → square (remove signs) → mean (variance) → square root (same units)" — the 4 steps of standard deviation are this flow.
Let's build the result step by step, instead of memorizing.
The mean of data $x_{1}, \ldots, x_{n}$ is $\bar{x} = \frac{1}{n}\sum x_{i}$. The deviation of each value $= x_{i} - \bar{x}$ (distance above/below the mean, with sign). The sum of deviations $\sum(x_{i} - \bar{x}) = 0$ (they cancel).
Deviations have signs and sum to 0 — squaring makes them $(x_{i} - \bar{x})^{2} \ge 0$. Squaring is "the square of the distance" (Pythagoras/distance structure) — erase the signs, keep the sizes.
$\sigma^{2} = \frac{1}{n}\sum_{i=1}^{n}(x_{i} - \bar{x})^{2}$ — the mean of the squared deviations = variance. Unit: the square of the data's unit (e.g., cm²). The more alike the data, the closer $\sigma^{2}$ to 0.
$\sigma = \sqrt{\sigma^{2}}$ — the square root of the variance = standard deviation. The unit is the same as the data (cm). The intuition of "average spread distance" — the smaller $\sigma$, the more concentrated; the larger, the more spread out.
Each step also shows the "why".
The classic ways to lose points on a test.
Three questions to check the core idea. Click an option to see the explanation.
The formula is hiding in familiar scenes. Read it as a story and it sticks.
Two classes have the same mean score (e.g., 75) but standard deviations of 5 for class A and 15 for class B: A is concentrated near 75 (mostly 70~80); B is spread wide from 75 (50~100 is possible). Comparing the unevenness (scatter) of two groups with the same mean by standard deviation — the standard indicator of group comparison for test achievement, quality inspection (spread of product dimensions), and height/weight distributions.
The spread of product dimensions (e.g., bolt lengths) on a production line — even if the mean is on target, a large standard deviation means more defects (deviation from target). In quality control, "mean + standard deviation" (e.g., $\bar{x} \pm 3\sigma$) is the control limit — the smaller $\sigma$, the more stable the quality. The "square → mean → square root" structure of standard deviation is why it creates a "single number for spread."