Formulas
| No repetition | With repetition | |
|---|---|---|
| Permutations (order matters) | n! ÷ (n − r)! | nʳ |
| Combinations (order doesn't) | n! ÷ (r! (n − r)!) | (n + r − 1)! ÷ (r! (n − 1)!) |
Examples
- Gold, silver and bronze among 10 runners: 10P3 = 720.
- A 3-digit PIN using digits 0–9, repeats allowed: 10³ = 1,000.
- Choosing 3 toppings from 10: 10C3 = 120.
- 5-card poker hands from a 52-card deck: 52C5 = 2,598,960.
Combinations are the C(n, k) in the binomial formula. For the probability of a particular outcome, divide 1 by the count; the basic probability calculator handles the rest.