The steps

  1. Find the mean.
  2. Subtract the mean from each number and square the result.
  3. Add up the squares.
  4. Divide by n for a population, or by n − 1 for a sample. That’s the variance.
  5. Take the square root. That’s the standard deviation.

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

  1. Mean: 40 ÷ 8 = 5.
  2. Squared distances from 5: 9, 1, 1, 1, 0, 0, 4, 16.
  3. Their sum: 32.
  4. Population: 32 ÷ 8 = 4, and √4 = 2.
  5. Sample: 32 ÷ 7 ≈ 4.571, and √4.571 ≈ 2.138.

σ = 2 (population) or s ≈ 2.14 (sample)

Sample or population?

Use the population formula (÷ n) when you have every member of the group. Use the sample formula (÷ n − 1) when your numbers are a sample of a bigger group, which is the usual case in class and in surveys.

Reading the result

A small standard deviation means the numbers cluster close to the mean; a large one means they’re spread out. For bell-shaped data, about 68% of values fall within one standard deviation of the mean, 95% within two, and 99.7% within three.