Combination Calculator
How many ways to choose r things from n, when the order does not matter.
The formula
r — how many are chosen
Order does not matter.
Also written C(n, r), ⁿCᵣ, or "n choose r". It is the binomial coefficient, the same number that appears in Pascal's triangle and in the expansion of (a + b)ⁿ.
Combination or permutation?
Ask whether rearranging the same items produces a different outcome.
- Combination — a poker hand, a committee, a pizza's toppings. AB and BA are the same thing.
- Permutation — a podium, a password, a running order. AB and BA are different.
The relationship is exact: nPr = nCr × r!. Every unordered selection can be arranged r! ways, so the permutation count is always the larger.
A useful shortcut
nCr = nC(n−r). Choosing 47 cards from 52 is the same as choosing the 5 to leave behind, so both give 2,598,960. This calculator uses the smaller of r and n − r internally, which is what keeps large inputs fast and exact.
Worked examples
Poker hands
52C5 = 2,598,960 distinct five-card hands. The matching permutation count is 311,875,200 — exactly 120 times larger, since 5! = 120 and the order cards are dealt in does not change the hand.
A lottery
49C6 = 13,983,816. One ticket gives odds of roughly one in fourteen million.