Permutation Calculator — Definition, Formula & Examples
A permutation calculator computes how many ways you can arrange a chosen number of items from a larger set when the order matters. You enter the total number of items and the number you are choosing , and it returns .
The permutation function , also written , equals and counts the number of injective functions from an -element set into an -element set, or equivalently, the number of distinct ordered -arrangements of distinct objects.
Use the Calculator
Open the existing Combination & Permutation Calculator and choose Permutation (P) in the Type menu. Enter non-negative integers n and r with r ≤ n and n ≤ 170, then press Calculate. The input controls are on the linked tool, not this explanation page.
Open the interactive calculator (on a separate Mathwords tool page).
Key Formula
Where:
- = Total number of distinct items in the set
- = Number of items being arranged (chosen and ordered)
- = Factorial — the product of all positive integers up to that number
How It Works
In the linked Combination & Permutation Calculator, choose Permutation (P), then enter the total number of distinct items and the number to arrange . Use integers with . The formula counts arrangements without repetition: multiply . For , the empty arrangement counts as one.
Worked Example
Problem: A club of 10 members elects a president, vice-president, and treasurer. How many ways can these 3 positions be filled?
Identify n and r: There are 10 members and 3 ordered positions, so and .
Apply the formula: Substitute into the permutation formula.
Simplify: Cancel from numerator and denominator, leaving only the top three factors of .
Answer: There are 720 ways to fill the three positions.
Why It Matters
Permutation calculations appear constantly in probability courses and on standardized tests like the SAT and ACT. They also underpin real-world problems in scheduling, cryptography, and any scenario where the sequence of choices matters.
Common Mistakes
Mistake: Confusing permutations with combinations and dividing by when order matters.
Correction: Only divide by when the order does NOT matter (combinations). If each different ordering counts as a distinct outcome — like assigning ranked positions — use without the extra division.
