IQR Calculator

Permutation Calculator

How many ways to arrange r things from n, when the order matters.

Permutations calculatorRuns entirely in your browser
Result3 digits
10P3720ways to arrange, order matters
Permutations nPr
720
Combinations nCr
120
n
10
r
3
Ratio
r! = 6

How we calculated it

Start from the formula
nPr = n! ÷ (n − r)!
Substitute
10P3 = 10! ÷ 7!
Cancel and multiply
= 10 × 9 × 8
Result
10P3 = 720

Order matters or not

Choosing 3 from 10 gives 120 combinations but 720 permutations. The permutation count is larger by a factor of 3! because each unordered selection can be arranged 3! different ways.

The formula

nPr = n! ÷ (n − r)! n — how many items are available
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

10 runners, 3 places

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!.