Permutation calculator
Count how many ordered arrangements of r items can be made from n.
anındahesapla Editör Ekibi · Updated:
P(10, 3) = 720. Ten runners can fill the gold, silver and bronze places in 720 different ways. Order counts here, so the same three runners on different steps of the podium give different results.
Students working on probability, teachers setting exercises, event planners assigning seats and anyone estimating how many codes or passwords a rule allows use this count.
Result
720
P(10, 3) = 720
Result in all units
Step-by-step solution
P(n,r) = n! / (n−r)!
What a permutation is
A permutation is an ordered selection. Choosing A, B and C is different from choosing C, B and A.
That is the key difference from a combination, which ignores order.
The formula divides the factorial of n by the factorial of n minus r. The factorial of a number is the product of every whole number from one up to it.
A shortcut shows the idea. For ten items taken three at a time, multiply ten by nine by eight. That gives 720.
Each step has one fewer choice. The first place can go to any of ten, the second to any of the remaining nine, the third to any of eight.
When r equals n, the count equals the factorial of n: every possible ordering of the full set.
Lock combinations are in fact permutations. The order of digits decides whether the lock opens.
Seating plans, race results and schedules are everyday examples.
If items may repeat, as in a PIN where digits can appear more than once, the count is n to the power of r instead.
Permutation counts climb fast as n grows.
Short tip: when order counts, use permutations.
Tournament schedules use the same idea. The number of ways to order the finishers of a race, or to hand out a set of distinct prizes, grows quickly as the field gets bigger, so organisers set rules instead of listing each option.
In computing, permutations appear in sorting, testing and cryptography. A program that tries every ordering of a list soon runs into huge counts, so programmers look for shortcuts.
School exercises usually start with small numbers that can be listed by hand, then move to the formula once the pattern is clear.
How to calculate it
Formula: P(n, r) = factorial of n ÷ factorial of (n − r).
- Enter the total number of items, n.
- Enter how many are selected in order, r.
- Read the number of permutations.
| Input or result | Value |
|---|---|
| Total items (n) | 10 |
| Selected (r) | 3 |
| P(10, 3) | 720 |
In the example, ten times nine times eight gives the result.
To check a small case by hand, write out every ordered arrangement of three items taken two at a time. You should find six, and the calculator gives the same number for those inputs.
Write down n and r before you start. Swapping them is the most common slip.