Math Solver Free

Combinations Calculator

“n choose r” without the factorial mountain — the shortened product, worked step by step.

Published 26 November 2026

C(10, 3) — “10 choose 3”
120
different groups of 3 from 10 items, when order does not matter

Step by step

The formula: C(n, r) = n! ÷ (r! × (n − r)!) = 10! ÷ (3! × 7!). The factorials mostly cancel.

The shortened product: C(10, 3) = (8 × 9 × 10) ÷ (1 × 2 × 3).

Step 1: multiply by 8 and divide by 1 → running total 8.

Step 2: multiply by 9 and divide by 2 → running total 36.

Step 3: multiply by 10 and divide by 3 → running total 120.

Answer: 120 combinations.

How This Combinations Calculator Works

A combination counts selections where order is irrelevant: a committee of 3 chosen from 10 people is the same committee however the names are listed. The formula C(n, r) = n! ÷ (r! × (n − r)!) is easy to state and miserable to compute raw — 52! has 68 digits. This combinations calculator uses the cancellation first: the factorials collapse to a product of r terms divided by r!, and the symmetry C(n, r) = C(n, n − r) shortens the product further whenever r is past halfway. Every multiply-divide step is printed, so the method — not just the answer — is checkable. Ordered arrangements belong to the permutations calculator, raw factorials to the factorial calculator, and combinations feed directly into the probabilities computed by the probability calculator.

Worked Example: Poker Hands

A poker hand is 5 cards from 52, order irrelevant: C(52, 5) = (52 × 51 × 50 × 49 × 48) ÷ (1 × 2 × 3 × 4 × 5) = 311,875,200 ÷ 120 = 2,598,960 possible hands. That single number underlies all poker probability: a specific hand pattern's chance is its count of favourable combinations over this total. A royal flush occupies just 4 of the 2.6 million — hence its fame. Our guide on what probability is builds from counts like these to the probability rules themselves.

Combinations and Pascal's Triangle

Row n of Pascal's triangle lists C(n, 0), C(n, 1), …, C(n, n) — which is why the rows are symmetric (the C(n, r) = C(n, n − r) symmetry again) and why each entry is the sum of the two above it (choosing from n splits into “take this item” and “leave it”). The same numbers expand (a + b)ⁿ, appear in the binomial distribution, and count paths through grids. The Khan Academy precalculus course develops combinatorics from these first principles.

Common Mistakes

  • Using combinations when order matters: a 4-digit PIN is a permutation problem (10,000 outcomes), not C(10, 4) = 210 — digits repeat and order defines the code.
  • Expanding the factorials: cancel before multiplying; the shortened product is shorter, faster and far less error-prone.
  • Forgetting repetition rules: this formula assumes each item is chosen at most once; choosing with repetition uses a different (stars-and-bars) count.

Frequently Asked Questions

What is the combinations formula?

C(n, r) = n! ÷ (r! × (n − r)!): the number of ways to choose r items from n when order does not matter. Choosing 3 books from 10 gives C(10, 3) = 10! ÷ (3! × 7!) = 120. The factorials mostly cancel, leaving the short product (10 × 9 × 8) ÷ (1 × 2 × 3) — which is how this calculator computes it.

When do I use combinations instead of permutations?

Ask whether reordering the chosen items creates a different outcome. Committees, hands of cards, lottery numbers and pizza toppings: no — combinations. Podium finishes, passwords, seating orders and race results: yes — permutations. The same 10-and-3 problem gives 120 combinations but 720 permutations, exactly 3! = 6 times more, because each group of 3 can be ordered 6 ways.

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

Choosing r items to take is the same act as choosing n − r items to leave behind. So C(10, 8) = C(10, 2) = 45. The calculator exploits this symmetry: it always runs the shorter product, which is why big-r problems stay fast.

How many combinations are there in a 6-from-49 lottery?

C(49, 6) = 13,983,816 — just under 14 million, which is why the jackpot odds are what they are. Try it above: the shortened product is (49 × 48 × 47 × 46 × 45 × 44) ÷ 720. Combinations grow ferociously; C(52, 5) for poker hands is already 2,598,960.

What is C(n, 0) or C(n, n)?

Both are 1. There is exactly one way to choose nothing, and exactly one way to choose everything. These edge cases anchor Pascal's triangle, whose rows are made of combinations — C(6, 0) through C(6, 6) are 1, 6, 15, 20, 15, 6, 1.

Is this combinations calculator free?

Yes — every tool on Math Solver Free is completely free, with no sign-up and no usage limits. Calculations run in your browser, so your data never leaves your device.

Related Tools & Guides

About the Math Solver Team

The Math Solver Team builds and maintains the calculators and step-by-step solvers on this site. Every tool is checked against worked textbook examples before it is published, and the method behind each solver is written out in full — in the worked examples on the page and in our guides — so you can see exactly how an answer is reached, not just the answer itself.

How we build and test our tools·More about the team