Our free permutation calculator counts how many ways you can arrange items when the order matters. Whether you are working out passwords, race finishes or seating plans, enter the total number of items and how many you choose, and get the answer instantly.
These figures are estimates only for educational purposes. No personal data is collected or saved.
How to use this permutation calculator
Enter n, the total number of items, and r, how many of them you are arranging. Click Calculate Permutations and the calculator works out nPr. Formula: nPr = n! ÷ (n − r)!, where n! means n factorial, the product of all whole numbers from 1 to n. Order matters here: ABC and CBA count as different arrangements.
Frequently asked questions
What is a permutation?
A permutation is an arrangement of items in a particular order. Choosing a first, second and third place from five runners gives a permutation, because swapping two runners changes the result.
How is a permutation different from a combination?
In a permutation the order matters, while in a combination it does not. The same three items can be arranged in 6 orders, so there are usually many more permutations than combinations.
What if r is larger than n?
That is not possible: you cannot choose more items than you have. The calculator will ask you to enter an r that is no larger than n.
What other calculators can I use?
Try our combination calculator when order does not matter, the probability calculator to work out chances, or the factorial calculator to find n!. You can also return to the homepage to explore more guides.