Home · Statistics · Probability & Combinatorics · Permutation and Combination Calculator

Permutation and Combination Calculator

Permutations and combinations side by side for the same n and r: ordered arrangements P(n, r) against unordered selections C(n, r), so the cost of order is visible.

Your figures

Example result — edit the figures to make it yours

720

Permutations P(n, r)

Combinations C(n, r)120

What this calculator does

Permutations and combinations side by side for the same n and r: ordered arrangements P(n, r) against unordered selections C(n, r), so the cost of order is visible. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

P(n, r) = n! / (n − r)!; C(n, r) = n! / (r! · (n − r)!)

The headline figure is the permutation count P(n, r), where order matters; the combination count C(n, r), where it does not, is shown alongside.

The two are linked by P(n, r) = C(n, r) × r!: every unordered selection of r items can be ordered in r! ways, which is exactly the gap between the two figures.

Both rules choose without repetition, so r must not exceed n.

Worked example

With the example inputs this page opens with (number of items n 10, items chosen / arranged r 3), the result is 720 — permutations p(n, r). Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying number of items n
Number of items nPermutations P(n, r)
560
8336
10720
12.51,509
152,730
206,840

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

Why is the permutation count always larger?

Because each unordered selection of r items corresponds to r! different orderings. Only when r is 0 or 1 — where there is nothing to reorder — are the two counts equal.

How do I decide which one a problem needs?

Ask whether swapping two chosen items produces a different outcome. Podium places, codes and batting orders: yes, permutation. Committees, hands and lottery lines: no, combination.

How does the Permutation and Combination Calculator work?

Permutations and combinations side by side for the same n and r: ordered arrangements P(n, r) against unordered selections C(n, r), so the cost of order is visible. N items · r chosen → Permutations P(n, r) and combinations C(n, r). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Permutation and Combination Calculator need?

N items · r chosen → Permutations P(n, r) and combinations C(n, r). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.