What is a permutations calculator?
A permutations calculator tells you how many different ordered arrangements you can make by selecting items from a larger set of distinct items. Because order matters, picking item A then item B is counted separately from picking B then A.
Permutations show up whenever you need to count sequences: assigning gold, silver, and bronze medals to runners, choosing a president, vice‑president, and treasurer from a club, or working out how many distinct passwords or PIN orderings are possible.
How does it work?
Enter the total number of items and how many you want to arrange . The calculator evaluates the standard permutation formula and returns the result instantly. It expects whole, non‑negative numbers, and requires — you cannot arrange more items than you have.
The number of permutations of items taken from is:
Here (read “n factorial”) is the product of all positive integers up to , and by definition. Unlike a combination, a permutation distinguishes between different orderings of the same selection.
Worked examples
- n = 5, r = 2. ordered pairs.
- n = 10, r = 3. arrangements.
- n = 5, r = 5. , which is simply — every full ordering of all five items.
- n = 5, r = 0. , the single “empty” arrangement.
If you ask for — for instance and — the result is left blank, because there is no valid arrangement.
Practical notes
When order does not matter, you want a combination instead, which divides the permutation count by to remove duplicate orderings. The building block of both is the factorial, and growth of these counts is closely related to repeated multiplication explored in the exponent calculator.
Because factorials grow very quickly, permutation counts can become enormous: already exceeds . For large the result is an approximation limited by floating‑point precision.