Mathematics · Formula

Permutations

The number of ordered arrangements of r items chosen from n.

Mathematics librarySymbols definedWorked example
Formula
P(n, r) = n! / (n − r)!

The number of ordered arrangements of r items chosen from n.

What the symbols mean

  • n — total items
  • r — items chosen
  • P(n, r) — number of ordered arrangements

What it means

Order matters in a permutation: choosing A then B is different from B then A. If order does not matter, use combinations instead.

Worked example

Example

The number of ways to award gold and silver to 8 runners is P(8, 2) = 8!/6! = 56.

Apply it

The live calculator applies this relationship with your own numbers and shows the substituted working.

Open the calculator

Related formulas

These relationships often appear alongside the permutations in the same problems.

Frequently asked questions

What is the permutations formula?

The relationship is P(n, r) = n! / (n − r)!. The number of ordered arrangements of r items chosen from n.

When should I use the permutations formula?

Order matters in a permutation: choosing A then B is different from B then A. If order does not matter, use combinations instead.

How do I avoid unit mistakes?

Write each quantity with its unit before substituting, convert to the units the formula expects, and check that the result's unit matches the quantity you are solving for. Angles must be in radians for calculus-based expressions unless the page says degrees.

Sources and standards

The equation form, symbols and expected units on this page are checked against the reference works below.

How these are used: sources and standards.

Reviewed November 2026 · Educational reference. See the disclaimer and methodology.