Permutation Calculator
Count the ways to arrange r items chosen from n when order matters, with or without repeats.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
nPr = n! / (n - r)!; with repeats n^r
Frequently asked questions
What is the difference between a permutation and a combination?
Order matters in a permutation. Choosing 3 runners for gold, silver and bronze is a permutation.
Are the numbers exact?
Yes, even for big values. They are calculated as whole numbers.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Combination Calculator
Count the ways to choose r items from n when order does not matter, with or without repeats.
Prime Number Checker
Check whether a whole number is prime, and get its prime factorisation, the next prime and the previous prime.
Fraction Calculator
Add, subtract, multiply or divide two fractions and see the answer in lowest terms, as a mixed number and as a decimal.