Combination Calculator (nCr)
Last updated
Show steps
Enter the number of items (n) and how many you choose (r), and this combination calculator returns nCr – the number of ways to choose when order does not matter – with the factorial working, the version with repetition, and the matching permutation count.
Use the calculator above for your own numbers. Below, we explain how the Combination Calculator (nCr) works, with worked examples and sources.
How to calculate combinations
- Check that order does not matter – a committee, a hand of cards, pizza toppings.
- Write n (total) and r (chosen).
- Use nCr = n! ÷ (r! (n − r)!).
- Cancel the larger factorial to keep the numbers small.
10C3 = (10 × 9 × 8) ÷ (3 × 2 × 1) = 720 ÷ 6 = 120.

Combination vs permutation
| Combination (nCr) | Permutation (nPr) | |
|---|---|---|
| Order matters? | No | Yes |
| Example | Pick 3 people for a team | Pick president, secretary, treasurer |
| 10 items, choose 3 | 120 | 720 |
Every combination of r items can be arranged in r! orders, so nPr = nCr × r!. If swapping two chosen items gives a different outcome, you need the Permutation Calculator.
Combinations with repetition
When the same item can be chosen more than once – scoops of ice cream from 5 flavours, 3 scoops – use C(n + r − 1, r) = C(7, 3) = 35.
Worked examples
- Poker: the number of 5-card hands from 52 cards is 52C5 = 2,598,960.
- Pizza: 3 toppings from 8 gives 56 different pizzas.
- Round robin: 12 teams each playing each other once play 12C2 = 66 games.
- Lottery: choosing 5 numbers from 69 and 1 from 26 gives 11,238,513 × 26 = 292,201,338 possible tickets – see Lottery Odds Explained.
Common mistakes
- Using permutations when order does not matter (overcounting by r!).
- Forgetting that 0! = 1, so nC0 = nCn = 1.
- Mixing up n and r.
Sources
- OpenStax – Introductory Statistics 2e (Rice University) — openstax.org/details/books/introductory-statistics-2e
- OpenStax – Algebra and Trigonometry 2e (Rice University) — openstax.org/details/books/algebra-and-trigonometry-2e
Questions or feedback about this calculator? Contact us – we read every message. Results are estimates for information only. Last reviewed: .

Written & built by
Zeeshan Nawaz
Calculator Developer · Tuff Search
Builds and tests Tuff Search calculators, turning published formulas and official sources into tools anyone can check.
FAQ
Frequently asked questions
Quick answers about the Combination Calculator (nCr).
The number of ways to choose r items from n when order does not matter.
Order does not matter in a combination; it does in a permutation.
10.
Only when repetition is allowed.
2,598,960.
Still have a question? Email support@tuffsearch.com
Keep exploring
Related calculators
More calculators people use alongside this one.
Zeeshan Nawaz
Calculator Developer · Tuff Search
Builds and tests Tuff Search calculators. Each tool is based on published formulas and official sources, and is checked against worked test cases before it goes live.
- Combination Calculator (nCr)Statistics CalculatorsYou are here
- Dog Age CalculatorBiology
- Fuel Cost CalculatorDaily Life