Combination Calculator (nCr)
How many ways can you choose r items from n when the order doesn't matter? Exact results, even for huge numbers.
Combinations2,598,960
Order matters?No
Step by step
- Formula: C(n, r) = n! ÷ (r! (n − r)!)
- Substitute n = 52, r = 5: 52! ÷ (5! · 47!)
- = 2,598,960
Combination formula
C(n, r) = n! ÷ (r! (n − r)!)
A 5-card poker hand from 52 cards: C(52, 5) = 2,598,960. With repetition (like choosing 3 scoops from 5 flavors, repeats allowed): C(n + r − 1, r).
If order matters, use the permutation calculator.
Worked examples
- Lottery: choose 6 numbers from 49 → C(49, 6) = 13,983,816, so one ticket wins with probability 1 in about 14 million.
- Committee: 3 people from 10 → C(10, 3) = 120.
- Pizza toppings: 2 of 8 toppings → C(8, 2) = 28.
Shortcuts
C(n, 0) = C(n, n) = 1, C(n, 1) = n, and C(n, r) = C(n, n − r). Excel: =COMBIN(52,5) (with repetition =COMBINA(n,r)); TI-84: 52 nCr 5.
Frequently asked questions
What is nCr?
The number of combinations of r items from n, where order doesn't matter.
How many 5-card hands are there?
2,598,960.
Combination or permutation?
If rearranging the same items counts as different, it's a permutation; otherwise a combination.
Last reviewed November 2026. Results are rounded to 4 decimal places; all math runs in your browser.