Standard deviation

By Jude Wallis · Published

The standard deviation measures the typical distance of data values from the mean, and it is reported in the same units as the data itself.

Standard deviation reports spread as a typical distance between a value and the mean, carried in the units of the data. For a sample it is s=(xixˉ)2n1s = \sqrt{\frac{\sum (x_i - \bar{x})^2}{n-1}}, where xix_i are the observations, xˉ\bar{x} (x-bar) is the sample mean, and nn is how many values there are. For a whole population the symbol becomes σ\sigma (sigma), the mean becomes μ\mu (mu), and the divisor is nn instead of n1n - 1. The word typical is loose on purpose: ss is the square root of an average squared distance, not the average of the distances.

Take the five values 4, 8, 11, 13, 14. The mean is 50/5=1050/5 = 10, so the deviations are -6, -2, 1, 3, and 4. Squared they are 36, 4, 1, 9, and 16, which sum to 66. Divide by n1=4n - 1 = 4 for the variance s2=16.5s^2 = 16.5, then take the square root: s=4.06s = 4.06. Treating the same five numbers as a whole population instead gives σ=66/5=3.63\sigma = \sqrt{66/5} = 3.63, so settle that question before starting.

The sentence to unlearn is "the standard deviation is the average distance from the mean." For those five values the average distance really is (6+2+1+3+4)/5=3.2(6 + 2 + 1 + 3 + 4)/5 = 3.2, which is the mean absolute deviation, and it is not 4.06. Squaring before averaging gives far-out values more weight, so unless every value sits the same distance out, ss lands above the plain average distance.

A standard deviation is never negative, and it equals 0 in exactly one case: every value in the set is identical, so every deviation is 0. It is also not resistant. Change that 14 to a 44 and the median stays at 11 while ss goes from 4.06 to 16.02, because one distance of 28 becomes 784 inside the sum and swamps the other four.

Report it with the variable and the units attached, never as a bare number. In the Fall 2026 course this sits in Unit 1, whose topic 1.7 is titled Summary Statistics for One Quantitative Variable.

Finance uses this exact statistic as its measure of risk. The standard deviation of an investment's period returns is computed by the same steps used here and is the number quoted as an asset's risk: standard deviation of returns.

Where this comes up

111 pages on the site use this term.

More describing data terms, or browse the full statistics glossary.