Permutation & Combination Calculator
Permutations count arrangements where order matters, and combinations count selections where order does not. This calculator finds nPr and nCr exactly using whole-number arithmetic, so even very large results are precise. It also gives the counts when repetition is allowed and explains why combinations divide by r!.
How to use the permutation & combination calculator
- Enter the total number of items n.
- Enter how many are chosen, r.
- Press Calculate to see nPr, nCr and the steps.
Formula
Worked example: n = 10, r = 3
- Total items n: 10
- Items chosen r: 3
✓ Answer checked
- With repetition (order matters)
- With repetition (order does not matter)
Step-by-step working (2 steps)
Permutations (order matters) nPr = n!/(n − r)!
Multiply 3 decreasing numbers starting from 10.
Combinations (order does not matter) nCr = n!/(r!(n − r)!)
Divide by r! = 6 because each group of 3 can be arranged in r! orders.
Formulas used
How this was checked
- ✓ The step-by-step multiplicative formula gives the same number of combinations.
Frequently asked questions
What is the difference between a permutation and a combination?
In a permutation the order matters (first, second, third place). In a combination only the group matters (a team of three).
How many ways are there to choose 6 numbers from 49?
13,983,816 combinations, which is 49C6.
Why divide by r! for combinations?
Each group of r items can be arranged in r! different orders, and a combination counts all of those as one.
Related calculators
Binomial Distribution Calculator
Calculate binomial probabilities for exactly, at most or at least k successes in n trials.
Factor Calculator
List all the factors and factor pairs of a number, with its prime factorisation, number of factors and sum of factors.
Exponents & Powers Calculator
Raise any number to a power, including negative and fractional exponents.
