Permutations: Definition, Formulas, and Examples
A permutation counts arrangements where order matters. Selecting different objects from without repetition gives , while repeated choices use a different product.
When scheduling performances, setting an alarm code, or awarding first place, changing the sequence changes the result completely.
What is a permutation?
A permutation is a specific arrangement of objects where the exact sequence of selection is important.
A permutation is a mathematical arrangement where the exact order of the items matters.
If you change the sequence of the items, you create an entirely new arrangement. For example, arranging the letters A and B gives two distinct permutations.

For small numbers of items, you can find all permutations by using systematic listing strategies. As the numbers grow larger, formulas and multiplication rules become necessary.
Test whether order matters
Before counting arrangements, you must confirm that the sequence of choices actually changes the result.
If changing the sequence changes the outcome, the problem is a permutation. Passwords, PINs, phone numbers, and race finish lines all depend on strict order. A digital passcode of is not the same as .
If rearranging the items does not change the outcome, the problem requires a different counting method. Mixing bananas and strawberries yields the same smoothie regardless of which fruit goes into the blender first.
Count arrangements by multiplication
You can count permutations step by step by finding the number of choices available for each position.
This relies on the product rule for counting, which states that you multiply the available options at each stage together. When selecting runners for a podium, the number of choices decreases because a runner cannot finish in two different places simultaneously.
If there are runners racing for podium positions, you calculate the arrangements progressively.

Any one of the runners could finish first. After the winner crosses the line, runners remain eligible for second place. Finally, runners compete for third. Multiplying yields exactly possible podium arrangements.
Use the nPr formula
When selecting from a large group without repetition, counting every position manually is slow. The standard permutation formula provides a faster calculation.
To find the number of ways to arrange objects chosen from a total pool of objects, use factorials in the following formula:
The letter represents the total number of items available, and represents how many items you are arranging. This is also commonly written in texts or calculators as or .
For example, choosing winners from contestants means and . You substitute these into the formula as , which simplifies to .
Compare repetition and no repetition
The standard formula only works when repetition is forbidden, meaning each item can be chosen only once.
If items can be reused, you do not decrease the number of options at each step. Instead, you multiply the full number of options by itself for every position . The number of permutations with repetition is simply .

Digital passcodes usually allow repetition, meaning you can choose the digit multiple times in the code . A race podium strictly forbids repetition, because a person cannot occupy both first and second place.
Compare permutations and combinations
Knowing whether order influences the result helps you choose the correct formula.
Permutations count ordered lists. Combinations count unordered groups.
When evaluating multiple possibilities, use the formula for permutations. If a problem requires selecting a group where internal sequence does not matter, you must use combinations instead. You can visually map both scenarios using probability tree diagrams, but formulas are much faster for large groups.
Worked examples
Review how to apply the counting rules across different scenarios.
Example 1: Short ordered codes
Question: How many unique -digit codes can be made from the digits through if no digit is repeated?
Given: There are possible digits (), and you must arrange of them () where order matters.
Method:
- Choose the formula for permutations without repetition, .
- Substitute and into the expression.
- Simplify the fraction by canceling the common factorial terms.
Answer: . There are unique codes.
Check: Use the multiplication principle. The first digit has options, the second has , the third has , and the fourth has . Multiplying confirms the result is .
Example 2: Arrangements of letters
Question: In how many ways can you arrange letters chosen from the word ?
Given: The word contains distinct letters, so . You are arranging of them, making .
Method:
- Use the standard formula .
- Substitute and .
- Evaluate the factorials.
Answer: . There are possible letter arrangements.
Check: Multiply the choices for the first letter by the remaining choices for the second, and the remaining choices for the third. .
Example 3: Repeated choices
Question: A digital lock uses a -letter code. If any letter from the -letter alphabet can be used and repetition is allowed, how many total codes are possible?
Given: There are options for every position (). The code contains positions
(). Repetition is permitted.
Method:
- Choose the formula for arrangements with repetition: .
- Substitute and .
- Evaluate the power.
Answer: . There are total codes.
Check: Because repetition is allowed, options do not decrease. Position one has choices, position two has , and position three has . Their product is .
Common mistakes
Avoid these frequent errors when counting arrangements.
- Misidentifying the problem type: Do not use permutations when order does not matter. If a problem asks you to form a team rather than elect officers, use combinations.
- Forgetting zero factorial: When substituting numbers where , the denominator becomes . Remember that , not .
- Using with repetition: The standard factorial formula only works when items cannot be reused. If repetition is allowed, multiply the independent choices directly.
Frequently asked questions
What does mean?
The notation is a typographical way to write , which stands for permutations. It calculates the number of ways to arrange items selected from a total pool of unique items.
Can be larger than ?
No, if repetition is forbidden, you cannot select more items than you have available. The value of must always be less than or equal to .
Is a combination lock actually a permutation lock?
Yes. A typical combination lock requires you to enter numbers in a highly specific sequence. Because the order strictly matters, the device mathematically measures permutations rather than combinations.
Practice questions

A passcode uses exactly different letters chosen from the word . How many possible passcodes can be made?
3
6
9
27
6
What is the value of ?
21
35
210
840
210

A lock uses a -digit passcode. The digits , , , , and can be used, and digits can be repeated across positions. How many total passcodes are possible?
20
120
625
1024
625
Which scenario is evaluated using permutations instead of combinations?
Selecting friends to go to the cinema.
Choosing toppings for a pizza.
Picking a st and nd place winner in a contest.
Drawing cards from a deck for a hand.
Picking a st and nd place winner in a contest.
In how many ways can you arrange letters chosen from the word without repetition?
24
360
720
1296
360
