By Learn All Students. Source check dates are listed below.
The formula
AQA's A Level Mathematics formulae booklet (7356, 7357) lists standard deviation under probability and statistics, giving two equivalent expressions for the quantity under the square root: the mean of the squared differences from the mean, Σ(x − x̄)² ÷ n, and Σx² ÷ n − x̄². The standard deviation is the square root of either. The booklet divides by n.
| Step | What to do |
|---|---|
| 1 | Find the mean, x̄. |
| 2 | Subtract the mean from each value, x − x̄. |
| 3 | Square each difference. |
| 4 | Add the squares, then divide by n. This is the variance. |
| 5 | Take the square root. This is the standard deviation. |
Worked example
Data: 2, 4, 4, 4, 5, 5, 7, 9. There are eight values.
| x | x − mean | (x − mean)² |
|---|---|---|
| 2 | −3 | 9 |
| 4 | −1 | 1 |
| 4 | −1 | 1 |
| 4 | −1 | 1 |
| 5 | 0 | 0 |
| 5 | 0 | 0 |
| 7 | 2 | 4 |
| 9 | 4 | 16 |
- Mean = (2 + 4 + 4 + 4 + 5 + 5 + 7 + 9) ÷ 8 = 40 ÷ 8 = 5.
- Sum of squares = 9 + 1 + 1 + 1 + 0 + 0 + 4 + 16 = 32.
- Variance = 32 ÷ 8 = 4.
- Standard deviation = √4 = 2.
- Check with the other form: Σx² = 4 + 16 + 16 + 16 + 25 + 25 + 49 + 81 = 232, so 232 ÷ 8 − 5² = 29 − 25 = 4. The two forms agree.
Population or sample
If the data is the whole group you care about (a population), divide by n, as above. If it is a sample used to estimate the spread of a larger group, many courses divide by n − 1 instead. For the same data that gives √(32 ÷ 7) ≈ 2.14. Calculators often show both, labelled σn and σn−1 or similar, so check which one your course expects and which button you used.
- Variance is the standard deviation squared, so its units are squared.
- Standard deviation is never negative.
- Adding the same number to every value does not change the standard deviation; multiplying every value by k multiplies it by k.
- Compare two data sets only when they use the same units and similar means.
How a tutor would approach this
A tutor can go through a standard deviation question with you, checking which version your course uses and where the arithmetic slips. Bring a recent question to the free demo. This is online tutoring by video; we do not offer in-person tutoring.
See the matching syllabus page →Frequently asked questions
What is the formula for standard deviation?
The square root of the mean of the squared differences from the mean, √(Σ(x − x̄)² ÷ n). An equivalent form is √(Σx² ÷ n − x̄²).
What is the difference between variance and standard deviation?
Variance is the mean squared difference from the mean. Standard deviation is its square root, so it is in the same units as the data.
When do I divide by n − 1?
Some courses use n − 1 for a sample, to estimate the spread of a larger population. Check which your course and calculator use.
Can standard deviation be zero?
Yes, if every value is identical. It is never negative.
Can I try a lesson before paying?
Yes. The first 30-minute demo is free and needs no payment details. A standard paid class is 60 minutes.
Official sources
- AQA: Formulae for A-level Mathematics (7356, 7357), official PDF (checked 2026-11-18)
- GOV.UK: National curriculum in England, mathematics programmes of study (checked 2026-11-18)
Related pages
Try a free 30-minute demo
Work through a question with a tutor. No payment needed.
Request a free 30-minute demo