Permutation and Combination Calculator
Enter how many items you have and how many you are choosing to see the number of arrangements and combinations.
Enter your values
Result
Use permutations when the order of the selection matters, and combinations when it does not.
How to use the Permutation and Combination Calculator
- 1Enter total items (n) in the form on the left.
- 2Fill in the remaining fields — the result updates automatically as you type.
- 3Review the highlighted result and the supporting breakdown on the right.
- 4Use Copy, Share or Print to save or send your result.
Permutations versus combinations
The only difference is whether order counts. A permutation treats ABC and CBA as two different outcomes; a combination treats them as the same selection. That is why the number of permutations is always at least as large as the number of combinations for the same n and r.
A race podium is a permutation — first, second and third are distinct positions. A lottery draw is a combination, because the balls are the same set whatever order they came out in. Picking the wrong one is the most common error in this kind of problem.
The formulas
Permutations use nPr = n! / (n − r)!, which counts the ways of filling r ordered slots from n items. Combinations use nCr = n! / (r!(n − r)!), which divides out the r! ways each selection could have been ordered.
If items can be picked more than once — like digits in a PIN — neither formula applies. That case is simply n^r, since every position has all n options available. The calculator shows this separately.
Frequently Asked Questions
▸What is the difference between nPr and nCr?
nPr counts ordered arrangements and nCr counts unordered selections. nCr is always nPr divided by r!, because each unordered selection can be arranged in r! different orders.
▸How many ways can I choose 3 from 10?
120 if order does not matter (10C3), or 720 if it does (10P3).
▸Why do large numbers show in scientific notation?
Factorials grow extremely fast — 20! is already over two quintillion. Beyond about 15 digits, standard number formatting loses precision, so results switch to scientific notation.