Skip to content
Statistics

Standard Deviation Explained with Examples

Standard deviation is the average distance from the mean, squared and unsquared. Learn the classic example and when to divide by n vs n − 1.

By Muddassar Ali · · 5 min read

Standard deviation sounds technical, but the idea is simple: it measures how spread out numbers are around their mean. A small standard deviation means the numbers cluster together; a large one means they are scattered.

The method, step by step

Take the classic data set: .

  1. Find the mean. .
  2. Subtract the mean from each value, and square each difference. The differences are ; squaring gives . (Squaring matters: without it, positive and negative differences would cancel out.)
  3. Average the squared differences. That average is the variance: .
  4. Take the square root. The standard deviation is . The square root brings the units back to the original data — variance is in squared units, which is why we report the standard deviation instead.

So for this data set: mean , variance , standard deviation .

Population vs sample — the one decision to get right

  • Population (you have all the data): divide by , as above. Standard deviation .
  • Sample (your data is a sample of something bigger): divide by instead. Variance , standard deviation .

If a question does not say, check whether it describes a full group or a sample from one — that single choice changes the answer.

Why not just use the range?

The range ( here) uses only two values and ignores everything between. Standard deviation uses every value, so it describes the whole data set, not just its extremes. For the mean, median and mode behind this example, see Mean, Median, Mode Explained.

Common mistakes

  • Forgetting to square before averaging — the differences cancel otherwise.
  • Forgetting the final square root — that leaves you with the variance, not the standard deviation.
  • Dividing by the wrong number — for a population, for a sample.

Practice it

Want to check your work? Try the Standard Deviation Calculator — every step shown — or the Statistics Calculator for mean, median, mode and quartiles together. Then try similar problems on the practice page.

#standard deviation#statistics#variance

Keep reading

Practice what you just learned

Solve your own problems step by step and ask the AI tutor about anything that's unclear.