Skip to the formula

Standard deviation formula: σ = √(Σ(x − μ)² / n)

The standard deviation formula is σ = √(Σ(x − μ)² / n) = √(Σx²/n − μ²).

What each letter means

When to use it

To measure how spread out data are around the mean. The second form is quicker when you are given Σx and Σx².

Worked example

Find the standard deviation of \(4,\ 7,\ 8,\ 10,\ 11\).

  1. \(\mu=\dfrac{40}{5}=8\)
  2. \(\sum(x-\mu)^2=16+1+0+4+9=30\), so \(\sigma=\sqrt{\tfrac{30}{5}}=\sqrt6\)

Answer: \(\sigma=2.45\) (3 s.f.)

Common mistake

Forgetting the square root (that gives the variance), or squaring the mean of x instead of subtracting μ².

Fix it with practice: Skill Builder: Measures of Central Tendency (free account).

Try one yourself

One quick IB Maths question on the standard deviation. No sign-in needed.

Find the standard deviation of \(1, 3, 5, 7, 9\) (treat the data as the whole population).
Choose your answer · keys 1–4

On your IB Maths course

CourseIn the exam
AA SL
All IB AA SL formulas by topic
Not in the booklet: learn it
AI SL
All IB AI SL formulas by topic
Not in the booklet: learn it
AA HL
All IB AA HL formulas by topic
Not in the booklet: learn it

From our own IB Maths formula sheets, in our words. The IB gives its booklet to schools, so we checked against our own copy: your teacher has the official one. Official: IB DP Mathematics page.

Practise and revise

Standard deviation formula card: σ = √(Σ(x − μ)² / n) = √(Σx²/n − μ²). IB Math Revision
Standard deviation card for IB Maths: download (PNG).

IB Maths FAQ

Is the standard deviation in the IB formula booklet?

AA SL: not in the booklet: learn it. AI SL: not in the booklet: learn it. AA HL: not in the booklet: learn it.

Should I divide by n or n − 1?

This page divides by n: the standard deviation of the data set itself (σx on a calculator). Dividing by n − 1 (sx) estimates a population's standard deviation from a sample; use it only when the question asks for that.

Our own wording, examples and card, checked by IB Math Revision. Not produced or endorsed by the International Baccalaureate Organization.