Toolical © 2026

Permutation Calculator

Calculate permutations (nPr) with or without repetition. Enter n and r to compute the number of ways to arrange r items from a set of n.

Result
Please check your inputs.
Enter the total number of items (n) in the first input field. Enter the number of items to arrange (r) in the second input field. Choose whether repetitions are allowed by toggling the 'With Repetition' or 'Without Repetition' option. Click the 'Calculate' button to instantly compute the number of permutations. Review the result displayed on screen, which shows the total number of distinct arrangements.

๐Ÿ“– How to Use This Tool

Enter the total number of items (n) in the first input field.
Enter the number of items to arrange (r) in the second input field.
Choose whether repetitions are allowed by toggling the 'With Repetition' or 'Without Repetition' option.
Click the 'Calculate' button to instantly compute the number of permutations.
Review the result displayed on screen, which shows the total number of distinct arrangements.

๐Ÿ“ What Is Permutation Calculator?

A permutation calculator is a simple yet powerful tool that counts the number of ways you can arrange a subset of items from a larger set. Unlike combinations, permutations care about the order of itemsโ€”so 'ABC' and 'ACB' are considered different arrangements. This concept is foundational in probability, statistics, and fields like cryptography, scheduling, and game theory. By using this calculator, you can quickly solve problems like 'How many different ways can 3 books be arranged on a shelf from a collection of 10?' or 'How many possible 4-digit PINs can I create using digits 0-9 with repetition allowed?' The tool saves time, prevents manual calculation errors, and helps students, teachers, and professionals make informed decisions in combinatorial analysis.

๐Ÿงฎ Formula

The tool uses two formulas depending on whether repetition is allowed. Without repetition: P(n,r) = n! / (nโ€“r)! where n is the total number of items, r is the number of items to arrange, and '!' denotes factorial (e.g., 5! = 5ร—4ร—3ร—2ร—1). With repetition: P(n,r) = n^r because each of the r positions can be filled independently by any of the n items.

๐Ÿ’ก Tips for Best Results

โœจ๐Ÿ”ข Ensure n โ‰ฅ r when calculating without repetition, otherwise the result is zero (you can't arrange more items than you have).
โœจ๐Ÿง  Use the formula n^r when repetition is allowedโ€”itโ€™s simpler and often yields much larger numbers.
โœจ๐Ÿ“Š Double-check your inputs: mixing up n and r is a common mistake that gives a completely different result.
โœจ๐Ÿ“ For real-world problems like password generation or seating arrangements, always consider whether order mattersโ€”if it does, permutations are the right tool.

โ“ Frequently Asked Questions

What is the difference between a permutation and a combination?
Permutations consider the order of items (ABC is different from ACB), while combinations treat selections as unordered (ABC and ACB are the same). Use permutations when arrangement matters, like race podium positions, and combinations when it doesn't, like lottery numbers.
What happens if r is greater than n without repetition?
When r > n and repetition is not allowed, there are zero possible permutations because you cannot arrange more items than you have in the set. The calculator will return 0 in this case.
Can the permutation calculator handle very large numbers?
Yes, the tool uses efficient factorial computation and can handle large values of n and r, but extremely large results (e.g., 1000! ) may be displayed in scientific notation or as an approximation due to browser limitations.

๐Ÿ”— Related Tools