Permutations vs Combinations: When Order Matters
On this page
A permutation counts arrangements where order matters, like first, second and third place. A combination counts selections where order does not matter, like choosing a team. Choosing 3 from 10 gives permutations but only combinations, because each group of 3 can be arranged in ways.
The key question: does order matter?
| Situation | Order matters? | Use |
|---|---|---|
| Gold, silver, bronze from 10 runners | Yes | Permutation |
| A committee of 3 from 10 people | No | Combination |
| A 4-digit PIN | Yes (and digits can repeat) | |
| Lottery numbers | No | Combination |
Factorials
means . For example, , and by definition .
Permutations
Example: medals for 10 runners.
There are 10 choices for gold, then 9 left for silver, then 8 for bronze.
Combinations
Example: a committee of 3 from 10.
Worked example: the lottery
Choosing 6 numbers from 49, where order does not matter:
So one ticket has a 1 in about 14 million chance of matching all six.
Combinations in probability
Combinations appear in the binomial formula. The probability of exactly 6 heads in 10 fair coin flips is
Repetition allowed
- Order matters, repetition allowed: (a 4-digit PIN has options).
- Order doesn't matter, repetition allowed: .
Common mistakes
- Using permutations for a team or a hand of cards.
- Forgetting that , which can save work.
- Writing and forgetting the .
Practice questions
- How many ways can 5 books be arranged on a shelf?
- How many 5-card hands come from a 52-card deck?
- How many ways to pick a president and a secretary from 8 people?
Answers: 1) 2) 3)
The permutation and combination calculator gives exact answers even for huge numbers. For "exactly k successes" questions, use the binomial distribution calculator.
Frequently asked questions
Why is 0! equal to 1?
There is exactly one way to arrange nothing, and defining 0! = 1 makes the formulas work for r = 0 and r = n.
Is nCr always smaller than nPr?
It is never bigger. They are equal only when r is 0 or 1.
How do I know which formula to use?
Ask whether swapping two chosen items gives a different outcome. If yes, use permutations; if no, use combinations.
#probability#counting#combinations
