---
slug: combination-calculator
title: "Combination Calculator"
category: math
updated: 2026-11-19
canonical: https://calcseed.com/c/math/combination-calculator/
html: /c/math/combination-calculator/
---

# Combination Calculator

Calculate the number of ways to choose r items from a set of n, order not mattering. Free and instant.

## Quick answer

**Quick answer:** with the default inputs (10, 3), the combinations is **120**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| n (total items) | 10 |  |
| r (chosen) | 3 |  |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| Combinations | 120 |  |

## Formula

```text
C(n, r) = n! ÷ (r! × (n − r)!)
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| n (total items) | number |  | 10 |
| r (chosen) | number |  | 3 |

## Outputs

| Result | Format |
| --- | --- |
| Combinations | primary |
| Combinations | number |

## How it works

### What this calculator does

Enter n (total items) and r (how many you choose), and the calculator returns C(n, r) — the number of ways to pick r items from n when order does not matter. At its defaults, choosing 3 from 10 gives **120** ways. Pick a committee of 3 from 10 candidates, a 3-scoop combo from 10 flavors, or 3 stocks from a 10-stock watchlist: all are the same 120.

### How combinations work

A combination counts selections, not arrangements. Choosing apples, then pears is the same combination as pears, then apples, so both count once. The formula builds that counting in two moves: first count the ordered ways to fill r slots from n items, then divide away the duplicate orderings of the chosen items.

### Worked example at the defaults

- Ordered picks: 10 choices for the first slot, 9 for the second, 8 for the third, giving 10 × 9 × 8 = 720.
- Each set of 3 items was counted in every order: 3 × 2 × 1 = 6 orderings per set.
- Divide: 720 ÷ 6 = **120** combinations.

The division is the formula&rsquo;s r! in the denominator, and the (n − r)! = 7! cancels invisibly against most of 10! — which is why the fast way to compute any C(n, r) is a short falling product over r!, never a giant factorial. For C(10, 3) you never need to evaluate 10! = 3,628,800; the three-factor product and the division by 6 finish the job.

### Reference values

| n | r | C(n, r) |
| --- | --- | --- |
| 10 | 3 | 120 |
| 10 | 2 | 45 |
| 5 | 2 | 10 |
| 52 | 5 | 2,598,960 |
| 49 | 6 | 13,983,816 |
| 6 | 6 | 1 |

The two big rows anchor real-world odds. A 5-card poker hand from a 52-card deck has 2,598,960 possibilities, so a specific hand such as the royal flush in hearts has probability 1 ÷ 2,598,960 per dealt hand — and a 6-of-49 lottery has 13,983,816 number combinations, which is why a single ticket wins about once in 14 million draws. The last row shows the boundary case: choosing all n items leaves exactly 1 way.

### Combinations versus permutations

The only difference is order. A committee of 3 from 10 people has C(10, 3) = 120 possibilities, while a gold-silver-bronze podium from the same 10 runners has P(10, 3) = 10 × 9 × 8 = 720 outcomes, because finishing first differs from finishing third. Every combination hides exactly r! orderings, so permutations always equal combinations times r!: 720 = 120 × 6. The practical test: swap two chosen items and ask whether anything changes. Swapping committee members changes nothing (combination); swapping podium places changes who gets gold (permutation).

### Symmetry and useful identities

- **Symmetry:** C(n, r) = C(n, n − r). Choosing 3 to keep from 10 is the same decision as choosing 7 to leave out, so both equal 120.
- **Boundary cases:** C(n, 0) = C(n, n) = 1 — there is exactly one way to take nothing or everything.
- **Pascal&rsquo;s rule:** C(n, r) = C(n − 1, r − 1) + C(n − 1, r), which builds Pascal&rsquo;s triangle one row at a time.
- **Row sums:** each row of Pascal&rsquo;s triangle totals 2&#8319;, because every item is either in or out: C(10, 0) + &hellip; + C(10, 10) = 1,024.
- **Complement counting:** "at least one" problems are easier backward: ways with at least one = C(total) − ways with none.

### Where combinations decide things

- **Card games.** 5-card hands from 52: 2,598,960. A flush (any suit) covers C(13, 5) × 4 = 5,148 hands, about 0.198% of deals.
- **Lotteries.** Pick 6 from 49: 13,983,816 combinations; a $2 ticket buys one, so matching all six runs about 1 in 13.98 million.
- **Quality sampling.** Testing 3 units from a batch of 10 checks C(10, 3) = 120 possible defect sets — the chance a random sample misses all 3 defects is C(7, 3) ÷ C(10, 3) = 35/120 ≈ 29%.
- **Menus and meal plans.** Choosing 3 side dishes from 10 gives 120 plate combinations, the same number as the default.
- **Feature picks and portfolios.** Selecting 3 features to ship from 10 candidates is a 120-way decision space worth enumerating before committing.

### Common mistakes

- **Using a combination where order matters.** Assigning gold, silver and bronze with C(10, 3) = 120 undercounts by 6 times; the podium needs P(10, 3) = 720.
- **Using a permutation where order does not matter.** Counting committees with 720 overcounts every committee 6 times — once per internal ordering.
- **Computing full factorials.** 52! overflows every calculator; always cancel: C(52, 5) = (52 × 51 × 50 × 49 × 48) ÷ 120 = 2,598,960.
- **Confusing r and n − r.** C(10, 3) and C(10, 7) are equal by symmetry, but C(10, 3) &ne; C(10, 8); check which side you are choosing.
- **Forgetting that r > n gives 0.** You cannot choose 5 items from a set of 3; by convention C(n, r) = 0 when r exceeds n.

### Estimating without the calculator

Two habits make C(n, r) sanity-checkable. First, the falling product: C(n, r) ≈ n&#8319; ÷ r! for small r, so C(10, 3) is roughly 10³ ÷ 6 ≈ 167 — above the true 120 because the factors 10, 9, 8 shrink faster than the 10³ approximation allows, but the right order of magnitude. Second, the doubling rule: growing n multiplies results steeply. C(10, 3) = 120 but C(20, 3) = 1,140 and C(40, 3) = 9,880 — each doubling of the pool multiplies the 3-choice count by roughly 8, because three factors of roughly 2 each compound. When someone reports a "combinations" figure, run the falling product in your head; a wrong figure usually misses by a factor of r! or n − r.

## FAQ

### How do I calculate combinations?

Use C(n, r) = n! ÷ (r! × (n − r)!), or multiply n × (n−1) × &hellip; for r factors and divide by r!. For 10 choose 3: (10 × 9 × 8) ÷ 6 = 120.

### What is the difference between combination and permutation?

Order. A committee of 3 from 10 has 120 combinations; a podium of 3 from 10 has 720 permutations, because finishing positions matter and each committee was counted 3! = 6 times as an arrangement.

### How many ways to choose 3 from 10?

120. Compute 10 × 9 × 8 = 720 ordered picks and divide by the 3 × 2 × 1 = 6 orderings of each chosen set.

### How many 5-card poker hands are there?

C(52, 5) = 2,598,960. The fast path is (52 × 51 × 50 × 49 × 48) ÷ 120.

### What are the odds of winning a 6/49 lottery?

C(49, 6) = 13,983,816 combinations, so one ticket matches all six numbers about once in 13.98 million draws.

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

1. There is exactly one way to choose no items — the empty selection — and one way to choose all n items.

### Why is C(10, 3) equal to C(10, 7)?

Choosing 3 items to keep is the same decision as choosing 7 to leave behind, so both count 120 selections. In general C(n, r) = C(n, n − r).

### How do I compute C(52, 5) without overflow?

Never evaluate 52!. Multiply the 5 falling factors (52 × 51 × 50 × 49 × 48 = 311,875,200) and divide by 5! = 120.

### What is C(6, 6)?

1. Taking all items leaves no choices to make — exactly one combination.

### Why does Pascal’s triangle give combinations?

Each entry is the sum of the two above it: C(n, r) = C(n − 1, r − 1) + C(n − 1, r), matching the split into selections that include or exclude a particular item. Row 10 contains 1, 10, 45, 120 &hellip; including C(10, 3) = 120.

## Method and sources

Methodology: Results follow exact mathematical definitions; the arithmetic is deterministic and can be verified by hand from the steps shown.

Last updated: 2026-11-19.
- Binomial coefficient: C(n, r) = n! / (r! (n - r)!).
