🔢 Permutations
Calculate nPr: The number of ways to arrange r items from a set of n items, where order does matter.
The Comprehensive Guide to Permutation Calculator (nPr)
What is a Permutation Calculator (nPr)?
The Permutation Calculator determines the total number of unique ways exactly r items can be arranged from a larger pool of n total items, specifically under the rule that order mathematically matters.
For example, if you are assigning the roles of President, Vice President, and Treasurer to three people (Alice, Bob, and Charlie), "President Alice, VP Bob" is a completely different outcome than "President Bob, VP Alice."
The Mathematical Formula
Arranging r items from a set of n in a specific order.
Calculation Example
Imagine there are 8 runners (n) in the final heat of an Olympic sprint, but the judges only award medals for Gold, Silver, and Bronze (r = 3). How many unique ways can the podium be filled?
- The Setup: P(8, 3) = 8! / (8 - 3)!
- Simplifying: 8! / 5! = (8 × 7 × 6 × 5 × 4 × 3 × 2 × 1) / (5 × 4 × 3 × 2 × 1)
- The Math: The 5! perfectly cancels itself out. You are left with just 8 × 7 × 6.
- The Result: There are exactly 336 unique ways the Gold, Silver, and Bronze medals could be distributed among the 8 runners.
Strategic Use Cases
- Cybersecurity & Passwords: Calculating the exact number of possible brute-force attempts required to crack a 6-digit PIN code or a 12-character alphanumeric password.
- Scheduling & Logistics: Determining how many unique ways a delivery truck could sequence its 10 specific stops throughout a city.
- Lottery & Gaming: Calculating the odds of games that require exact sequence matching (e.g., horse racing exactas or trifectas).
Frequently Asked Questions
What is 'Repetition' / 'Replacement'?
Without repetition, once an item is used, it's gone (e.g., Alice cannot be both President AND Vice President). With repetition, you put the item back in the pool (e.g., a 4-digit PIN code can absolutely be 9-9-9-9). Repetition exponentially grows the permutations.
Why is a 'Combination Lock' named incorrectly?
Because order matters! If your lock code is 1-2-3, entering 3-2-1 will not open it. Mathematically speaking, it should be called a 'Permutation Lock.' Combinations do not care about order.
What does P(n, n) equal?
Exactly n!. If you have 5 books and you want to arrange all 5 of them on a shelf, the math is 5! = 120 ways. You don't leave any items behind.
Related Strategic Tools
Combinations Calculator
Calculate groupings where the internal order does not matter.
Factorial Calculator
Calculate the base n! values that power these statistical probability formulas.
Probability Calculator
Turn these raw permutation counts into actual percentage odds of winning or losing.
Percentage Calculator
Easily calculate percentages, increases, and decreases.