Standard deviation and variance practice problems

By Jude Wallis · Published

This set has eight practice problems on standard deviation and variance, from routine by-hand calculations to AP-style multi-part reasoning. Work each one first, then open the solution to check every arithmetic move against the mean, the squared deviations, and the divisor.

AP Statistics: Unit 1 (topics 1.7 Summary Statistics for One Quantitative Variable). Standard deviation and variance are Unit 1 topic 1.7 (learning objective 1.7.B); the effect of changing units of measurement on summary statistics is 1.7.C in the Fall 2026 AP Statistics course.

What these problems build

These eight problems build fluency with the by-hand standard deviation routine: find the mean, square each deviation, divide by n1n-1 for a sample or nn for a population, then take the square root. The later problems add a second skill, predicting how the mean, variance, and standard deviation change when you add a constant to every value or multiply every value by a constant. If you want the method laid out step by step first, read standard deviation by hand, and use the standard deviation calculator to confirm your answers. For more sets like this one, see all practice problems.

Problem 1

A wildlife trail camera ran for five nights and photographed 5, 7, 8, 9, and 11 foxes. Treat these five nights as the entire period of interest, so the data is a population. Find the population variance and the population standard deviation.

Show the worked solution
  1. Find the mean μ\mu (say "mu"). Add the values and divide by n=5n = 5: μ=5+7+8+9+115=405=8\mu = \frac{5 + 7 + 8 + 9 + 11}{5} = \frac{40}{5} = 8 foxes.

  2. Subtract the mean from each value to get the deviations xiμx_i - \mu: 58=35 - 8 = -3, 78=17 - 8 = -1, 88=08 - 8 = 0, 98=19 - 8 = 1, 118=311 - 8 = 3. They sum to 31+0+1+3=0-3 - 1 + 0 + 1 + 3 = 0, a good check.

  3. Square each deviation: (3)2=9(-3)^2 = 9, (1)2=1(-1)^2 = 1, 02=00^2 = 0, 12=11^2 = 1, 32=93^2 = 9.

  4. Add the squared deviations: 9+1+0+1+9=209 + 1 + 0 + 1 + 9 = 20.

  5. Divide by n=5n = 5 for the population variance: σ2=205=4\sigma^2 = \frac{20}{5} = 4.

  6. Take the square root for the population standard deviation: σ=4=2\sigma = \sqrt{4} = 2 foxes.

The population variance is σ2=4\sigma^2 = 4 (foxes squared) and the population standard deviation is σ=2\sigma = 2 foxes.

Problem 2

A commuter records how many minutes her train arrives late on 5 randomly chosen weekdays: 6, 8, 10, 12, and 14 minutes. Treat these days as a sample. Find the sample variance and the sample standard deviation.

Show the worked solution
  1. Find the mean xˉ\bar{x} (say "x-bar"). Add the values and divide by n=5n = 5: xˉ=6+8+10+12+145=505=10\bar{x} = \frac{6 + 8 + 10 + 12 + 14}{5} = \frac{50}{5} = 10 minutes.

  2. Subtract the mean from each value: 610=46 - 10 = -4, 810=28 - 10 = -2, 1010=010 - 10 = 0, 1210=212 - 10 = 2, 1410=414 - 10 = 4. The deviations sum to 00.

  3. Square each deviation: (4)2=16(-4)^2 = 16, (2)2=4(-2)^2 = 4, 02=00^2 = 0, 22=42^2 = 4, 42=164^2 = 16.

  4. Add the squared deviations: 16+4+0+4+16=4016 + 4 + 0 + 4 + 16 = 40.

  5. Divide by n1=4n - 1 = 4 for the sample variance: s2=404=10s^2 = \frac{40}{4} = 10.

  6. Take the square root for the sample standard deviation: s=103.16s = \sqrt{10} \approx 3.16 minutes.

The sample variance is s2=10s^2 = 10 (minutes squared) and the sample standard deviation is s=103.16s = \sqrt{10} \approx 3.16 minutes.

Problem 3

A food scientist measures the sugar content of 5 energy bars pulled from one production line: 13, 19, 20, 21, and 27 grams. Find the sample standard deviation, then the population standard deviation, and explain which is larger and why.

Show the worked solution
  1. Find the mean: xˉ=13+19+20+21+275=1005=20\bar{x} = \frac{13 + 19 + 20 + 21 + 27}{5} = \frac{100}{5} = 20 grams.

  2. Deviations from the mean: 1320=713 - 20 = -7, 1920=119 - 20 = -1, 2020=020 - 20 = 0, 2120=121 - 20 = 1, 2720=727 - 20 = 7.

  3. Square them: (7)2=49(-7)^2 = 49, (1)2=1(-1)^2 = 1, 02=00^2 = 0, 12=11^2 = 1, 72=497^2 = 49, and add: 49+1+0+1+49=10049 + 1 + 0 + 1 + 49 = 100.

  4. The sample version divides by n1=4n - 1 = 4: s2=1004=25s^2 = \frac{100}{4} = 25, so s=25=5s = \sqrt{25} = 5 grams.

  5. The population version divides by n=5n = 5: σ2=1005=20\sigma^2 = \frac{100}{5} = 20, so σ=204.47\sigma = \sqrt{20} \approx 4.47 grams.

  6. The sample value is larger because it divides the same sum of squares, 100100, by the smaller number 44 instead of 55.

The sample standard deviation is s=25=5s = \sqrt{25} = 5 grams and the population standard deviation is σ=204.47\sigma = \sqrt{20} \approx 4.47 grams; the sample value is larger because it divides by n1=4n - 1 = 4 rather than n=5n = 5.

Problem 4

A fitness tracker logs the number of flights of stairs a user climbs on 5 days: 21, 23, 24, 25, and 27 flights. The tracker was over-counting by 5 flights each day, so 5 is subtracted from every value. Treating the days as a sample, find the mean and standard deviation before and after the correction.

Show the worked solution
  1. Original mean: xˉ=21+23+24+25+275=1205=24\bar{x} = \frac{21 + 23 + 24 + 25 + 27}{5} = \frac{120}{5} = 24 flights.

  2. Original deviations: 2124=321 - 24 = -3, 2324=123 - 24 = -1, 2424=024 - 24 = 0, 2524=125 - 24 = 1, 2724=327 - 24 = 3. Squared they are 9,1,0,1,99, 1, 0, 1, 9, summing to 2020.

  3. Original sample standard deviation: s=2051=204=52.24s = \sqrt{\frac{20}{5 - 1}} = \sqrt{\frac{20}{4}} = \sqrt{5} \approx 2.24 flights.

  4. Subtract 5 from each value to get 16,18,19,20,2216, 18, 19, 20, 22. New mean: 16+18+19+20+225=955=19\frac{16 + 18 + 19 + 20 + 22}{5} = \frac{95}{5} = 19 flights, which is 24524 - 5.

  5. New deviations: 1619=316 - 19 = -3, 1819=118 - 19 = -1, 1919=019 - 19 = 0, 2019=120 - 19 = 1, 2219=322 - 19 = 3. They match the originals, so the squared deviations again sum to 2020.

  6. New sample standard deviation: s=204=52.24s = \sqrt{\frac{20}{4}} = \sqrt{5} \approx 2.24 flights, unchanged. Subtracting a constant shifts the mean by that constant but leaves the spread alone.

The mean drops by 5, from 2424 to 1919 flights, while the standard deviation stays 52.24\sqrt{5} \approx 2.24 flights; adding or subtracting a constant never changes the spread.

Problem 5

A juice bar triples a recipe. The amounts of its 5 ingredients are 2, 4, 6, 8, and 10 ounces, and every amount is multiplied by 3 for the triple batch. Treating the amounts as a sample, find the mean, variance, and standard deviation before and after tripling.

Show the worked solution
  1. Original mean: xˉ=2+4+6+8+105=305=6\bar{x} = \frac{2 + 4 + 6 + 8 + 10}{5} = \frac{30}{5} = 6 ounces.

  2. Original deviations: 4,2,0,2,4-4, -2, 0, 2, 4; squared they are 16,4,0,4,1616, 4, 0, 4, 16, summing to 4040.

  3. Original sample variance and standard deviation: s2=4051=404=10s^2 = \frac{40}{5 - 1} = \frac{40}{4} = 10 and s=103.16s = \sqrt{10} \approx 3.16 ounces.

  4. Multiply every value by 3 to get 6,12,18,24,306, 12, 18, 24, 30. New mean: 6+12+18+24+305=905=18\frac{6 + 12 + 18 + 24 + 30}{5} = \frac{90}{5} = 18 ounces, which is 6×36 \times 3.

  5. New deviations: 12,6,0,6,12-12, -6, 0, 6, 12; squared they are 144,36,0,36,144144, 36, 0, 36, 144, summing to 360360. New variance: s2=3604=90s^2 = \frac{360}{4} = 90.

  6. New standard deviation: s=90=3109.49s = \sqrt{90} = 3\sqrt{10} \approx 9.49 ounces. Multiplying by 3 multiplies the mean and standard deviation by 3 and the variance by 32=93^2 = 9.

After tripling, the mean is 1818 ounces, the variance is 9090, and the standard deviation is 909.49\sqrt{90} \approx 9.49 ounces; multiplying by 3 scales the standard deviation by 3 and the variance by 99.

Problem 6

A weather log holds 8 daily high temperatures with a mean of 15 degrees Celsius and a standard deviation of 5 degrees Celsius. Each value is converted to Fahrenheit with F=1.8C+32F = 1.8C + 32, where CC is the Celsius reading. Find the mean, standard deviation, and variance of the Fahrenheit values without recomputing from the raw data.

Show the worked solution
  1. The conversion F=1.8C+32F = 1.8C + 32 multiplies every value by 1.81.8 and then adds 3232.

  2. The mean follows the whole conversion: new mean =1.8×15+32=27+32=59= 1.8 \times 15 + 32 = 27 + 32 = 59 degrees Fahrenheit.

  3. Adding 3232 shifts every value equally, so it does not change the spread. Only the multiplier 1.81.8 affects the standard deviation.

  4. New standard deviation =1.8×5=9= 1.8 \times 5 = 9 degrees Fahrenheit.

  5. The variance scales by the square of the multiplier: the original variance is 52=255^2 = 25, so the new variance =1.82×25=3.24×25=81= 1.8^2 \times 25 = 3.24 \times 25 = 81.

  6. As a check, 81=9\sqrt{81} = 9, which matches the standard deviation from step 4.

The Fahrenheit values have mean 5959, standard deviation 99, and variance 8181; the +32+32 shifts the center only, while the ×1.8\times 1.8 scales the spread.

Problem 7

Two checkout lanes each served customers over 5 one-hour blocks. Lane A served 8, 9, 10, 11, and 12 customers; Lane B served 4, 7, 10, 13, and 16 customers. Both lanes have the same mean. Decide which lane has the larger sample standard deviation, then compute both to confirm.

Show the worked solution
  1. Both means are equal: Lane A gives 8+9+10+11+125=505=10\frac{8 + 9 + 10 + 11 + 12}{5} = \frac{50}{5} = 10 and Lane B gives 4+7+10+13+165=505=10\frac{4 + 7 + 10 + 13 + 16}{5} = \frac{50}{5} = 10 customers.

  2. Lane B's values sit farther from 1010 than Lane A's, so Lane B should have the larger standard deviation.

  3. Lane A deviations: 2,1,0,1,2-2, -1, 0, 1, 2; squared they are 4,1,0,1,44, 1, 0, 1, 4, summing to 1010. Sample variance =104=2.5= \frac{10}{4} = 2.5, so sA=2.51.58s_A = \sqrt{2.5} \approx 1.58 customers.

  4. Lane B deviations: 6,3,0,3,6-6, -3, 0, 3, 6; squared they are 36,9,0,9,3636, 9, 0, 9, 36, summing to 9090. Sample variance =904=22.5= \frac{90}{4} = 22.5, so sB=22.54.74s_B = \sqrt{22.5} \approx 4.74 customers.

  5. The numbers confirm the prediction: sB4.74s_B \approx 4.74 is much larger than sA1.58s_A \approx 1.58, even though both lanes average 10 customers.

Lane B has the larger spread: sA=2.51.58s_A = \sqrt{2.5} \approx 1.58 versus sB=22.54.74s_B = \sqrt{22.5} \approx 4.74 customers, while both means equal 1010.

Problem 8

A coffee roaster weighs the beans lost during roasting for 6 batches: 14, 18, 20, 20, 22, and 26 grams, treated as a sample. (a) Find the sample mean, variance, and standard deviation. (b) The scale read 4 grams low, so 4 is added to every weight; give the new mean and standard deviation. (c) Those corrected weights are then multiplied by 0.5 to convert to an index; give the mean and standard deviation of the index.

Show the worked solution
  1. Part (a) mean: xˉ=14+18+20+20+22+266=1206=20\bar{x} = \frac{14 + 18 + 20 + 20 + 22 + 26}{6} = \frac{120}{6} = 20 grams.

  2. Deviations: 6,2,0,0,2,6-6, -2, 0, 0, 2, 6; squared they are 36,4,0,0,4,3636, 4, 0, 0, 4, 36, summing to 8080.

  3. Part (a) variance and standard deviation: s2=8061=805=16s^2 = \frac{80}{6 - 1} = \frac{80}{5} = 16 and s=16=4s = \sqrt{16} = 4 grams.

  4. Part (b): adding 4 shifts the mean to 20+4=2420 + 4 = 24 grams and leaves the spread unchanged, so the standard deviation stays 44 grams.

  5. Part (c): multiplying by 0.50.5 scales the mean to 24×0.5=1224 \times 0.5 = 12 and the standard deviation to 4×0.5=24 \times 0.5 = 2.

  6. So the index has mean 1212 and standard deviation 22, and its variance is 22=42^2 = 4.

(a) mean 2020 grams, variance 1616, standard deviation 44 grams; (b) mean 2424 grams, standard deviation 44 grams; (c) index mean 1212, standard deviation 22.