operation
Permutation Calculator -- nPr
Calculate P(n, r) = n!/(n-r)! -- the number of ordered arrangements of r items from a set of n.
Beispiel ausprobieren
Wähle ein Szenario, um zu sehen, wie der Rechner funktioniert, und passe dann die Werte an
Race Podium — Top 3 from 10 Runners
How many different 1st/2nd/3rd-place finishes can come from a 10-person race?
Wichtige Werte: n = 10 · r = 3 · P(10,3) = 720
4-Digit PIN from 10 Digits (No Repetition)
A lock allows digits 0–9 with no repeated digits. How many PINs are possible?
Wichtige Werte: n = 10 · r = 4 · P(10,4) = 5,040
What Is a Permutation?
A permutation is an ordered arrangement of objects. The number of ways to arrange items chosen from distinct items is:
The key word is order matters. The arrangement ABC is different from BCA — both count as separate permutations.
Permutations vs. Combinations
| Feature | Permutation P(n, r) | Combination C(n, r) |
|---|---|---|
| Order matters? | Yes | No |
| Formula | ||
| Relationship | ||
| Example: 3 from 5 | 60 | 10 |
| Use case | Rankings, codes, sequences | Teams, committees, selections |
Memory aid: “Does rearranging change the outcome?” If a gold-silver-bronze podium is different from silver-gold-bronze, use permutations. If picking 3 team members is the same regardless of order, use combinations.
Permutations with Repetition
When items can be reused (like digits in a PIN), the count is simpler:
| Scenario | n | r | Count |
|---|---|---|---|
| 4-digit PIN (0–9) | 10 | 4 | 10,000 |
| Binary string of length 8 | 2 | 8 | 256 |
| 3-letter codes (A–Z) | 26 | 3 | 17,576 |
| License plate (3 letters + 4 digits) | 26³ × 10⁴ | — | 175,760,000 |
Permutations of a Multiset
When some items are identical, divide out the repeated arrangements:
Example: How many distinct arrangements of the letters in MISSISSIPPI?
Frequently Asked Questions
What is a permutation?
A permutation is an ordered arrangement of objects. The number of ways to arrange items from distinct items is . Unlike combinations, order matters: ABC and BAC count as different permutations.
How do you calculate P(n, r)?
. For example, . This counts the number of ordered sequences of 3 items chosen from 5 distinct items.
What is the relationship between permutations and combinations?
. Permutations count all ordered arrangements, while combinations count unordered selections. Dividing permutations by removes the ordering to give combinations.
What are permutations with repetition?
When items can be reused (like digits in a PIN), the count is . For example, a 4-digit PIN using digits 0--9 has possible arrangements. Each position has choices, independent of previous selections.
How do you count permutations of a word with repeated letters?
Divide the total factorial by the factorials of each repeated letter. For MISSISSIPPI (11 letters: 1 M, 4 I, 4 S, 2 P), the count is distinct arrangements.
Related operation Variants
Explore more operation options
Combination
Combination Calculator -- nCr
BinomialCoefficient
Binomial Coefficient Calculator -- n Choose k
PascalTriangle
Pascal\'s Triangle Generator
Factorial
Factorial Calculator -- n!
StarsAndBars
Stars and Bars Calculator -- Combinations with Repetition
More Math Calculators
Explore the category