Find a course

Module 3: Center and SpreadLesson 7 of 914 min

Standard Deviation

Understand standard deviation as the typical distance from the mean, compute it step by step, and know how shifting or scaling data changes it.

Step 1 of 13Learn

Two players, same average

Jaden and Marcus both average 15 points per basketball game. Jaden scores 14, 15 or 16 almost every night. Marcus might score 2 one night and 30 the next. A coach planning a close game would want to know that difference.

The standard deviation (SD) measures how far values typically are from the mean. Jaden's SD is small, maybe about 1 point. Marcus's is large, perhaps 10 points.

Think of it like this: if you picked a random game, how far off would it be from the player's average? For Jaden, about 1 point. For Marcus, about 10.

Standard deviation goes together with the mean, just as the IQR goes with the median. It's the most widely used measure of spread in science, finance, sports and manufacturing. A factory filling cereal boxes wants a tiny SD so every box weighs nearly the same. An investor looks at the SD of a stock's returns as a measure of risk. In the next lesson you'll see that for bell-shaped data, the SD tells you exactly what share of values fall near the mean.

Step 2 of 13Practice · Chart

Points per game: Jaden vs Marcus

Tap the game where Marcus was farthest from his 15-point average.

Tap the point that answers the question, then press Check.

Points per game: Jaden vs MarcusLine chart with 8 categories: G1: Jaden 14, Marcus 2; G2: Jaden 15, Marcus 30; G3: Jaden 16, Marcus 10; G4: Jaden 15, Marcus 25; G5: Jaden 14, Marcus 8; G6: Jaden 16, Marcus 20; G7: Jaden 15, Marcus 5; G8: Jaden 15, Marcus 20.0102030PointsG1G2G3G4G5G6G7G8
Illustrative games. Both players average exactly 15 points.
Points per game: Jaden vs Marcus
ItemJadenMarcus
G1142
G21530
G31610
G41525
G5148
G61620
G7155
G81520

Step 3 of 13Practice · Choose one

Which data set has the largest standard deviation?

Step 4 of 13Learn

Computing the standard deviation

Take the data 2, 4, 4, 4, 5, 5, 7, 9.

  1. Find the mean: sum = 40, n = 8, so the mean is 5.
  2. Find each deviation (value − mean): −3, −1, −1, −1, 0, 0, 2, 4. These always add up to zero, which is why you can't just average them.
  3. Square each deviation: 9, 1, 1, 1, 0, 0, 4, 16. Squaring makes them all positive.
  4. Add the squares: 32.
  5. Divide by n to get the variance: 32 ÷ 8 = 4.
  6. Take the square root: √4 = 2. That's the standard deviation.

So values in this set are typically about 2 units from the mean.

One detail: when your data is a sample and you're estimating the spread of a larger population, divide by n − 1 instead of n in step 5. That gives 32 ÷ 7 ≈ 4.57 and an SD of about 2.14. Calculators show both: σ (sigma) for the population formula and s for the sample formula. The difference shrinks as n gets larger.

In practice you'll use a calculator or spreadsheet, but knowing the steps tells you what the number means.

Step 5 of 13Practice · Put in order

Put the steps for calculating a (population) standard deviation in order.

Drag the items, or use the arrow buttons, to put them in order.

  1. Square each deviation
  2. Add the squared deviations and divide by n to get the variance
  3. Find the mean of the data
  4. Take the square root of the variance
  5. Subtract the mean from each value to get the deviations

Step 6 of 13Try the calculator

Standard deviation of five values

Try five equal values (the SD is 0), then spread them out. Change just one value to an outlier and watch the SD jump.

Mean
5
Population standard deviation
2.828

Step 7 of 13Practice · Work it out

Find the population standard deviation of 1, 3, 5, 7, 9. Round to two decimal places.

Step 8 of 13Learn

What changes the standard deviation?

A few properties make the SD easier to reason about:

  • The SD is never negative. It is 0 only if every value is the same.
  • It's in the same units as the data. If heights are in centimeters, so is the SD. (The variance is in squared units, which is one reason the SD is easier to interpret.)
  • It is not resistant. Because deviations are squared, one far-out value can inflate the SD a lot.
  • Adding a constant to every value shifts the mean but doesn't change the SD. If a teacher adds 5 bonus points to every test, the scores are just as spread out as before.
  • Multiplying every value by a number k multiplies the SD by k (for positive k). Converting heights from meters to centimeters multiplies the SD by 100.

A simpler cousin is the mean absolute deviation (MAD): the average of the absolute values of the deviations. For 2, 4, 4, 4, 5, 5, 7, 9, the absolute deviations are 3, 1, 1, 1, 0, 0, 2, 4, so MAD = 12 ÷ 8 = 1.5. MAD is easier to compute by hand, but the SD has better mathematical properties, so it dominates in statistics.

Step 9 of 13Practice · True or false

If a teacher adds 5 points to every student's test score, the standard deviation of the scores increases by 5.

Step 10 of 13Note

Step 11 of 13Practice · Choose one

A data set of daily screen time is strongly skewed right with several large outliers. Which pair of summary statistics is most appropriate?

Step 12 of 13Compare

Two ways to report center and spread

AspectMean + SDMedian + IQR
Best forRoughly symmetric data, no outliersSkewed data or data with outliers
UsesThe size of every valueOnly positions in sorted data
Outlier effectBoth can jump a lotBoth barely move
Goes withHistograms, the normal modelBox plots

Step 13 of 13Practice · Work it out

The scores on a quiz have a standard deviation of 6 points. The teacher converts the scores to a new scale by multiplying every score by 1.5. What is the new standard deviation?