Combination & Permutation Calculator
Count selections and arrangements. Combinations ignore order; permutations count every ordering.
How to use the combination & permutation calculator
- Choose combinations or permutations.
- 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.
Show answer
15.
2.
Show answer
210.
3.How many ways can 5 people line up?
Show answer
120. .
4.How many 4-person teams can be chosen from 9 people?
Show answer
126. .
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 .