Permutation Calculator

Professional permutation calculator supporting P(n,r) computations with detailed explanations. Perfect for students, teachers, and professionals studying combinatorics, probability theory, and discrete mathematics.

Permutation
Combination
Comparison

Calculate Permutations P(n,r)

Calculate Combinations C(n,r)

Permutation vs Combination Comparison

Instant results No signup required Standard formulas Free to use

Frequently Asked Questions about Permutation Calculator

Can this tool calculate permutations where repetition is allowed?

The standard P(n,r) formula assumes no repetition. If you are looking for permutations with repetition (like a 4-digit passcode where you can use 1-1-1-1), the formula is actually n^r. This specific calculator focuses on the standard mathematical definition of P(n,r) without repetition (factorial-based). For n^r calculations, you would need an exponent calculator, though many users simply use the comparison feature to understand the difference.

How do I calculate permutations if n is a large number like 100?

The tool handles n up to 170. Why 170? Because 170! is the last factorial that computers can reliably store before hitting infinity. If you try P(100, 50), the result will be a massive number displayed in scientific notation. The "Growth Visualization" chart is particularly useful here because it shows you how quickly the line goes vertical as r increases, even if the number is too big to read easily.

What is the difference between a permutation and a combination for a lottery ticket?

This is the #1 search query for students. In a lottery, the order the balls are drawn usually doesn't matter—you win if you have the numbers, regardless of sequence. That means you need a combination calculator. If the lottery had a "mega ball" or specific order requirement, then you would use a permutation. Use the "Comparison" tab on this tool: enter n=59, r=6. You will see Permutations are astronomically higher than Combinations because order multiplies every selection by r! (720 times bigger).

Do I need to pay to see the calculation steps on the permutation calculator?

No. Everything—the formula display, the factorial expansion, the final integer or scientific notation—is completely free. The tool shows the step-by-step breakdown (like 5! = 5 × 4 × 3 × 2 × 1) inside the "Calculation Steps" card. There is no paywall hiding the logic, which is essential for teachers who want to show the process on a smartboard.

Can I use this on my phone for a proctored exam?

If your exam allows a calculator, you can use this via your phone's browser. Since it doesn't require a keyboard and uses big input buttons, it actually feels more reliable than a physical scientific calculator. However, always check your exam rules. The tool doesn't connect to the internet to solve problems (after load), so it behaves like a local app.

Why does the result show "Infinity" or an error?

If you try to calculate P(1000, 500), the numbers become so large that they exceed the maximum integer size in JavaScript. The tool caps n and r at 170 specifically to prevent this. If you see an error, simply lower your n value or use scientific notation interpretation. For most real-world statistics and probability theory problems, n will almost never exceed 100.