Combination Calculator

A combination is a selection where order does not matter, such as picking a team, a committee or lottery numbers.

Repetition
Results update as you type.

Combinations ⁿCᵣ = 10C3

120

Permutations 10P3 (order matters)
720
Order matters?
No: ABC and CBA are the same selection

About this calculator

Answers are exact even when they run to many digits.

How to use it

  1. Enter n and r.
  2. Choose whether repetition is allowed.
  3. Read the number of selections.

The formula

nCr = n! ÷ (r! × (n − r)!); with repetition: (n + r − 1)Cr
n
items available
r
items chosen

Worked example

A 5-card hand from a 52-card deck

  1. 52C5 = 52! ÷ (5! × 47!) = 25,98,960.

What the result means

nCr = nC(n − r): choosing 3 of 10 to include is the same as choosing 7 to leave out.

nCr values people often ask for

Combinations without repetition
SituationnCrNumber of selections
Pairs from 5 people5C210
Committee of 3 from 66C320
Choose 4 from 88C470
Handshakes in a group of 2020C2190
Two-card hands from a deck52C21,326
5 from 3030C51,42,506
3 from 100100C31,61,700
11 players from 22 (no role rules)22C117,05,432
A 6-from-49 lottery ticket49C61,39,83,816
A 13-card bridge hand52C136,35,01,35,59,600

Example: selections with conditions

A committee needs 3 men from 6 and 2 women from 5. Work out each part separately, 6C3 = 20 and 5C2 = 10, then multiply: 20 × 10 = 200 committees. Multiply when both choices must happen; add only for separate alternatives.

In a 6-from-49 lottery there are 1,39,83,816 possible tickets, so one ticket has a 1 in 1,39,83,816 chance of matching all six.

When repetition is allowed

Set Repetition to Allowed when the same item can be chosen more than once, such as picking 3 scoops from 5 ice-cream flavours where two scoops can be the same. The answer is 7C3 = 35, compared with 5C3 = 10 if every scoop must differ.

  • Check the question for words such as “different” or “distinct”; they mean repetition is not allowed.
  • For “at least one” questions, it is often easier to count all selections and subtract those with none.

Assumptions

  • Items are distinct.

Limitations

  • n up to 1,00,000 and r up to 20,000.

Frequently asked questions

What is the difference between permutation and combination?

Permutations count arrangements, where order matters. Combinations count selections, where order does not. ABC and CBA are two permutations but one combination.

What is 0!?

1, by definition. So nP0 = nC0 = 1.

How many ways can I choose 11 players from 15?

15C11 = 1,365.

What are the odds of winning a 6 from 49 lottery?

1 in 1,39,83,816, because 49C6 = 1,39,83,816 and only one combination wins the top prize.

How many handshakes happen if 20 people each shake hands once?

190. Each handshake is a pair of people, so the answer is 20C2.

How many 11-player fantasy cricket teams can be made from 22 players?

22C11 = 7,05,432 if you ignore role and credit rules. Those rules reduce the real number, so treat it as an upper limit.

Last reviewed on 6 October 2026. How we calculate and check. Found a mistake? Tell us.