Permutation Calculator (nPr)

Quick answer

The permutation calculator counts the number of ordered arrangements of r items chosen from n, nPr, and arrangements with repetition, nʳ.

Permutations
—
With repetition (nʳ)
—

Permutations count arrangements where order matters, such as race finishing positions or PIN codes.

How to use the Permutation Calculator

  1. Total items (n)
  2. Items arranged (r)

Results update as you type, and every field accepts the units shown in its menu.

How it works

Divide n factorial by (n − r) factorial; with repetition, raise n to the power r.

Inputs explained

Field What to enter
Total items (n) A number
Items arranged (r) A number

What each result means

  • Permutations = perm([Total items (n)], [Items arranged (r)])
  • With repetition (nʳ) = [Total items (n)]^[Items arranged (r)]

Formula

P(n, r) = n! ÷ (n − r)!With repetition: nʳ

Worked example

Inputs — Total items (n): 10; Items arranged (r): 3.
Results — Permutations = 720; With repetition (nʳ) = 1000.

Frequently asked questions

How many 4-digit PINs exist?

10⁴ = 10,000 with repetition.

How many ways can 3 medals go to 10 runners?

10 × 9 × 8 = 720.

What formula does the Permutation Calculator use?

P(n, r) = n! ÷ (n − r)!.

Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods

Cite this calculator

Speedy Calculator. (2026). Permutation Calculator (nPr). Speedy Calculator. https://speedycalculator.com/calculators/statistics/permutations/