Permutation and Combination Calculator — nPr nCr
CalculatorA permutation and combination calculator finds nPr when order matters and nCr when order does not matter.
What is it
A permutation counts arrangements where order is different, while a combination counts selections without order. Both formulas are based on factorials.
nPr = n! / (n-r)!, nCr = n! / (r!(n-r)!)
How to use
- 1Enter total n.
- 2Enter selected r.
- 3Check permutation nPr and combination nCr.
Reference
| n | r | nPr | nCr |
|---|---|---|---|
| 5 | 2 | 20 | 10 |
| 10 | 3 | 720 | 120 |
Sources & standards
- MDN Web Docs: Client-side web APIs - MDN Web Docs
FAQ
What is the difference between permutation and combination?
Permutation considers order, while combination ignores order. AB and BA are different permutations but the same combination.
Is permutation and combination input sent to a server?
No. This tool runs in your browser and does not send input to a server.