Combination and Permutation Calculator
Calculate combinations (nCr) and permutations (nPr) for choosing r items from n. Shows the formula and steps.
Combination and Permutation Calculator
What This Calculator Does
Both answer “how many ways can I pick things from ?” - but they split on whether the order matters:
- A permutation counts arrangements where order matters. Awarding gold, silver, and bronze to 8 runners: swapping who gets gold and silver is a different result.
- A combination counts groups where order does not matter. Picking 3 friends for a team: it is the same team no matter what order you name them.
Because order creates extra possibilities, there are always at least as many permutations as combinations. Both are built out of factorials.
The Formulas
A permutation counts arrangements (order matters); a combination counts selections (order does not). So P(n, r) is always at least as large as C(n, r).
How to Use It
- Choose combinations or permutations.
- Enter n (total items) and r (how many are chosen).
- Read the result and the steps.
Worked Examples
| n | r | Combinations C(n, r) | Permutations P(n, r) |
|---|---|---|---|
| 5 | 2 | 10 | 20 |
| 6 | 2 | 15 | 30 |
| 10 | 3 | 120 | 720 |
| 52 | 5 | 2,598,960 | 311,875,200 |
FAQ
What is the difference between a combination and a permutation?
A combination counts selections where order does not matter; a permutation counts arrangements where it does. Choosing 2 letters from A, B, and C gives 3 combinations but 6 permutations.
How do you calculate nCr?
Use . For C(5, 2): .
How do you calculate nPr?
Use . For P(5, 2): .
What is C(52, 5) used for?
It is the number of 5-card poker hands from a 52-card deck: 2,598,960.