Permutation Calculator
Calculate the number of ordered arrangements of r items selected from n items.
How It Works
Calculate the number of ordered arrangements of r items selected from n items. Use Permutation Calculator to apply the displayed mathematical method to your values and see the result immediately.
The result is most useful when the inputs match the definitions used by this calculator. For this tool, the underlying method is: nPr = n! / (n−r)!. Compare the output with the worked example, then change one meaningful input at a time to see how the result responds.
Understanding Permutation
Permutation describes a mathematical relationship between the values entered in the calculator. Understanding the reference values and formula helps you interpret the result correctly. Check units, signs, reference values, and rounding conventions when using the result for an important calculation. Review the permutation inputs and units before relying on the result.
Permutation counts change when order matters
A permutation treats AB and BA as different outcomes because their positions differ. Use this method for ordered rankings, codes made without replacement, or assigning distinct roles; use a combination when the group is the same regardless of order.
Read n and r as counts, not measurements
Here n is the total number of available distinct items and r is the number of positions to fill. Both inputs must be whole numbers with 0 ≤ r ≤ n; a selection count larger than the available pool is not a valid permutation.
Why repeated items change the model
The displayed nPr formula assumes the selected items are distinct and are not put back between positions. If items may repeat, or if some items are identical, the counting method changes. Match the formula to the real selection rules before relying on the count.
When to Use This Calculator
Use Permutation Calculator to apply the displayed mathematical method to your values and see the result immediately.
Practical tip: For this Permutation Calculator, identify the reference values and units first, then change one meaningful input at a time so the effect on the result is clear.
Formula
nPr = n! / (n−r)!
Example
For five distinct items, the number of ordered two-item selections is 5P2 = 5 × 4 = 20. The first position has five choices and the second has four because the selected item is not reused.
Frequently Asked Questions
Practical Article for This Calculator
Decide whether order matters before counting arrangements, rankings, or selections.
When to Use Permutations Instead of Combinations