Permutation Calculator — Find P(n, r) With Step-by-Step Solutions
Our Permutation Calculator finds P(n, r), the number of ordered arrangements of r items chosen from a set of n distinct items. Enter your values for n and r and get the exact result instantly, along with a step-by-step breakdown of the formula n! / (n - r)! so you can see exactly how the answer was derived — useful for checking homework, planning schedules, or working through probability problems.
Quick Answer
A permutation counts ordered arrangements: P(n, r) = n! / (n - r)! gives the number of ways to arrange r items chosen from n distinct items where order matters. Enter n and r below for an instant result with step-by-step working.
How to Use the Permutation Calculator — Calculate P(n,r) Online
- 1
Enter the total number of items, n, into the first field.
- 2
Enter the number of items being arranged, r, into the second field.
- 3
Click 'Calculate' to find P(n, r) — the number of ways to order r items from n total.
- 4
Review the step-by-step breakdown showing the formula n! / (n - r)! applied to your values.
- 5
Click 'Copy' to copy the result to your clipboard.
Why Use Permutation Calculator — Calculate P(n,r) Online?
Permutations answer 'in how many orders can this happen?' — a question that comes up constantly in probability, scheduling, password analysis, and competition math. The formula n! / (n - r)! is simple to state but easy to compute wrong by hand once n grows past single digits, since it involves large factorials that partially cancel. Our calculator computes the result directly using an efficient method that avoids ever forming the full, oversized factorial, so it stays fast and exact even for large values of n and r.
Permutation vs Combination
| Permutation P(n,r) | Combination C(n,r) | |
|---|---|---|
| Does order matter? | Yes — different orders count separately | No — only the group of items counts |
| Formula | n! / (n − r)! | n! / (r!(n − r)!) |
| Example: n=5, r=2 | P(5,2) = 20 | C(5,2) = 10 |
| Typical use case | Race rankings, PIN codes, seating order | Lottery numbers, committees, card hands |
Frequently Asked Questions
Related Tools
Combination Calculator — Calculate C(n,r) Online
Calculate combinations C(n,r) — the number of ways to choose r items from n total items where order doesn't matter. Free calculator with step-by-step solutions and Pascal's Triangle visualization.
Factorial Calculator — Calculate n! Online
Calculate the factorial of any non-negative integer (n!) instantly. Free factorial calculator with step-by-step expansion, scientific notation, and digit-count analysis for values up to 1,000,000.
Scientific Calculator — Free Online Calculator
Free online scientific calculator with trigonometric, logarithmic, exponential, and factorial functions. Switch between degrees and radians, use memory keys, and view calculation history.