Combination Calculator
Count selections where membership matters but order does not. Use repetition only when an item type may appear more than once, such as scoops chosen from flavours.
Combinations
- nCr = n! ÷ (r! × (n − r)!): groups where order does not matter.
- nCr = nPr ÷ r!.
- Example: choosing 3 people from 10 = 120 groups (but 720 ordered line-ups).
- Lottery odds are combinations: picking 6 of 49 has 13,983,816 possibilities.
How to use the Combination Calculator
- Enter whole n and r from 0 to 1000. Without repetition, r must not exceed n.
- Leave repetition off for C(n,r) = n! / (r! × (n−r)!).
- Allow repetition for unordered selections of item types, using C(n+r−1,r) when n is positive.
- Read the exact integer count. Any zero-item selection has one empty outcome; no nonempty selection is possible from zero types.
Symmetry and Pascal's triangle
Choosing r items to keep is the same as choosing n − r items to leave out, so C(n, r) = C(n, n − r). Choosing 2 toppings from 10 gives the same count as choosing 8: 45.
Combination counts form Pascal's triangle, where each number is the sum of the two above it: C(n, r) = C(n − 1, r − 1) + C(n − 1, r). The counts grow very quickly, which is why picking 6 numbers from 49 already gives almost 14 million possible tickets.
Unordered groups and empty selections
Both counts must be whole numbers from 0 to 1000. Without repetition r cannot exceed n. With repetition and n positive use C(n+r−1,r). There is one empty selection, and zero nonempty selections from zero types. Counts use exact integers.
Examples
Choose 3 from 10
10C3 = 120. There are 120 different groups of 3 items selected from 10 when order does not matter.
Order does not matter
ABC and CBA represent the same combination because they contain the same selected items.
Pizza toppings
A shop offers 12 toppings and you pick 3. C(12, 3) = 12! ÷ (3! × 9!) = 220 possible pizzas, because the order you name the toppings doesn't matter.
Choosing a committee
A club of 15 members picks a committee of 4. C(15, 4) = 1,365. If the 4 roles are different (chair, treasurer…), order matters and the count becomes 15P4 = 32,760.
Check the result in context
Enumerate repetition: from A, B and C choose 2 with repetition: AA, AB, AC, BB, BC, CC, giving 6. Without repetition only AB, AC and BC remain, giving 3.
nCr values
| n | r = 2 | r = 3 | r = 4 | r = 5 |
|---|---|---|---|---|
| 5 | 10 | 10 | 5 | 1 |
| 6 | 15 | 20 | 15 | 6 |
| 7 | 21 | 35 | 35 | 21 |
| 8 | 28 | 56 | 70 | 56 |
| 9 | 36 | 84 | 126 | 126 |
| 10 | 45 | 120 | 210 | 252 |
| 11 | 55 | 165 | 330 | 462 |
| 12 | 66 | 220 | 495 | 792 |
How many possible picks?
| Draw | Combinations |
|---|---|
| Pick 6 of 49 | 13,983,816 |
| Pick 5 of 69 | 11,238,513 |
| Pick 5 of 52 (poker hand) | 2,598,960 |
How many possible tickets?
The chance of matching one specific set equals 1 divided by the number of combinations.
| Selection | Combinations | Chance of one exact set |
|---|---|---|
| Choose 3 from 10 | 120 | 1 in 120 |
| Choose 5 from 20 | 15,504 | 1 in 15,504 |
| Choose 6 from 49 | 13,983,816 | 1 in 13,983,816 |
| Choose 7 from 50 | 99,884,400 | 1 in 99,884,400 |
| Choose 5 from 69 | 11,238,513 | 1 in 11,238,513 |
Frequently asked questions
What is a combination?
A combination is a selection where order does not matter. Rearranging the same selected items does not create a new combination.
What does nCr mean?
nCr is the number of ways to choose r items from n distinct items when order does not matter and repetition is not allowed.
When should I use combinations instead of permutations?
Use combinations when only membership in the selected group matters. Use permutations when different orders are distinct outcomes.
Can combinations include repetition?
Yes. Combinations with repetition count selections where an item may appear more than once while order still does not matter.
Why does C(n, r) equal C(n, n − r)?
Every choice of r items to include is matched by exactly one choice of n − r items to exclude, so the two counts are always equal.
How do combinations relate to Pascal's triangle?
Row n of Pascal's triangle lists C(n, 0) through C(n, n). Each entry is the sum of the two entries above it.
What does repetition mean for a group selection?
It permits multiple copies of an item type. Choosing 2 scoops from 3 flavours gives C(4,2) = 6 unordered multisets, including two of the same flavour.
More math tools
Permutation Calculator
Calculate nPr permutations with or without repetition.
Open tool →Probability Calculator
Calculate simple and independent-event probabilities.
Open tool →Factor Calculator
Find factors, factor pairs and prime factorization for a whole number.
Open tool →Scientific Calculator
Advanced calculator for trig, logs, roots, powers, factorials and more.
Open tool →Decimal to Fraction Calculator
Convert decimals and repeating decimals to simplified fractions and mixed numbers.
Open tool →Mean Median Mode Range Calculator
Calculate mean, median, mode, range, quartiles and IQR.
Open tool →