Standard deviation

Math · Stats & Probability

Question 1 of 10

0

    What is the population standard deviation of: 5, 5, 8, 6, 3?

    Decimals (0.75 or 0,75), fractions (3/4) and mixed numbers (1 1/2) are accepted. Do not use thousands separators.

    How to type your answer
    • Fractions: 3/4. Mixed numbers: 1 1/2.
    • Decimals with a point or a comma: 0.75 or 0,75.
    • Negative numbers start with a minus: -3/4.
    • Percentages need the % sign: 75%.

    Stuck? Read the explanation

    Unlocks at a streak of 5 correct answers in a row.

    Print a free worksheet (PDF)

    Embed this practice on your site or class page

    Paste this HTML into your page. Students practise right there; it is free and needs no account.

    Standard deviation explained

    Standard deviation measures how spread out a set of numbers is around its mean. A small value means the numbers sit close to the average, and a large value means they are scattered widely. It is the most common measure of spread, and it is built from the squared distances of each value from the mean.

    The method is to find the mean, subtract it from each value, square each result, find the average of those squares (the variance), then take the square root. Squaring stops positive and negative differences cancelling out, and the square root returns the answer to the original units.

    Curricula differ on one convention. The population standard deviation divides the sum of squares by nn, and is used when the data is the whole group you are interested in. The sample standard deviation divides by n−1n - 1, and is used when the data is a sample from a larger population. Both UK and US courses use these two terms, so check which one a question asks for.

    Worked example

    Find the population standard deviation of 2,4,4,6,92, 4, 4, 6, 9.

    1. The mean is (2+4+4+6+9)÷5=25÷5=5(2 + 4 + 4 + 6 + 9) \div 5 = 25 \div 5 = 5.
    2. The squared distances from the mean are 9,1,1,19, 1, 1, 1 and 1616, which sum to 2828.
    3. The variance is 28÷5=5.628 \div 5 = 5.6.
    4. The standard deviation is 5.6≈2.37\sqrt{5.6} \approx 2.37.

    A common mistake is averaging the raw distances from the mean without squaring them. Those distances always add to zero, so the result tells you nothing about spread.

    Key facts

    • Population standard deviation: σ=∑(x−xˉ)2n\sigma = \sqrt{\dfrac{\sum (x - \bar{x})^2}{n}}. Sample standard deviation: s=∑(x−xˉ)2n−1s = \sqrt{\dfrac{\sum (x - \bar{x})^2}{n - 1}}.
    • The practice questions use both. Easy and hard questions use the population version (divide by nn). Medium questions ask for the sample version (divide by n−1n - 1) and say so in the question, with the answer to 2 decimal places.
    • Adding the same number to every value does not change the standard deviation. Multiplying every value by kk multiplies it by kk (for k>0k > 0).
    • Standard deviation is never negative, and it is zero only when every value is the same.

    Worked example 2

    Find the sample standard deviation of 12,18,25,31,44,5012, 18, 25, 31, 44, 50, to 2 decimal places.

    1. Sum: 12+18+25+31+44+50=18012 + 18 + 25 + 31 + 44 + 50 = 180. Mean =180÷6=30= 180 \div 6 = 30.
    2. Deviations from the mean: −18,−12,−5,1,14,20-18, -12, -5, 1, 14, 20.
    3. Squared deviations: 324,144,25,1,196,400324, 144, 25, 1, 196, 400.
    4. Their sum: 324+144+25+1+196+400=1090324 + 144 + 25 + 1 + 196 + 400 = 1090.
    5. Sample variance (divide by n−1=5n - 1 = 5): 1090÷5=2181090 \div 5 = 218.
    6. s=218=14.7648…s = \sqrt{218} = 14.7648\ldots
    7. s=14.76s = 14.76 to 2 decimal places.

    If the question had asked for the population standard deviation, you would divide by 6 instead: 1090÷6=181.6666…1090 \div 6 = 181.6666\ldots and 181.6666…=13.4783…\sqrt{181.6666\ldots} = 13.4783\ldots, which is 13.4813.48. Same data, different answer, so read which one is wanted.

    Worked example 3

    The values 3,8,9,14,163, 8, 9, 14, 16 are each multiplied by 3, and then 5 is subtracted from each result. Find the population standard deviation of the new values, to 2 decimal places.

    1. Find the original spread first. The mean is 50÷5=1050 \div 5 = 10.
    2. Deviations: −7,−2,−1,4,6-7, -2, -1, 4, 6. Squared: 49,4,1,16,3649, 4, 1, 16, 36, which sum to 106106.
    3. Population variance: 106÷5=21.2106 \div 5 = 21.2.
    4. σ=21.2=4.6043…\sigma = \sqrt{21.2} = 4.6043\ldots
    5. Subtracting 5 only slides every value down together, so the spread is unchanged.
    6. Multiplying by 3 scales the spread by 3: 3×4.6043…=13.8130…3 \times 4.6043\ldots = 13.8130\ldots
    7. New standard deviation =13.81= 13.81 to 2 decimal places.

    You never need to calculate the new values. Be careful with rounding, though. If you round the original to 4.604.60 first, then 3×4.60=13.803 \times 4.60 = 13.80, which is wrong in the last digit.

    Common mistakes

    • Dividing by nn when the question says sample, or the other way round.
    • Forgetting the square root and giving the variance.
    • Squaring the sum of the deviations. The deviations from the mean always add to zero, so square each one first.
    • Subtracting the wrong mean after rounding it. Keep the mean exact if it is a fraction.
    • Thinking that adding a constant changes the spread. It only shifts the mean.
    • Multiplying the standard deviation by k2k^2. The variance scales by k2k^2, the standard deviation by kk.
    • Rounding in the middle, for example using 4.604.60 instead of 4.6043…4.6043\ldots

    Exam tips

    • Lay out your working as a column of xx, x−xˉx - \bar{x} and (x−xˉ)2(x - \bar{x})^2 so you can see mistakes. Check that the deviations add to 00.
    • Use the statistics mode on your calculator to check your answer. Find the key for σn\sigma_n (divide by nn) and the key for sn−1s_{n-1} (divide by n−1n-1).
    • Say which standard deviation you are finding in a short phrase, such as "dividing by n−1n - 1 as this is a sample".
    • For transformations, use the rule rather than recalculating: it is faster and the examiner is usually looking for it.
    • Give the answer to the stated accuracy only on the last line.

    What you will practise

    New numbers every time you practise. Levels: Easy, Medium, Hard. Each answer is followed by a worked explanation.

    Example questions

    • Easy

      What is the population standard deviation of: 1, 9, 6, 1, 5?

    • Medium

      What is the sample standard deviation of: 27, 34, 34, 26, 35, 27? Give your answer to 2 decimal places.

    • Hard

      Take the values 4, 18, 13, 5, 13. Multiply each value by 2, then subtract 7 from each result. What is the population standard deviation of the new values? Give your answer to 2 decimal places.