Permutation Calculator

Compute permutations nPr for ordered selections of r items from n, plus the with-repetition count n^r.

100% FreeNo sign-upPrivate — runs in your browser
—

Permutations nPr

n! (n factorial)
—
With repetition (n^r)
—
Without repetition (nPr)
—

Copied to clipboard

How to use this tool

1
Enter n

Enter the total number of items.

2
Enter r

Enter how many items are arranged.

3
Read nPr

Read the ordered count without repetition.

4
Compare with repetition

Compare with the n^r count when repeats are allowed.

Formula & worked example

nPr = n! ÷ (n − r)! without repetition; n^r with repetition allowed.

10P3 = 720 ordered ways to pick 3 items from 10; with repetition allowed the count would be 10³ = 1,000.

Limitations — read this before you rely on it

Whole numbers only, n at most 170; this tool counts ordered selections and does not compute combinations.

Frequently asked questions

An ordered arrangement: swapping two chosen items gives a different permutation.

Combinations ignore order, so they are fewer; this tool counts ordered selections only.

Items may be reused, as in a PIN code where digits can repeat, giving n^r possibilities.

There is exactly one way to choose nothing, by the empty-arrangement convention.

Not without repetition: you cannot pick more distinct items than exist, so the tool reports an error.