Standard deviation measures how spread out data is around the mean. A small standard deviation means the values are close together; a large one means they vary a lot.

Key ideas

  • Mean: x̄ = Σx / n, or Σfx / Σf for a frequency table.
  • Standard deviation: σ = √(Σx²/n − x̄²), or √(Σfx²/Σf − x̄²) for a frequency table.
  • For grouped data, use the mid-value of each class as x.
  • In exams, you can use your calculator's statistics mode, but show the formula or the values you entered.

Worked example 1

Data: 2, 4, 4, 5, 10.

x̄ = 25/5 = 5. Σx² = 4 + 16 + 16 + 25 + 100 = 161.
σ = √(161/5 − 25) = √7.2 = 2.68 (3 s.f.).

Worked example 2: grouped data

Time (min)0 < t ≤ 1010 < t ≤ 2020 < t ≤ 30
Frequency6104

Mid-values 5, 15, 25. Σf = 20, Σfx = 30 + 150 + 100 = 280, so x̄ = 14 min.
Σfx² = 150 + 2250 + 2500 = 4900, so σ = √(4900/20 − 196) = √49 = 7 min.

Comparing data sets

"Team P has mean 62 s and standard deviation 3 s; Team Q has mean 60 s and standard deviation 8 s. Team Q was faster on average, but Team P's times were more consistent."

Common mistakes

  • Using class boundaries instead of mid-values for grouped data.
  • Forgetting to square-root at the end.
  • Using Σx² when the formula needs Σfx² (or the other way round).

Try these

  1. Find the mean and standard deviation of 6, 8, 10, 12, 14.
  2. Adding 5 to every value in a data set: what happens to the mean and the standard deviation?
  3. Compare: Shop A's daily sales have mean $500 and σ = $40; Shop B's have mean $520 and σ = $95.
Show answers
  1. Mean 10; σ = √(540/5 − 100) = √8 = 2.83 (3 s.f.)
  2. The mean increases by 5; the standard deviation stays the same
  3. Shop B sells more on average, but Shop A's sales are more consistent