Skip to the formula

nCr formula: nCr = n! / (r!(n − r)!)

The nCr formula is nCr = n! / (r!(n − r)!).

What each letter means

When to use it

In IB AA, for the coefficients of a binomial expansion and a single term of (a + b)ⁿ, and in probability questions that count selections. AA HL adds permutations, such as arrangements with restrictions.

Worked example

In how many ways can a team of 4 be chosen from 10 students?

  1. \(\binom{10}{4}=\dfrac{10!}{4!\,6!}=\dfrac{10\times9\times8\times7}{4\times3\times2\times1}\)

Answer: \(210\) ways

Common mistake

Using the wrong r in a 'find the term in x⁴' question. The general term is nCr aⁿ⁻ʳ bʳ: set the power of x equal to 4 to find r first.

Fix it with practice: Skill Builder: Counting and Binomials (free account).

Try one yourself

One quick IB Maths question on the nCr formula (combinations). No sign-in needed.

In how many ways can a committee of \(2\) be chosen from \(12\) people?
Choose your answer · keys 1–4

On your IB Maths course

CourseIn the exam
AA SL
All IB AA SL formulas by topic
In the IB formula booklet

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

nCr formula (combinations) formula card: nCr = n! / (r!(n − r)!). IB Math Revision
nCr formula (combinations) card for IB Maths: download (PNG).

IB Maths FAQ

Is the nCr formula (combinations) in the IB formula booklet?

AA SL: in the IB formula booklet.

Why is nCr the same as nC(n − r)?

Choosing r items to take is the same as choosing the n − r to leave behind, so 10C3 = 10C7 = 120.

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