Education Tools
Permutation Combination Calculator
Permutation Combination Calculator is part of Toolspire and is ready as soon as this page loads. nPr is the arrangements of r items from n. nCr is the groups, where order inside the group does not matter. Both use factorial division that stays exact.
On this page
What you can do here
Both counts on one page
The headline is nPr. The detail is nCr. You can see that combinations are the permutations divided by r!.
Exact division
BigInt factorials divide evenly for these formulas, so 5C2 is 10 and not 9.999.
Refuses r greater than n
Choosing 6 items from 5 is not given a zero disguised as a result. It is rejected.
The sequence
How to use the Permutation Combination Calculator
- 1
Decide whether order matters
A podium (gold, silver, bronze) is a permutation. A committee of three, with no roles, is a combination.
- 2
Type n first and r second
n is the size of the pool. r is how many you pick. Swapping them usually makes the page reject the input.
- 3
Check 5 and 2
You should see nPr 20 and nCr 10 before you use the page on a larger class list.
Worth knowing
- Permutation Combination Calculator on Toolspire: nPr = n! / (n − r)!. It counts arrangements, so order matters.
- nCr = nPr / r!. It counts groups, so {A, B} and {B, A} are one combination.
- 5P2 = 20 and 5C2 = 10. Those are the checks built into the test.
- n and r must be integers, r cannot exceed n, and n stops at 500 so the factorials stay bounded.
When to divide by r!
Each combination of r items can be arranged in r! orders. Counting arrangements first (nPr) and then dividing by r! removes those orders and leaves the combination. If the question says “arrange”, “rank” or “password”, keep nPr. If it says “choose”, “committee” or “hand of cards”, use nCr. The page shows both so the extra division is visible.
FAQ
Questions about Permutation Combination Calculator
Where does Permutation Combination Calculator run?
What is the difference between nPr and nCr?
What is 5C2?
Why is nCn equal to 1?
Can r be zero?
Keep going
Related tools
Last updated Report a problem or suggest a feature