Combinations, permutations, variations — what’s the difference?
| Type | Order | Repetition | Formula | Example |
|---|---|---|---|---|
| Permutations | matters | — | n! | ways to line up 5 people: 120 |
| Variations without repetition | matters | no | n! / (n − k)! | podium of 3 from 10 athletes: 720 |
| Variations with repetition | matters | yes | nᵏ | 4-digit PINs: 10,000 |
| Combinations | doesn’t matter | no | n! / (k!(n − k)!) | lottery 6 of 49: 13,983,816 |
| Combinations with repetition | doesn’t matter | yes | C(n + k − 1, k) | 3 scoops from 4 flavours: 20 |
How to pick the right formula
- Does order matter? (podium, code, arrangement — yes; team line-up, set of numbers — no).
- Can items repeat? (digits in a PIN — yes; people in a team — no).
- Are you using all the items? If so and order matters, it’s a permutation.
The calculator works exactly with big integers — even 1000! (a 2,568-digit number) is shown in full.
Frequently asked questions
How many combinations are there in a 6/49 lottery?
C(49, 6) = 13,983,816, so one line has a 1 in 13,983,816 chance of the jackpot.
What is a factorial?
The product of whole numbers from 1 to n: 5! = 1 × 2 × 3 × 4 × 5 = 120. By definition 0! = 1.