Permutation and Combination Calculator
Enter n (items to choose from) and r (items chosen).
Result
Enter values and press Calculate to see the result.
Formula
Permutations: order matters.
Combinations: order does not matter.
How to use this calculator
- Enter whole numbers with r no bigger than n.
- Press Calculate to get both counts.
Worked example
Choose 2 from 5
5P2 = 5 × 4 = 20 ordered arrangements.
5C2 = 20 / 2! = 10 unordered selections.
Frequently asked questions
When does order matter?
For rankings or codes (permutations). For teams or hands of cards, order doesn’t matter (combinations).
Are the answers exact?
Yes — even very large counts are computed exactly.