What standard deviation tells you
Standard deviation is the typical distance of the numbers from their mean. A small value means the numbers are packed close together. A large value means they are scattered. It is in the same units as your data, so a standard deviation of 5 marks is easy to picture.
Class A scores 48, 50 and 52. Class B scores 30, 50 and 70. Both classes have a mean of 50, but the standard deviation is 2 for class A and 20 for class B. The mean hides that difference. The standard deviation shows it.
How it is worked out
- Find the mean.
- Subtract the mean from every value.
- Square each difference. This removes the minus signs.
- Add the squares up and divide (by n or n − 1, see below). That is the variance.
- Take the square root.
For 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5. The squared differences are 9, 1, 1, 1, 0, 0, 4, 16, which add to 32. Divide by 8 to get a variance of 4, and the square root gives a standard deviation of 2.
- x̄ = the mean of the numbers
- n = how many numbers there are
- σ = standard deviation of a whole population
- s = standard deviation of a sample
Population or sample?
If your numbers are the whole group, divide by n (population standard deviation, written σ). If they are only a sample taken from a bigger group, divide by n − 1 (sample standard deviation, written s). A sample sits a little closer to its own mean than the full group would, so n − 1 stops the result coming out too small. For the list above, s = √(32 ÷ 7) ≈ 2.14.
The 68–95–99.7 rule
The bell curve
For data that forms a bell curve, about 68% of values lie within one standard deviation of the mean (σ is the standard deviation), about 95% within two and about 99.7% within three. So if exam marks have a mean of 60 and a standard deviation of 10, most students scored between 50 and 70, and almost all between 30 and 90.
Margin of error for a sample
For a sample, the calculator also gives a rough 95% range for the true mean: mean ± 1.96 × s ÷ √n, where s is the sample standard deviation and n is the number of values. The more values you have, the narrower the range gets. With a very small sample the range should be a bit wider than this, because the 1.96 figure assumes a large sample.