Permutation Calculator

nPr — count ordered arrangements of r items from n.

The formula behind it

P(n, r) = n!/(n−r)!
n
available items
r
positions to fill

Fill r ordered slots without reuse: n choices, then n−1, and so on. The product is n!/(n−r)! — permutations are the count with order attached.

How to use this calculator

  1. 1

    Enter the pool size n and the number of positions r.

  2. 2

    Press Calculate.

  3. 3

    Compare with C(n, r): the ratio is exactly r!.

Worked examples

Podium

8 runners, gold-silver-bronze: P(8,3) = 336 orderings.

PIN codes

4 digits from 10 without reuse: P(10,4) = 5,040.

Frequently asked questions

Explore more categories

Command Palette

Search for a command to run...