anındahesapla

Permutation calculator

Count how many ordered arrangements of r items can be made from n.

· Updated:

WhatsApp X Facebook

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

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).

  1. Enter the total number of items, n.
  2. Enter how many are selected in order, r.
  3. Read the number of permutations.
Input or resultValue
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.

Frequently Asked Questions

What is the difference from a combination?
A permutation counts each order separately, while a combination treats the same items in any order as one.
How is P(10, 3) found quickly?
Multiply ten by nine by eight.
What if r equals n?
You get the factorial of n, the number of ways to order the whole set.
What if items can repeat?
Use n to the power of r. A PIN with repeated digits is an example.
Where are permutations used?
In race results, seating plans and codes. Anywhere the order of the chosen items changes the outcome.

Related calculations