# Standard Deviation

> How to measure how spread out numbers are, not just where their middle sits. Why two sets with the same mean can tell very different stories.

**Course:** [Probability and Statistics](https://learn.benibix.com/learn/general-math)  
**Time:** 11 min

**After this lesson you can:**

- Explain what variance measures
- Read a standard deviation in plain words
- Compare two sets with the same mean

## How do you measure how spread out numbers are?

An average tells you where the middle is. It says nothing about how spread out the numbers are. Variance is the average squared gap from the mean. Standard deviation is its square root, which puts it back in the same units as the data. A small one means the numbers are bunched up. A big one means they are scattered.

Take the numbers 1, 3, 5 and 7. Their mean is 4. The gaps from 4 are 3, 1, 1 and 3. Square them and you get 9, 1, 1 and 9, which add up to 20. Divide by 4 and the variance is 5. The square root of 5, about 2.2, is the standard deviation.

Why square the gaps? Without squaring, the gaps below and above the mean would cancel out to zero. Squaring makes every gap count, and it makes big gaps count much more than small ones.

Two sets can share a mean and still differ completely. A bus that is always 10 minutes late and a bus that is either on time or 20 minutes late have the same average delay. But you can plan around the first one. Spread is what makes the second so frustrating.

Standard deviation shows up everywhere. Factories use it to check that parts are all close to the right size. Investors use it to measure how wildly a price swings. Weather reports use the idea when they say a day was unusually warm.

When you work from a sample rather than the whole group, people divide by one less than the count. It nudges the answer up a little, to make up for a small sample missing the extremes. The idea stays the same.

The common mistake is to report an average with no sense of spread. An average delivery time of 3 days means little if some orders take 1 day and others take 10. Ask for the spread as well as the middle.

![Four dots on a number line at 1, 3, 5 and 7, with the mean marked at 4. Below, each gap is drawn as a square: two big squares of 9 and two small squares of 1. A box adds them up: 9 plus 1 plus 1 plus 9 is 20, and 20 divided by 4 is 5.](https://learn.benibix.com/diagrams/gen-variance.svg)

### Example: Two coffee machines

A cafe tests two machines that both pour an average of 200 ml. Machine A has a standard deviation of 2 ml. Machine B has one of 15 ml.

With B, some cups come out 30 ml short or more. The owner buys A, because customers notice a cup that is not full.

**Words in this lesson:** [Variance](https://learn.benibix.com/term/general/variance), [Standard Deviation](https://learn.benibix.com/term/general/standard-deviation)

**Question:** Two classes both average 70 on a test. Class A has a standard deviation of 3, and class B has 15. What does that mean?

**Answer:** Class A's scores are bunched close to 70, and class B's are spread far apart. Same middle, different spread. Most of class A scored near 70, while class B had many high and many low scores.

---

Source: https://learn.benibix.com/learn/general-math/standard-deviation
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
