Curious Minds

Clear answers to science and history questions

Permutations: How Many Different Arrangements?

· 6 min read · Numbers and Records

The number of different permutations of a set is the number of distinct orderings of its elements. For n distinct items, there are n! (n factorial) permutations, meaning n × (n−1) × (n−2) × … × 1. For example, 3 distinct items have 3! = 6 permutations, and 5 distinct items have 5! = 120. When some items are identical, or when only a subset is arranged, the count changes according to specific formulas explained below.

What a Permutation Is

A permutation is an arrangement of items in a definite order. The key word is order: the arrangement ABC is different from ACB, even though both contain the same three letters. This distinguishes permutations from combinations, where order does not matter. The study of permutations goes back centuries in mathematics, appearing in Indian, Arab and European combinatorial texts, and it remains central to probability, cryptography, scheduling and computer science.

Permutations apply to any collection of distinct objects: letters in a word, people in a line, books on a shelf, or tasks in a sequence. The question “what is the number of different permutations?” always depends on two things: how many items there are, and whether any of them are identical.

The Basic Formula for Distinct Items

If you have n distinct items and you arrange all of them, the number of permutations is n factorial, written n!. The reasoning is a simple product: there are n choices for the first position, n−1 for the second, n−2 for the third, and so on down to 1 for the last position.

  • 1 item: 1! = 1 permutation
  • 2 items: 2! = 2 permutations (AB, BA)
  • 3 items: 3! = 6 permutations
  • 4 items: 4! = 24 permutations
  • 5 items: 5! = 120 permutations
  • 10 items: 10! = 3,628,800 permutations

Factorials grow extremely fast. Twenty distinct items have over 2.4 quintillion permutations, which is why exhaustive listing becomes impossible beyond small sets.

Partial Permutations: Arranging a Subset

Sometimes you arrange only r items chosen from n distinct items. The number of such partial permutations is written P(n, r) or nPr, and equals n! / (n−r)!. This counts ordered selections: choosing a president, vice-president and treasurer from a club of 10 people gives P(10, 3) = 10 × 9 × 8 = 720 possible outcomes. The same formula answers questions about medal winners in a race, PIN codes without repeated digits, or the first three songs in a playlist drawn from a larger library.

A common mistake is to use combinations (nCr) when order matters. If the roles are distinct, use permutations; if the group is unordered, use combinations.

Permutations with Repeated Items

When some items are identical, many arrangements look the same. The formula divides the total factorial by the factorial of each repeated group’s count. For a word with letters where one letter appears a times, another b times, and so on, the number of distinct permutations is n! / (a! × b! × …).

For example, the word “BANANA” has 6 letters with A repeated 3 times and N repeated 2 times. The number of distinct permutations is 6! / (3! × 2!) = 720 / (6 × 2) = 60. Without the division, you would overcount each arrangement by the number of ways the identical letters can be swapped.

This same idea applies to arrangements of coloured balls, seating plans with identical chairs, or sequences of identical machine parts.

Circular Permutations

When items are arranged in a circle, rotations that produce the same relative order are considered identical. For n distinct items around a circle, the number of distinct circular permutations is (n−1)!. For example, 5 people around a round table can be seated in 4! = 24 distinct ways, because rotating the whole arrangement does not create a new seating plan. If reflections are also considered identical (as with a necklace that can be flipped), the count is halved for n greater than 2, giving (n−1)! / 2.

Circular permutations appear in problems about round tables, clock faces, necklaces and ring arrangements. The key is to fix one item as a reference point, then permute the rest.

Common Mistakes and How to Avoid Them

  • Using combinations when order matters. If swapping two items creates a different outcome, you need permutations.
  • Forgetting repeated items. Words with duplicate letters, or sets with identical objects, require dividing by the factorials of the repeats.
  • Treating circular arrangements like linear ones. Rotations are not distinct in a circle, so divide by n (equivalently, use (n−1)!).
  • Assuming all items must be used. Partial permutations use n! / (n−r)!, not n!.
  • Confusing “distinct permutations” with “total arrangements.” The phrase usually means arrangements that look different; identical items reduce the count.

A useful check is to ask: does swapping two items change the result? Are any items indistinguishable? Is the arrangement linear or circular? Answering these three questions selects the right formula.

Where Permutation Counts Are Used

Permutation counting underpins many practical tasks: generating passwords and PINs, scheduling matches in a tournament, arranging seating plans, ordering tasks in a project, analysing gene sequences, and estimating probabilities in card games. In computer science, algorithms that generate all permutations are used in testing and optimisation, though the factorial growth limits them to small inputs. In statistics, permutations support randomisation tests and resampling methods.

Understanding the count also helps avoid security mistakes: a 4-digit PIN with no repeats has 10 × 9 × 8 × 7 = 5,040 possibilities, while allowing repeats gives 10,000. The difference matters when judging how easily a code can be guessed.

Frequently Asked Questions

How many permutations does a 4-letter word have?

If all four letters are distinct, there are 4! = 24 permutations. If letters repeat, divide by the factorial of each repeat count. For example, “BOOK” has 4! / 2! = 12 distinct permutations because O appears twice.

What is the difference between a permutation and a combination?

A permutation counts ordered arrangements; a combination counts unordered selections. For three items A, B, C, there are 6 permutations but only 1 combination of all three. For choosing 2 of 3, there are 6 permutations (AB, BA, AC, CA, BC, CB) but 3 combinations (AB, AC, BC).

How many ways can 5 people sit around a round table?

For 5 distinct people around a circle, the number of distinct arrangements is (5−1)! = 4! = 24, because rotations of the same seating order are considered identical.

Why is 0! equal to 1?

By convention, 0! = 1. This makes formulas like n! / (n−r)! work when r = n, and it matches the idea that there is exactly one way to arrange nothing: an empty arrangement.

Can permutations include identical items?

Yes, but the count is adjusted. The formula n! / (a! × b! × …) accounts for identical items by dividing out the arrangements that look the same. This is often called the multinomial coefficient.

How many permutations are there of the letters in “MISSISSIPPI”?

The word has 11 letters: M once, I four times, S four times, P twice. The number of distinct permutations is 11! / (1! × 4! × 4! × 2!) = 39,916,800 / (1 × 24 × 24 × 2) = 34,650.

In this article
  1. What a Permutation Is
  2. The Basic Formula for Distinct Items
  3. Partial Permutations: Arranging a Subset
  4. Permutations with Repeated Items
  5. Circular Permutations
  6. Common Mistakes and How to Avoid Them
  7. Where Permutation Counts Are Used
  8. Frequently Asked Questions