Statistics & Probability · Grade 9

Standard Deviation: Measuring Spread Around the Mean

Quick answer

Standard deviation measures how far data values typically sit from the mean. Each value's distance from the mean is squared, the squares are averaged, and the square root brings the result back to the original units. It pairs with the mean for roughly symmetric data; skewed data or data with outliers is better described by the median and interquartile range.

What you'll learn

  • Calculate the standard deviation of a small data set
  • Explain what a larger or smaller standard deviation says about the data
  • Choose mean and standard deviation or median and IQR from the shape of the data

Two classes, same average

Two classes take the same quiz, scored out of 1010.

ClassScoresMean
A4,  5,  5,  6,  54, \; 5, \; 5, \; 6, \; 555
B1,  9,  2,  8,  51, \; 9, \; 2, \; 8, \; 555

The means match. The classes do not. Class A scored close together; Class B was all over the place.

The mean describes the center. Standard deviation describes how far values typically sit from that center, and it is the number that separates these two classes.

Why the deviations have to be squared

A natural first attempt is to measure each score’s distance from the mean and average those distances. For Class B:

ScoreDeviation from 55
11−4-4
99+4+4
22−3-3
88+3+3
5500
Sum00

The deviations add to zero, and not by coincidence. The mean is the balance point of the data, so the amounts above it exactly cancel the amounts below it. That happens for every data set there is.

Something has to stop the canceling. Squaring does it: a negative deviation squared is positive.

(−4)2=16(+4)2=16(-4)^2 = 16 \qquad (+4)^2 = 16

Squaring is what keeps below-the-mean and above-the-mean from erasing each other. It also weights big deviations more heavily than small ones, which is part of why standard deviation reacts so strongly to outliers.

Mean absolute deviation solves the same problem with absolute values instead. Standard deviation uses squares because they behave far better in the algebra that later statistics is built on.

Calculating it

σ=∑(x−μ)2n\sigma = \sqrt{\frac{\sum (x - \mu)^2}{n}}

In words, five steps:

  1. Find the mean.
  2. Subtract the mean from each value.
  3. Square each of those deviations.
  4. Average the squares. That number is the variance.
  5. Take the square root.

For Class B, with mean 55:

ScoreDeviationSquared
11−4-41616
99441616
22−3-399
883399
550000
Sum5050
variance=505=10σ=10≈3.16\text{variance} = \frac{50}{5} = 10 \qquad \sigma = \sqrt{10} \approx 3.16

For Class A the squared deviations are 1,0,0,1,01, 0, 0, 1, 0, summing to 22:

variance=25=0.4σ=0.4≈0.63\text{variance} = \frac{2}{5} = 0.4 \qquad \sigma = \sqrt{0.4} \approx 0.63

Class B’s standard deviation is five times Class A’s. That matches what the lists already showed, now as a single number.

Why the square root comes last

Squaring changed the units. If the data is in inches, the squared deviations are in square inches, and so is the variance.

A spread measured in square inches cannot be compared with the data itself. The square root converts it back to inches.

That is why variance and standard deviation both exist. Variance is the useful quantity for the arithmetic; standard deviation is the one you can read alongside the data.

Population or sample

Dividing by nn gives the standard deviation of the whole group you measured — a population standard deviation, written σ\sigma.

When the data is a sample used to estimate a larger population, statisticians divide by n−1n - 1 instead and write ss:

s=∑(x−xˉ)2n−1s = \sqrt{\frac{\sum (x - \bar{x})^2}{n - 1}}

A sample tends to understate how spread out the population is, and dividing by a slightly smaller number corrects for that. Calculators and spreadsheets offer both, often labeled σx\sigma_x and sxs_x. For large data sets the two are almost identical.

Choosing the right summary

Standard deviation is paired with the mean, and both share a weakness: a single extreme value pulls them hard.

Eight home prices on one street, in thousands of dollars: 240,250,255,260,270,275,280,290240, 250, 255, 260, 270, 275, 280, 290. Then a mansion sells for 1,5001{,}500.

SummaryEight housesWith the mansion
mean265265about 402402
median265265270270
standard deviationabout 1616about 388388
IQR252532.532.5

The mean jumped by 137137 and the standard deviation grew about twenty-fourfold. The median moved 55 and the IQR moved 7.57.5.

Shape of the dataReport
roughly symmetric, no outliersmean and standard deviation
skewed, or with outliersmedian and interquartile range

Match the summary to the shape. Describing that street with a mean of $402,000 and a standard deviation of $388,000 describes houses that are not there — eight ordinary homes and one outlier. The median and IQR describe the typical house honestly.

Worked examples

Common mistakes

Practice problems

  1. What is the standard deviation of 5,5,5,5,55, 5, 5, 5, 5?

    Answer

    00

    Full solution

    No value differs from the mean.

  2. Data set P has a standard deviation of 22 and data set Q has 99. Which is more spread out?

    Answer

    Q

    Full solution

    A larger standard deviation means values sit farther from the mean.

  3. The variance of a data set is 2525. What is the standard deviation?

    Answer

    55

    Full solution

    Standard deviation is the square root of the variance.

  4. Find the mean of 3,7,7,113, 7, 7, 11.

    Answer

    77

    Full solution

    284=7\tfrac{28}{4} = 7.

  5. Find the standard deviation of 3,7,7,113, 7, 7, 11.

    Answer

    About 2.832.83

    Full solution

    Squared deviations: 16,0,0,1616, 0, 0, 16, summing to 3232.

    Variance: 324=8\tfrac{32}{4} = 8, so σ=8≈2.83\sigma = \sqrt{8} \approx 2.83.

  6. Every value in a data set is multiplied by 33. What happens to the standard deviation?

    Answer

    It is multiplied by 33

    Full solution

    Every distance from the mean triples, so the typical distance triples too.

  7. A data set is strongly skewed right. Should you report mean and standard deviation, or median and IQR?

    Answer

    Median and IQR

    Full solution

    The long tail pulls the mean and inflates the standard deviation.

  8. Find the standard deviation of 10,12,14,16,1810, 12, 14, 16, 18.

    Hint

    The mean is the middle value, since the data is evenly spaced.

    Answer

    About 2.832.83

    Full solution

    Mean: 1414.

    Deviations: −4,−2,0,2,4-4, -2, 0, 2, 4. Squared: 16,4,0,4,1616, 4, 0, 4, 16, summing to 4040.

    Variance: 405=8\tfrac{40}{5} = 8, so σ=8≈2.83\sigma = \sqrt{8} \approx 2.83.

  9. Two data sets have the same mean. Set X has values within 11 of the mean; set Y has values up to 2020 away. Which has the larger standard deviation, and why?

    Answer

    Set Y

    Full solution

    Standard deviation measures typical distance from the mean.

    Set Y’s values sit much farther away, and squaring makes those large distances count even more heavily.

  10. For the data 1,9,2,8,51, 9, 2, 8, 5, Maya finds the deviations −4,4,−3,3,0-4, 4, -3, 3, 0, averages them to get 00, and concludes the data has no spread. Find her error.

    Hint

    Do the deviations of any data set ever add to something other than zero?

    Answer

    Raw deviations always cancel. Squaring them gives a standard deviation of about 3.163.16.

    Full solution

    Maya’s arithmetic is right, and it would be right for every data set there is.

    The mean is the balance point, so deviations above it always cancel the ones below it. An average of raw deviations is zero no matter how spread out the data is, so it measures nothing.

    That is the reason standard deviation squares first. Squared deviations: 16,16,9,9,016, 16, 9, 9, 0, summing to 5050.

    Variance: 505=10\tfrac{50}{5} = 10, so σ=10≈3.16\sigma = \sqrt{10} \approx 3.16.

    The data is far from spread-free — scores run from 11 to 99.

Frequently asked questions

What does standard deviation measure?

How far the values typically sit from the mean. A small standard deviation means the data is tightly clustered; a large one means it is spread out.

Why square the deviations?

The raw deviations always add to zero, because values above and below the mean cancel. Squaring makes every distance positive so nothing cancels.

Why take the square root at the end?

Squaring changed the units — inches became square inches. The square root puts the answer back in the units of the data.

What is variance?

The average of the squared deviations, before the square root is taken. Standard deviation is the square root of the variance.

When should I use median and IQR instead?

When the data is skewed or has outliers. One extreme value can inflate the mean and the standard deviation a lot, while the median and IQR barely move.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSS.ID.A.2Interpreting Categorical and Quantitative DataUse statistics appropriate to the shape of the data distribution to compare center (median, mean) and spread (interquartile range, standard deviation) of two or more different data sets.
  • CCSS.MATH.CONTENT.HSS.ID.A.3Interpreting Categorical and Quantitative DataInterpret differences in shape, center, and spread in the context of the data sets, accounting for possible effects of extreme data points (outliers).