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.
Welcome back!
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.
| Item | Jaden | Marcus |
|---|---|---|
| G1 | 14 | 2 |
| G2 | 15 | 30 |
| G3 | 16 | 10 |
| G4 | 15 | 25 |
| G5 | 14 | 8 |
| G6 | 16 | 20 |
| G7 | 15 | 5 |
| G8 | 15 | 20 |
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.
- Find the mean: sum = 40, n = 8, so the mean is 5.
- 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.
- Square each deviation: 9, 1, 1, 1, 0, 0, 4, 16. Squaring makes them all positive.
- Add the squares: 32.
- Divide by n to get the variance: 32 ÷ 8 = 4.
- 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.
- Square each deviation
- Add the squared deviations and divide by n to get the variance
- Find the mean of the data
- Take the square root of the variance
- 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
| Aspect | Mean + SD | Median + IQR |
|---|---|---|
| Best for | Roughly symmetric data, no outliers | Skewed data or data with outliers |
| Uses | The size of every value | Only positions in sorted data |
| Outlier effect | Both can jump a lot | Both barely move |
| Goes with | Histograms, the normal model | Box 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?
Lesson complete!