Permutation and Combination Calculator
nPr, nCr, and the versions with repetition, for any n up to 1000.
How it works
Enter n things and choose r of them. nCr counts selections where order does not matter, nPr counts arrangements where order does. The tool also shows the counts when repeats are allowed. Large values are exact.
The formula
nPr = n! / (n - r)! nCr = n! / (r! (n - r)!) with repeats: n^r arrangements, C(n + r - 1, r) selections
Worked example
Choose 3 of 10: 10P3 = 10 x 9 x 8 = 720 and 10C3 = 720 / 6 = 120.
Good to know
- Ask: does the order matter? A password does (permutation). A committee does not (combination).
- nCr = nC(n - r), so 10C3 and 10C7 are the same.
- r cannot be more than n unless repeats are allowed.
Common questions
- What is the difference between permutation and combination?
- Permutation counts ordered arrangements, combination counts unordered groups.
- How do I count arrangements of a word with repeated letters?
- Divide n! by the factorial of each repeated count. This tool does not do that directly.
- What is 0!?
- 1.
More in Math, Science & Engineering.
Scientific Calculator with Steps
Type a whole expression and see the answer with each step in the order it was worked out.
OPEN →Matrix SolverDeterminant, inverse, rank, transpose, products and linear systems for small matrices.
OPEN →Laplace Transform TableStandard Laplace pairs and properties. Type part of a function like sin or e^ to filter.
OPEN →