Skip to main content

    Thinking Dictionary

    Standard deviation

    What it is

    The standard deviation (SD) is a number that tells you how spread out a set of values typically is around its mean, or average. A small SD means the values sit close to the mean. A large SD means they are widely scattered.¹ It is in the same units as the data.²

    A statistics textbook calls it "a number that measures how far data values are from their mean," and "the most common measure of variation, or spread."¹ "The standard deviation is small when the data are all concentrated close to the mean" and "larger when the data values are more spread out from the mean."¹

    Why it matters

    Two groups can share the same average and still feel very different. The textbook's supermarket example: both shops average five minutes' wait, but one has an SD of two minutes and the other four. There is more variation in the wait at the second shop.¹

    If you only look at the average, you miss that. The Mean vs median entry is about the centre of a set of numbers. This entry is about the spread around it.

    Same mean, different spread

    The SD is never negative. It is zero only when every value is equal, so there is no spread.¹

    Here is how it is built, in words. First you measure each deviation: how far one value is from the mean (positive above, negative below). Those deviations always sum to zero, so they are squared to make them positive. The average of those squares is the variance. Taking the square root brings the number back into the original units. That square root is the standard deviation.¹˒²

    There is a sample version and a population version. Spreadsheets usually report the sample SD. The difference rarely matters for a first look, but you should know which one you are using.

    Imagine two routes to work, five trips each:

    • Route A: 28, 29, 30, 31 and 32 minutes. The mean is 30 minutes, and the sample SD is about 1.6 minutes (1.58).
    • Route B: 20, 25, 30, 35 and 40 minutes. The mean is also 30 minutes, but the sample SD is about 7.9 minutes (7.91).

    Same average; Route B is far less predictable. If you must arrive on time, the spread matters as much as the mean.

    When the SD misleads, and how it differs from a standard error

    Outliers and long tails can inflate the SD. An outlier is a value far from the rest.¹ Squaring gives "greater weight to values that are further from the mean": a point 2 units away adds 4 to the total of squares; a point 10 units away adds 100.² For skewed data, where values pile up on one side, the SD may not help much. Quartiles, the median and a graph can be better. The textbook's advice is simple: "always graph your data."¹

    Do not confuse the SD with the standard error (SE). "The terms 'standard error' and 'standard deviation' are often confused."³ If you want to say how widely scattered some measurements are, use the standard deviation. If you want to indicate the uncertainty around the estimate of the mean, quote the standard error.³ The SE equals the SD divided by the square root of the sample size. The SE falls as samples get bigger; "the standard deviation will not tend to change as we increase the size of our sample."³

    A common rule of thumb says that for data with a normal, roughly bell-shaped, distribution, about 95% of values fall within 2 standard deviations of the mean.³ That rule is for roughly bell-shaped data. Don't treat it as a guarantee for every set of numbers.

    The sign "±" is ambiguous. It "gives no indication whether the second figure is the standard deviation or the standard error (or indeed something else)."³ Check which one is meant. The Error bars and confidence intervals entry explains another way those bands are reported.

    In everyday life

    • Suppose you time your commute for a week. The average is fine, but one route swings by a quarter of an hour. The SD captures that unpredictability.
    • A report says a score was "70 ± 5." Ask: is 5 the SD of the scores, or the SE of the average?
    • You track minutes of focused work. A calm week and a chaotic week can have similar averages and very different spreads.

    The common trap

    The first trap is thinking that the same average means the same experience. Not if the spread differs.¹

    The second trap is treating the SD and the SE as the same thing. The SD describes the data; the SE describes uncertainty in the mean and shrinks with sample size.³

    The third trap is thinking that bigger samples make the SD smaller. It is the SE that falls.³

    The fourth trap is assuming the SD always summarises spread well. For skewed data or outliers, quartiles and a graph can be better.¹

    Try it

    Time a daily routine, such as a commute or making breakfast, for ten days. Use a spreadsheet's STDEV function (that is the sample SD). Compare two days of the week, or two routes. Look at the graph as well as the number.

    Related concepts

    Mean vs median · Effect size · Error bars and confidence intervals · Signal vs noise · Random vs systematic error · Accuracy vs precision · Reliability of a measure · Sample size · Population vs sample · Percentiles

    Sources

    1. Illowsky, B., & Dean, S. (2023, December 13). 2.7 Measures of the spread of the data. In Introductory statistics 2e. OpenStax. OpenStax Introductory Statistics 2e §2.7

    2. National Institute of Standards and Technology / SEMATECH. (n.d.). 1.3.5.6 Measures of scale. In NIST/SEMATECH e-handbook of statistical methods. NIST e-Handbook: measures of scale

    3. Altman, D. G., & Bland, J. M. (2005). Standard deviations and standard errors. BMJ, 331(7521), 903. doi:10.1136/bmj.331.7521.903. Full text: BMJ article page