Home › Permutation Calculator Online | QuickConvertLab
Permutation Calculator
Calculate nPr (Permutation):
What Is a Permutation?
A permutation is just a fancy word for "order." It tells you how many ways you can arrange a group of items when the order matters. Pick 3 friends out of 5 to stand in a line? That's a permutation. Set a 4-digit PIN? Also a permutation. This tool gives you the exact count in one click.
How to Use This Calculator
- Type the total number of items you have (n)
- Type how many of them you want to arrange (r)
- Click "Calculate nPr" to see the answer instantly
The Formula
P(n,r) = n! / (n-r)!
The "!" symbol means factorial. It just means "multiply this number by every whole number below it, down to 1." So 5! is 5 × 4 × 3 × 2 × 1.
A Quick Example
Say you want to line up 3 people out of a group of 5. Plug in P(5,3): that's 5! divided by (5-3)!, or 120 ÷ 2. The answer is 60. That means there are 60 different ways to pick and line up those 3 people. Small numbers, big possibilities.
Permutation vs. Combination — What's the Difference?
This trips up most students, so here's the short version:
- Permutation: order matters. ABC and BCA count as two different results.
- Combination: order doesn't matter. ABC and BCA count as the same result.
Rule of thumb: if you're arranging or ranking something, use permutation. If you're just picking a group with no particular order, use combination.
Where This Shows Up in Real Life
- Exams & Coursework: A core topic in high school and college-level math and statistics classes worldwide
- Passwords: Counting how many possible passwords exist for a given length and character set
- Seating plans: Working out how many ways guests can be seated at an event
- Race results: Counting possible finishing orders for the top 3 in a race of, say, 8 runners
- Scheduling: Figuring out how many ways tasks or events can be ordered across a day
Common Mistakes to Avoid
- Mixing up permutation and combination — always check if order matters first
- Forgetting that r cannot be larger than n — you can't arrange more items than you have
- Treating repeated items (like letters in a word) as unique without adjusting the formula
Frequently Asked Questions
Q1: What's the difference between permutation and combination?
In a permutation, order matters — ABC and BCA count as different results. In a combination, order doesn't matter, so ABC and BCA count as the same.
Q2: What does the "!" symbol mean?
It's called a factorial. It means multiply the number by every whole number smaller than it, down to 1. For example, 5! = 5 × 4 × 3 × 2 × 1 = 120.
Q3: Why is 0! equal to 1?
It's a math convention that keeps permutation and combination formulas working correctly, even when there's nothing left to arrange.
Q4: How do permutations relate to password strength?
The more characters allowed and the longer the password, the more possible arrangements exist — which is exactly what permutation math calculates. That's why long, varied passwords are much harder to guess.
Q5: What if some items repeat?
The standard formula assumes every item is different. If some repeat (like letters in a word), you divide by the factorial of how many times each item repeats, so the repeated versions aren't counted twice.