Results

Cambridge November 2026 results: AS & A Level on 7 January 2027, IGCSE and O Level on 14 January 2027.

Source: Cambridge International
STUDY GUIDE

Standard Deviation Formula: Step-by-Step Worked Example

Standard deviation measures how spread out data is around the mean. A small value means the data is bunched near the mean; a large value means it is spread out. This page gives the formula, works one data set through every step, and explains the difference between the population and sample versions, which is where most confusion comes from.

Book your free 30-minute demo

Updated November 2026.

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.

StepWhat to do
1Find the mean, x̄.
2Subtract the mean from each value, x − x̄.
3Square each difference.
4Add the squares, then divide by n. This is the variance.
5Take the square root. This is the standard deviation.

Worked example

Data: 2, 4, 4, 4, 5, 5, 7, 9. There are eight values.

xx − mean(x − mean)²
2−39
4−11
4−11
4−11
500
500
724
9416
  • 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

Related pages

Try a free 30-minute demo

Work through a question with a tutor. No payment needed.

Request a free 30-minute demo
YOUR NEXT STEP

A little clarity starts with 30 minutes.

Share your goals, explore a question and discuss a learning plan. Request your free 30-minute demo class — no payment needed. Tutor and time are confirmed separately.

Book your free 30-minute demo
Book free demoWhatsApp us