Permutations Calculator
- P(n, r) = n! / (n - r)! = 10! / 7! = 720 ordered arrangements of 3 items drawn from 10.
- If order does not matter, divide by the 3! ways each selection can be arranged: C(n, r) = 120 combinations.
- With repetition allowed - the same item picked again - there are n^r = 1,000 sequences, and the full set of 10 items arranges in n! = 3,628,800 orders.
- Permutations count arrangements where order matters (podium finishes, codes, rankings); combinations count selections where it does not (committees, lottery draws, hands of cards).
The Permutations Calculator answers a specific question: how many different ways can you arrange a chosen number of items from a larger group when order matters? Enter your values for n and r, and the calculator applies P(n, r) = n! / (n - r)! to give the exact count. For example, arranging 3 of 10 items gives P(10, 3) = 720 permutations. Order is the key difference from combinations, which ignore it: C(10, 3) = 120, exactly 3! = 6 times fewer than the 720 permutations. Allow repetition and the count changes again, since 10^3 = 1,000 sequences is the maths of PINs and codes. A practical case: podium finishes from a field of 52 give P(52, 3) = 132,600 ordered results against C(52, 3) = 22,100 unordered groups.
This method is the accepted standard because the factorial formula counts every distinct ordering exactly once, with no double counting and no gaps. It is the definition taught in combinatorics and used wherever ordered selections are counted, from race results to access codes. Factorials also grow fast: 20! = 2.43 x 10^18, which is why large results print in compact form. This page shows the formula, step-by-step workings, worked examples and sources, so you can follow each calculation and check the answer yourself rather than trusting a black box.
Worked examples
Podium finishes from 10 finalists
Permutations P(n, r) = 720. Combinations C(n, r): 120; Permutations with repetition (n^r): 1,000; Factorial n!: 3,628,800. (10 · 3)
| Permutations P(n, r) | 720 |
| Combinations C(n, r) | 120 |
| Permutations with repetition (n^r) | 1,000 |
| Factorial n! | 3,628,800 |
5 ranked picks from 20
Permutations P(n, r) = 1,860,480. Combinations C(n, r): 15,504; Permutations with repetition (n^r): 3,200,000; Factorial n!: 2.43 x 10^18. (20 · 5)
| Permutations P(n, r) | 1,860,480 |
| Combinations C(n, r) | 15,504 |
| Permutations with repetition (n^r) | 3,200,000 |
| Factorial n! | 2.43 x 10^18 |
3 cards drawn in order from a deck
Permutations P(n, r) = 132,600. Combinations C(n, r): 22,100; Permutations with repetition (n^r): 140,608; Factorial n!: 8.07 x 10^67. (52 · 3)
| Permutations P(n, r) | 132,600 |
| Combinations C(n, r) | 22,100 |
| Permutations with repetition (n^r) | 140,608 |
| Factorial n! | 8.07 x 10^67 |
Permutations: when order matters
A permutation is an arrangement in which order counts. Change the order and you have a different permutation, even when the same items are involved. That single rule is what a permutations calculator applies every time you ask it to arrange some items from a larger set. The formula is P(n, r) = n! / (n - r)!, where n is the total number of items and r is how many you arrange. The exclamation mark means factorial: multiply a number by every whole number below it down to 1.
Here is the formula at work. Suppose you have 10 items and want to arrange 3 of them. P(10, 3) = 10! / (10 - 3)! = 10! / 7!. The 7! cancels out, leaving 10 x 9 x 8, which equals 720 permutations. Compare that with combinations, which ignore order: C(10, 3) = 120. The 720 permutations are exactly 3! = 6 times more than the 120 combinations, because each group of 3 items can be ordered 6 different ways. Same items, different question.
The podium makes the distinction concrete. Imagine a field of 52 competitors, and you want to know how many different gold-silver-bronze results are possible. P(52, 3) = 132,600 ordered results. If you only wanted to know which 3 competitors finish on the podium, in any order, that is C(52, 3) = 22,100 unordered groups. The gap between 132,600 and 22,100 is entirely about who stands where.
That is why podiums, rankings and codes are all permutations. A race result, a leaderboard, a seating plan or a password all depend on sequence, not just membership. With repetition allowed, the count changes again: 10^3 = 1,000 sequences, which is the mathematics behind PINs and codes where digits can repeat.
One practical warning: factorials grow very fast. 20! = 2.43 x 10^18, a number far beyond everyday display. That is why large results print in compact form, and why a permutations calculator handles the arithmetic so you do not have to.
- P(n, r) = n! / (n - r)! counts ordered arrangements.
- P(10, 3) = 720 permutations, versus C(10, 3) = 120 combinations.
- P(52, 3) = 132,600 podium results, versus C(52, 3) = 22,100 unordered groups.
- 10^3 = 1,000 sequences when repetition is allowed, as with PINs and codes.
Combinations: when order does not matter
Order is the dividing line between permutations and combinations. A permutations calculator counts every distinct arrangement, so arranging 3 of 10 items gives P(10, 3) = 720 permutations. A combinations count treats two arrangements as the same group whenever they contain the same items, so C(10, 3) = 120, exactly 3! = 6 times fewer than the 720 permutations. That factor of 6 is the number of ways to order any chosen group of three: ABC, ACB, BAC, BCA, CAB and CBA are six permutations but one combination. Dividing by 3! removes the orderings of each group and leaves only which items were picked.
The same contrast appears in a deck of cards. Podium finishes from a field of 52 give P(52, 3) = 132,600 ordered results against C(52, 3) = 22,100 unordered groups. If you care who finished first, second and third, you are counting permutations. If you only care which three made the podium, you are counting combinations, and the order in which the names are listed no longer matters.
Committees and hands of cards are the classic combinations examples. Choosing three people from ten to form a committee produces one group regardless of the order the names are read out, so the count is 120, not 720. A hand of cards works the same way: the hand is the same set of cards however it was dealt. Whenever the question is "which items were selected" rather than "in what order did they appear," you want the combinations count, and the permutations result divided by r! for the chosen group size.
Repetition changes the picture again. With repetition allowed, 10^3 = 1,000 sequences are possible, which is the maths of PINs and codes: order matters, and the same digit can appear more than once. That is a third kind of count, distinct from both the 720 permutations and the 120 combinations of three distinct items from ten.
Large counts also explain why output can look unusual. Factorials explode: 20! = 2.43 x 10^18, which is why large results print in compact form. A permutations calculator handles these big numbers for you, but the combinations-versus-order question is still yours to answer before you read the result.
- P(10, 3) = 720 permutations versus C(10, 3) = 120 combinations: 3! = 6 times fewer.
- P(52, 3) = 132,600 ordered podium results versus C(52, 3) = 22,100 unordered groups.
- Committees and card hands are combinations; PINs and codes with repetition are 10^3 = 1,000 sequences.
Permutations with repetition
Not every counting problem forbids repeats. A permutations calculator usually starts from the no-repetition formula P(n, r) = n! / (n - r)!, which arranges 3 of 10 items as P(10, 3) = 720 permutations. That formula assumes each item is used once. When symbols are allowed to repeat, the count changes, and the arithmetic becomes simpler: with repetition allowed, 10^3 = 1,000 sequences. That is the maths of PINs and codes.
A 3-digit PIN is the clearest example. Each of the three positions can hold any of the 10 digits, 0 through 9, and the same digit may appear more than once. Ten choices for the first position, ten for the second, and ten for the third give 10 × 10 × 10, or 10^3 = 1,000. So a 3-digit PIN has exactly 1,000 possible codes, from 000 to 999. Nothing is removed from the pool after a digit is used, which is why the count is a power rather than a falling factorial.
Compare that with the no-repetition case. Arranging 3 of 10 distinct items without reuse gives P(10, 3) = 720 permutations, because each pick shrinks the remaining pool. Repetition removes that shrinking, so the count rises to 1,000. The gap is the whole point: repetition rules decide whether you multiply by a constant n each time or by n, n - 1, n - 2, and so on.
The same distinction separates permutations from combinations. Combinations ignore order: C(10, 3) = 120, exactly 3! = 6 times fewer than the 720 permutations. Repetition and order are independent choices, so state both before you compute. A larger example shows the scale: podium finishes from a field of 52 give P(52, 3) = 132,600 ordered results against C(52, 3) = 22,100 unordered groups.
Large counts grow fast. Factorials explode: 20! = 2.43 x 10^18, which is why large results print in compact form. Repetition counts can grow quickly too, since each added position multiplies the total by n again. When you use a permutations calculator, check whether repetition is allowed and whether order matters; those two answers determine which formula applies before any number is entered.
- With repetition allowed: 10^3 = 1,000 sequences, the maths of PINs and codes.
- Without repetition: P(10, 3) = 720 permutations, because each pick shrinks the pool.
- Order ignored: C(10, 3) = 120, exactly 3! = 6 times fewer than the 720 permutations.
- Larger case: P(52, 3) = 132,600 ordered podium results against C(52, 3) = 22,100 unordered groups.
Factorials and huge numbers
Every permutation calculation rests on the factorial, written n! and read as the product of every whole number from 1 up to n. The formula P(n, r) = n! / (n - r)! is just a tidy way of counting the choices you make one after another. Arranging 3 of 10 items, for example, gives P(10, 3) = 720 permutations: 10 options for the first slot, 9 for the second, and 8 for the third. The factorial notation simply packages that shrinking chain of choices into a single expression.
Factorials grow far faster than most people expect, and that is the whole point of a permutations calculator. The jump from small inputs to enormous outputs is dramatic: 20! = 2.43 x 10^18. That is already a number in the quintillions, and it comes from only twenty items. Because each additional factor multiplies the running total rather than adding to it, every extra item pushes the result into a new order of magnitude. A count that looks modest on paper can easily exceed the number of seconds in the age of the universe.
This explosion is why large results switch to compact scientific form instead of printing a screen full of digits. A long string of numerals is hard to read and easy to misread, and past a certain size the individual digits stop being useful anyway. Scientific notation keeps the significant figures that matter and states the scale plainly, so you can see at a glance whether an answer is in the millions, the billions, or far beyond. The compact form is a readability decision, not a rounding away of the real answer.
The same growth shows up across every kind of counting problem. Combinations ignore order, so C(10, 3) = 120, which is exactly 3! = 6 times fewer than the 720 permutations of the same items. With repetition allowed, 10^3 = 1,000 sequences appear, the mathematics behind PINs and codes. Ordered versus unordered makes a visible difference at real-world scale too: podium finishes from a field of 52 give P(52, 3) = 132,600 ordered results against C(52, 3) = 22,100 unordered groups. In each case the underlying arithmetic is the same, and the size of the answer tells you how quickly the possibilities multiply.
FAQs
How do I calculate permutations?
Use the formula P(n, r) = n! / (n - r)!, where n is the total number of items and r is how many you arrange. The exclamation mark means factorial, the product of all whole numbers down to 1. For example, P(10, 3) works out to 720 ordered arrangements of 3 items chosen from 10.
What is the difference between permutations and combinations?
Order matters in permutations, but not in combinations. From 10 items, you get 720 ordered triples, since each different arrangement counts separately. The same 10 items give only 120 combinations, because groups with the same members are counted once no matter how they are ordered. Use permutations when position or sequence changes the result.
How many 3-digit PINs are there?
With repetition allowed, the count is 10^3 = 1,000. Each of the three positions can be any digit from 0 through 9, and digits may be reused, so you multiply 10 by itself three times. This treats every ordered sequence as a distinct PIN, which is exactly how a typical 3-digit PIN works.
How many podium combinations are there from 52 racers?
Ordered podiums are permutations, so P(52, 3) = 132,600 possible first, second, and third place finishes. If you ignore order and only ask which three racers reach the podium, the unordered groups are 22,100 combinations. The larger permutation count reflects that each group of three can finish in several different orders.
What is 20 factorial?
20! = 2.43 x 10^18 in compact form. Factorials outgrow plain notation quickly, so writing every digit becomes impractical at fairly small values of n. That is why calculators and references often show large factorials in scientific notation, keeping the size readable while preserving the leading digits.
When is repetition allowed?
Repetition is allowed when items can be reused, like digits in a PIN. In that case the count is n^r, where n is the number of choices and r is the number of positions. For the 3-digit example, that gives 1,000. When items cannot be reused, use the standard permutation formula instead.