Home · Statistics · Probability & Combinatorics · Combination Calculator

Combination Calculator

The number of ways to choose r items from n when order does not matter: combinations, the binomial coefficient C(n, r).

Your figures

Example result — edit the figures to make it yours

120

Combinations C(n, r)

Ordered arrangements of the same choice, P(n, r)720

What this calculator does

The number of ways to choose r items from n when order does not matter: combinations, the binomial coefficient C(n, r). 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

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

Order does not matter: choosing items {A, B, C} in any sequence is one combination, so C(n, r) is smaller than P(n, r) by a factor of r!.

C(n, r) counts the subsets of size r drawn from n distinct items, with no item used twice; r must not exceed n.

C(n, r) = C(n, n − r): choosing the r items to take is the same act as choosing the n − r to leave behind.

Worked example

With the example inputs this page opens with (number of items n 10, items chosen / arranged r 3), the result is 120 — combinations c(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 nCombinations C(n, r)
510
856
10120
12.5252
15455
201,140

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

Common questions

When should I use a combination instead of a permutation?

When only the set of chosen items matters and their order creates nothing new — a committee, a hand of cards, a lottery ticket. If the same items in a different order are a different outcome, use a permutation.

Why is C(n, r) equal to C(n, n − r)?

Every choice of r items to include is simultaneously a choice of the n − r items to exclude, so the two counts enumerate the same selections from opposite sides.

How does the Combination Calculator work?

The number of ways to choose r items from n when order does not matter: combinations, the binomial coefficient C(n, r). N items · r chosen → 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 Combination Calculator need?

N items · r chosen → 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.