← Statistics and probability

Standard deviation

The typical distance from the mean, the square-root way.

Start this lesson

Standard deviation measures spread. Find the mean, find each value’s deviation from it, square the deviations, average them (divide by n for a population, or n − 1 for a sample), and take the square root. A small standard deviation means the data is bunched near the mean.

Example: Population: 2, 4, 4, 4, 5, 5, 7, 9

  1. mean = 40 ÷ 8 = 5
  2. squared deviations: 9, 1, 1, 1, 0, 0, 4, 16 — Add to 32
  3. 32 ÷ 8 = 4 — Variance
  4. √4 = 2 — Standard deviation

Why it works: Standard deviation is a typical distance from the mean. Squaring keeps distances positive, and the square root brings the units back.

Tip: Squaring stops the negative and positive deviations from canceling out.