Permutation Calculator
How many ways to arrange r things from n, when the order matters.
The formula
r — how many are arranged
Order matters.
The division cancels everything below the cut, so in practice nPr is just r descending factors: 10P3 = 10 × 9 × 8 = 720. Ten choices for first place, nine remaining for second, eight for third.
Two special cases
- r = n — arranging everything. nPn = n!, since (n − n)! = 0! = 1.
- r = 0 — arranging nothing. nP0 = 1, the empty arrangement.
Permutations with repetition are different
nPr assumes each item is used at most once. If items can repeat — a 4-digit PIN where digits may recur — the count is nʳ instead, which for 10 digits and 4 positions is 10,000 rather than 10P4 = 5,040. Use the exponent calculator for that case.
Worked example
A podium
10P3 = 10 × 9 × 8 = 720 possible finishes. The matching combination count is 120 — the number of distinct sets of three medallists, ignoring who came first.
Questions
Is nPr always bigger than nCr?
It is never smaller. They are equal when r is 0 or 1, since 0! and 1! both equal 1; for every larger r the permutation count is bigger by a factor of r!.