Skip to content

Combination & Permutation Calculator

Count selections and arrangements. Combinations ignore order; permutations count every ordering.

How to use the combination & permutation calculator

  1. Choose combinations or permutations.
  2. Enter n and r (whole numbers, r ≤ n).

Examples

10C3

Answer: 120

10P3

Answer: 720

Combinations vs permutations

Both count ways to choose items from . The question is whether order matters.

  • Permutations (order matters, as in rankings, codes and seating):

  • Combinations (order doesn't matter, as in teams, hands of cards and committees):

The calculator computes both, shows the factorial cancellation step by step, and also handles repetition.

Worked example: same numbers, two questions

From 10 students:

  • Choose a president, vice-president and secretary (order matters): .
  • Choose a 3-person committee (order doesn't matter): .

Each committee of 3 can be arranged ways, which is why we divide by 6.

Worked example: cards

How many 5-card poker hands are there?

Counting with repetition

  • Order matters, repetition allowed: . A 4-digit PIN has options.
  • Order doesn't matter, repetition allowed: . Choosing 3 scoops from 5 flavours, repeats allowed: .
  • Arranging letters with repeats: . "BANANA" has arrangements.

Quick test: does order matter?

Swap two chosen items. If it's a different outcome (gold/silver swapped), use permutations. If it's the same outcome (the same team), use combinations.

Common mistakes

  • Using permutations for a "choose a group" question.
  • Computing huge factorials in full. Cancel first: .
  • Remember , so .

Combinations give the binomial coefficients in Pascal's triangle and in probability problems like lotteries: the chance of matching 6 numbers from 49 is .

In real life: how likely is a lottery win?

In a lottery where you pick 6 numbers from 1 to 49, the order you pick them in doesn't matter, so the number of possible tickets is a combination:

One ticket has a 1 in about 14 million chance. Even buying 100 tickets a week, you'd expect to wait thousands of years on average.

Permutations count passwords. A 4-character code using the 26 letters A–Z with no repeats has options. Allowing repeats gives , and adding digits and mixed case makes the number grow far faster.

Formulas

Practice problems

Try each one first, then open the answer to check your work.

  1. 1.

    Show answer

    15.

  2. 2.

    Show answer

    210.

  3. 3.How many ways can 5 people line up?

    Show answer

    120. .

  4. 4.How many 4-person teams can be chosen from 9 people?

    Show answer

    126. .

  5. 5.How many arrangements of the letters in LEVEL?

    Show answer

    30. .

Key terms

Permutation
An arrangement where order matters.
Combination
A selection where order doesn't matter.
Factorial
.
With replacement
Items can be chosen more than once.
Binomial coefficient
Another name for .

Frequently asked questions

How do I know if order matters?

If swapping two chosen items gives a different outcome (like a race podium), use permutations; if not (like a committee), use combinations.

How do I know if a problem allows repetition?

Ask whether the same item can be picked twice. Digits in a PIN can repeat, but people on a committee can't. Drawing cards without putting them back means no repetition.

Why is $\binom{n}{r} = \binom{n}{n - r}$?

Choosing items to include is the same as choosing items to leave out. So .

What is a circular permutation?

Arranging items around a circle, where rotations count as the same. people around a round table can sit in ways.

How is this connected to Pascal's triangle?

Row of Pascal's triangle lists . Each number is the sum of the two above it.

What does 'n choose r' mean?

It's another name for the combination : the number of ways to choose items from when order doesn't matter.