Permutation Calculator
Calculate the number of ways to arrange r items from a set of n items where order matters. Uses the formula P(n,r) = n!/(n-r)!
This free online permutation calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.
Minimum: 0
Minimum: 0
Results
Number of Permutations P(n,r)
720
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Permutation Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Permutation Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
When to Use This Calculator
- •Use the Permutation Calculator when you need a quick mathematical result without writing out all the steps manually, saving time on repetitive calculations.
- •Use it to verify hand calculations on tests or assignments and catch arithmetic mistakes.
- •Use it when teaching or explaining mathematical concepts to others, demonstrating how changing inputs affects the result.
- •Use it to explore the behavior of mathematical functions across a range of inputs.
About Permutation Calculator
The Permutation Calculator solves one of the fundamental questions in combinatorics: 'In how many different ways can I arrange r items from a set of n?' Unlike combinations, order matters in permutations — ABC is different from BCA. This is exactly what you need when the sequence of selections affects the outcome: ranking contestants, selecting officers in order (president, VP, secretary), arranging books on a shelf, creating passwords, or choosing a podium for a race. Permutations appear in probability calculations, cryptography, game theory, algorithm analysis, and statistics. Understanding P(n,r) is the gateway to combinatorial reasoning and helps you count possibilities in complex scenarios.
The Math Behind It
Formula Reference
Permutation Formula
P(n,r) = n! / (n-r)!
Variables: n = total items, r = items chosen, order matters
Worked Examples
Example 1: Race Podium
In a race of 10 runners, how many ways can runners finish in the top 3 positions (gold, silver, bronze)?
720 different ordered podium outcomes. If it were a combination (just 'top 3' without order), it would be 720/3! = 120.
Example 2: Unique Passwords
A 5-character password uses distinct letters from the 26-letter alphabet. How many possible passwords?
Nearly 8 million possible passwords. If repetition were allowed (26^5), you'd have 11,881,376 — about 50% more.
Common Mistakes & Tips
- !Confusing permutations with combinations. If order matters, use permutations; if not, use combinations.
- !Forgetting that P(n,n) = n! (all items arranged). This is the factorial special case.
- !Computing (n-r)! wrong. Remember (n-r)! is the factorial of the count of items you DIDN'T choose.
- !Applying permutation formula when items can repeat. With repetition, use n^r instead.
Related Concepts
Used in These Calculators
Calculators that build on or apply the concepts from this page:
Frequently Asked Questions
When should I use permutations vs combinations?
Ask: 'Does order matter?' If yes (first place, second place, third place; positions; rankings; sequences), use permutations. If no (just 'which 3 were chosen', 'committee of 5', 'hand of cards'), use combinations. Example: picking a committee of 3 from 10 people = combination (120 ways). Picking president, VP, and treasurer from 10 = permutation (720 ways).
What's the relationship between permutations and combinations?
P(n,r) = C(n,r) × r!. In other words, permutations = combinations × arrangements of chosen items. If you pick 3 people from 10 as a 'team' (combination: 120 ways), and then arrange those 3 in a specific order (3! = 6 ways), you get 120 × 6 = 720 permutations.
Can r be larger than n?
Not in standard permutations (without repetition). You can't arrange more items than you have. P(5,7) is undefined — you can't pick 7 items from a set of 5 unique items. If repetition is allowed, then you can have r > n, and the count is simply n^r (each position has n choices).
How are permutations used in real life?
Everywhere order matters: race results (first, second, third), lottery Pick-3 games, lineup orders in baseball, password generation, seating arrangements, tournament brackets, DNA sequence analysis, scheduling problems, routing optimization (like Travelling Salesman), playlist ordering, and cipher cryptography. Even shuffling a deck of cards uses 52! permutations — so many that every shuffle has likely never been seen before.