Permutation Calculator
Calculate permutations P(n,r) with step-by-step solutions, visual explanations, formula breakdown, and practical examples. Find how many ways to arrange r items from n total items where order matters.
Your ad blocker is preventing us from showing ads
MiniWebtool is free because of ads. If this tool helped you, please support us by upgrading for ad-free browsing and more daily uses, or allowlist MiniWebtool.com and reload.
- Allow ads for MiniWebtool.com, then reload
- Or upgrade for ad-free browsing and higher daily limits
About Permutation Calculator
Welcome to the Permutation Calculator, a comprehensive tool for calculating permutations P(n,r) with step-by-step solutions, visual examples, and educational explanations. Whether you are studying combinatorics, solving probability problems, or working on real-world arrangement problems, this calculator provides instant results with detailed formula breakdowns.
What is a Permutation?
A permutation is an arrangement of objects in a specific order. Unlike combinations (where order does not matter), permutations consider the sequence or order of items as important. The number of permutations tells us how many different ways we can arrange r items selected from a set of n distinct items.
For example, if you have 3 books (A, B, C) and want to arrange 2 of them on a shelf, the permutations are: AB, BA, AC, CA, BC, CB. That is 6 different arrangements, because AB and BA are considered different (order matters).
Permutation Formula
Where:
- n = total number of distinct items available
- r = number of items to select and arrange
- n! = n factorial = n × (n-1) × (n-2) × ... × 2 × 1
Simplified Permutation Formula
The formula can also be written as a product of r consecutive integers:
Permutation vs Combination
The key difference between permutations and combinations is whether order matters:
| Aspect | Permutation P(n,r) | Combination C(n,r) |
|---|---|---|
| Order | Order matters | Order does not matter |
| Formula | n!/(n-r)! | n!/[r!(n-r)!] |
| Result | Larger (more arrangements) | Smaller (fewer selections) |
| Example | Ranking, passwords, seating | Committee selection, lottery |
| Relationship | P(n,r) = C(n,r) × r! | |
How to Use This Calculator
- Enter n (total items): Input the total number of distinct items you have available.
- Enter r (items to arrange): Input how many items you want to select and arrange. This must be less than or equal to n.
- Click Calculate: Press the button to compute P(n,r) with step-by-step solutions.
- Review results: See the total permutations, comparison with combinations, visual examples, and detailed calculation steps.
Real-World Permutation Examples
Ranking and Competitions
In a race with 10 runners, how many ways can 1st, 2nd, and 3rd place be awarded?
P(10, 3) = 10 × 9 × 8 = 720 different podium arrangements
Password Creation
How many 4-letter passwords can be made from 26 letters (no repeats)?
P(26, 4) = 26 × 25 × 24 × 23 = 358,800 unique passwords
Seating Arrangements
How many ways can 5 people sit in 5 chairs?
P(5, 5) = 5! = 120 different seating arrangements
Task Scheduling
If you have 8 tasks and need to schedule 4 of them in sequence, how many schedules are possible?
P(8, 4) = 8 × 7 × 6 × 5 = 1,680 different schedules
Special Cases of Permutations
P(n, n) = n!
When r equals n, you are arranging all items. P(n, n) = n!/(n-n)! = n!/0! = n!/1 = n!
P(n, 0) = 1
There is exactly one way to arrange zero items: do nothing.
P(n, 1) = n
Selecting and arranging 1 item from n gives n possibilities.
Common Permutation Values
| P(n,r) | Value | Context |
|---|---|---|
P(4,2) | 12 | Arranging 2 items from 4 |
P(5,3) | 60 | Awarding 3 prizes to 5 people |
P(10,3) | 720 | Top 3 from 10 contestants |
P(26,4) | 358,800 | 4-letter codes from alphabet |
P(52,5) | 311,875,200 | Dealing 5 cards in order |
Permutations with Repetition
This calculator handles permutations without repetition (each item can only be used once). For permutations with repetition (where items can be reused), the formula is simply nr.
Frequently Asked Questions
What is a permutation?
A permutation is an arrangement of objects in a specific order. Unlike combinations, permutations consider the order of items important. For example, arranging 3 books on a shelf where order matters is a permutation problem. The formula is P(n,r) = n!/(n-r)!, where n is total items and r is items to arrange.
What is the difference between permutation and combination?
The key difference is that permutations consider order while combinations do not. P(n,r) = n!/(n-r)! counts ordered arrangements, while C(n,r) = n!/[r!(n-r)!] counts unordered selections. For example, selecting a president, VP, and secretary from 10 people is a permutation (order matters), while selecting 3 committee members is a combination (order does not matter).
How do you calculate P(n,r)?
To calculate P(n,r): 1) Identify n (total items) and r (items to arrange). 2) Use the formula P(n,r) = n!/(n-r)!. 3) This simplifies to n × (n-1) × (n-2) × ... × (n-r+1), which is the product of r consecutive numbers starting from n. For example, P(5,3) = 5 × 4 × 3 = 60.
What does P(n,n) equal?
P(n,n) = n!, which is the number of ways to arrange all n items. When r equals n, the formula P(n,r) = n!/(n-r)! becomes n!/0! = n!/1 = n!. For example, P(4,4) = 4! = 24, meaning there are 24 ways to arrange 4 distinct items.
What are real-world examples of permutations?
Common permutation examples include: arranging books on a shelf, determining race finish orders, creating passwords or PIN codes, scheduling tasks in a specific order, seating arrangements at a dinner table, ranking contestants in a competition, and phone number combinations. Any scenario where the order or arrangement of items matters uses permutations.
Why does the permutation formula use factorials?
Factorials appear in permutation formulas because they count all possible arrangements. For n items: position 1 has n choices, position 2 has (n-1) choices, and so on. The product n × (n-1) × (n-2) × ... × 1 = n!. When selecting only r positions, we divide by (n-r)! to remove the arrangements of positions we are not using.
Additional Resources
Reference this content, page, or tool as:
"Permutation Calculator" at https://MiniWebtool.com/permutation-calculator/ from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: Jan 29, 2026
You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.
Advanced Math Operations:
- Adjacency Matrix Calculator New
- Antilog Calculator
- Beta Function Calculator
- Binomial Coefficient Calculator
- Binomial Probability Distribution Calculator
- Bitwise Calculator Popular
- Boolean Algebra Simplifier New
- Central Limit Theorem Calculator
- Chinese Remainder Theorem Calculator
- Combination Calculator
- Complementary Error Function Calculator
- Complex Number Calculator
- Continued Fraction Calculator
- Derangement (Subfactorial) Calculator
- Dijkstra's Shortest Path Calculator
- Entropy Calculator
- Error Function Calculator
- Euler's Totient Function Calculator
- Exponential Decay Calculator
- Exponential Growth Calculator
- Exponential Integral Calculator
- Exponents Calculator
- Extended Euclidean Algorithm Calculator
- Factorial Calculator
- Gamma Function Calculator
- Golden Ratio Calculator
- Graph Coloring Calculator New
- Graph Degree Sequence Validator
- Group Theory Order Calculator New
- Half Life Calculator
- Hamiltonian Path Checker New
- Inclusion-Exclusion Calculator New
- Karnaugh Map (K-Map) Solver New
- Linear Programming Solver New
- Markov Chain Steady State Calculator
- Minimum Spanning Tree Calculator
- Modular Exponentiation Calculator New
- Modular Multiplicative Inverse Calculator
- Negative Binomial Distribution Calculator New
- Network Flow Calculator (Max Flow) New
- Percent Growth Rate Calculator Popular
- Permutation Calculator
- Permutations with Repetition Calculator New
- Pigeonhole Principle Calculator
- Planar Graph Checker New
- Poisson Distribution Calculator
- Polynomial Roots Calculator
- Primitive Root Calculator
- Probability Calculator
- Probability Distribution Calculator
- Proportion Calculator Popular
- Quadratic Formula Calculator
- Ring and Field Calculator New
- Rounding Calculator New
- Scientific Calculator
- Scientific Notation Calculator Popular
- Set Theory Calculator
- Significant Figures Calculator New
- Stable Marriage Problem Solver New
- Stirling Numbers Calculator
- Sum of Cubes Calculator
- Sum of Positive Integers Calculator
- Sum of Squares Calculator
- Topological Sort Calculator New
- Traveling Salesman Solver (TSP) New
- Truth Table Generator
- Venn Diagram Generator (3 Sets)