Permutations & Combinations Calculator
Enter n and r to get the number of permutations, combinations and the factorial of n.
How to use it
- Enter n The total number of items.
- Enter r How many you choose.
- Read the results Permutations, combinations and n! update instantly.
Examples
| nPr(5, 2) | 20 |
|---|---|
| nCr(52, 5) | 2,598,960 |
About this tool
Permutations and combinations count the number of ways to arrange or choose items. Use permutations (nPr) when the order matters, like a race finishing order, and combinations (nCr) when it does not, like a lottery draw or a committee.
This calculator gives both, plus the factorial of n, computed exactly for the ranges that fit standard numbers. Everything runs in your browser.
Frequently asked questions
What's the difference between a permutation and a combination?
Permutations count arrangements where order matters; combinations count selections where order does not. There are always at least as many permutations as combinations.
When would I use nCr?
For things like lottery draws or choosing a committee, where the order of selection doesn't matter. Picking 6 from 49 gives 13,983,816 combinations.
Related tools
Updated June 12, 2026