Permutation Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the total number of items and how many you arrange, to count the possible ordered arrangements.
Result
Permutations P(n, r)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Total number of items (n): enter 0 or more.
- Number of items arranged (r): enter 0 or more.
- Read the result: Permutations P(n, r).
How this calculator works
P(n, r) = n! ÷ (n − r)!: the number of ordered arrangements of r items taken from n distinct items, each used at most once. For r = n it is n!.
Results above about 10¹⁵ are shown rounded.
The formula
| Symbol | Meaning |
|---|---|
| Total number of items | |
| Number of items arranged | |
| Permutations P(n, r) | |
npr(n, k) | the number of ways to arrange k items from n, order counted. |
Worked example
| Total number of items (n) | 10 |
|---|---|
| Number of items arranged (r) | 3 |
Permutations P(n, r) 720
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How many ways can 3 medals go to 10 runners?
P(10, 3) = 10 × 9 × 8 = 720.
How many ways can 8 people sit in a row?
8! = P(8, 8) = 40,320.