What does standard deviation tell you?

Standard deviation is a number that tells you how spread out your data is from the average. If all your numbers are tightly clustered around the mean, the standard deviation is small. If your numbers are spread far apart, the standard deviation is large. Think of it like looking at the ages of students in a 10th-grade classroom versus the ages of people in a grocery store. The 10th graders are almost all 15 or 16 years old, so the standard deviation of their ages is very low. The grocery store has babies, teenagers, and senior citizens, meaning the ages vary widely, so the standard deviation is high.

What is the standard deviation mathematically?

Mathematically, standard deviation is the average distance of each data point from the mean. First, you find the mean (the average) of your data. Then, you measure how far each individual number is from that mean. Finally, you average those distances. Because some distances are positive and some are negative, we square them before averaging, and then take the square root at the very end to get back to our original units. The symbol for population standard deviation is the Greek letter sigma (σ\sigma), and for a sample, we use the letter ss.

Why do we need it?

The mean alone does not tell the whole story. Imagine two classes take a test. Class A gets scores of 70, 70, 70, 70, and 70. Class B gets scores of 40, 55, 70, 85, and 100. Both classes have an average score of 70. However, Class A was totally consistent, while Class B had a huge spread of struggling students and perfect scores. Standard deviation gives you this missing piece of information by quantifying the spread.

Where students slip up: Sample vs. Population

A common mistake is using the wrong formula. If you are calculating the standard deviation of an entire population (every single person or item you care about), you divide by the total number of items, NN. But in real life, we usually only have a sample (a small subset). When calculating the sample standard deviation, we divide by n1n - 1 instead of nn. This slight adjustment, called Bessel's correction, makes sure we don't underestimate the true spread of the wider population.

Worked through

Find the sample standard deviation of this data set: 4, 8, 6, 5, 2.

Step 1: Find the mean. (4 + 8 + 6 + 5 + 2) / 5 = 25 / 5 = 5. Step 2: Find the deviation of each number from the mean by subtracting 5. The deviations are: -1, 3, 1, 0, -3. Step 3: Square each deviation to make them all positive. The squares are: 1, 9, 1, 0, 9. Step 4: Add the squared deviations together. 1 + 9 + 1 + 0 + 9 = 20. Step 5: Divide by n - 1 (since it is a sample). Here, n is 5, so we divide by 4. 20 / 4 = 5. This number is called the variance. Step 6: Take the square root of the variance. 52.24\sqrt{5} \approx 2.24. The sample standard deviation is approximately 2.24.

Questions students ask

Ask about this topic

Where this comes from: OpenStax Introductory Statistics, Chapter 2: Descriptive Statistics · Khan Academy, Summarizing quantitative data: Standard deviation

See also