Skip to content

Search topics

Practise for free Sign in

Calculator Sequences and series

Binomial coefficient calculator

In one sentence

Evaluates C(n, r) = n!/(r!(n − r)!).

Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)

Key facts

Binomial coefficient calculator

Formula ref
C(n, r) = n!/(r!(n − r)!)
Topic
Sequences and series

Inputs

  • n, r

Worked input

  • Input n = 12, r = 4.
  • 12 × 11 × 10 × 9/(4 × 3 × 2 × 1) = 11880/24.
  • C(12, 4) = 495.
  • Take n = 9 and r = 0, the edge case where nothing is chosen. The formula gives 9!/(0! × 9!) = 1, because 0! is defined as 1. Choosing nothing from a set can be done in exactly one way, and the same is true of choosing everything, which is why the edges of Pascal's triangle are all ones. Check: there is exactly one way to choose no items from a group of nine, and by symmetry C(9, 9) is also 1.
  • Take n = 20 and r = 17, where the long product is avoided by using symmetry. C(20, 17) = C(20, 3) = 20 × 19 × 18/6 = 1140. Symmetry lets you replace a large value of r by the smaller n minus r, which cuts the length of the calculation dramatically and reduces the chance of an arithmetic error. Check: choosing 17 items to keep is the same as choosing 3 to leave out, so the two coefficients must be equal.
  • Take n = 8 and r = 3, a small case that can be confirmed from Pascal's triangle. C(8, 3) = 8 × 7 × 6/6 = 56. Each entry in Pascal's triangle is the sum of the two above it, so a small coefficient can always be confirmed by a short addition, which is a handy check when no calculator is allowed. Check: the two entries above it in the triangle are C(7, 2) = 21 and C(7, 3) = 35, and they add to 56.

How to use it

  • Enter n and r with r ≤ n.
  • Use symmetry C(n, r) = C(n, n − r) to shorten the work.

Binomial coefficient calculator for your study of A-level maths: where it comes from and what it covers.

See also Number of terms of an arithmetic series, Sum to infinity calculator, Arithmetic sequence nth term and sum and Sigma notation evaluator.

Study brief

  • The binomial coefficient for n, where r is an integer such that 0 ≤ r ≤ n, is denoted as nCr. This value is calculated using the formula n! / (r!(n - r)!). Within these calculations, n factorial (n!) represents the product n × (n - 1) × … × 2 × 1 for a natural number n, while 0! is equal to 1. For A Level Maths, students use the binomial distribution as a model for real-world situations. The notation X ∼ B(n, p) can be applied to describe this distribution. Learners should be able to calculate probabilities by using a calculator to find either individual or cumulative binomial probabilities. This involves understanding discrete distributions and the calculation of the mean and variance of discrete random variables. Identifying the discrete uniform distribution is also part of the required knowledge. Understanding these models helps in describing certain scenarios, and students are expected to comment critically on how appropriate a model is for a given situation.

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction