Combination Calculator
Enter n and r to instantly compute C(n,r) — the number of unordered combinations — with full factorial working shown.
C(n, r) = n! ÷ (r! × (n - r)!) counts the ways to choose r items from n when order does not matter.
Use the Combination Calculator
Combination Calculator — C(n, r)
Quick Examples
Result
Enter n and r to see the result
C(n, r)
Step-by-step working
Quick answer
C(n, r) = n! ÷ (r! × (n - r)!) counts the ways to choose r items from n when order does not matter. Choosing 3 of 10 items gives 120, a 5-card hand from a 52-card deck gives 2,598,960, and 6 numbers from 49 give 13,983,816. Enter n and r to see the exact result with the factorial working.
Examples
| n | r | C(n, r) |
|---|---|---|
| 5 | 2 | 10 |
| 10 | 3 | 120 |
| 20 | 5 | 15,504 |
| 52 | 2 | 1,326 |
| 52 | 5 | 2,598,960 |
| 49 | 6 | 13,983,816 |
Enter n and r.
Summary
A combination C(n,r) counts the number of ways to select r items from a set of n distinct items when order does not matter. It is calculated as n! / (r! × (n−r)!). This calculator computes the result instantly and displays the full factorial breakdown so you can verify every step.
How it works
- Enter n — the total number of items in the set.
- Enter r — the number of items you want to choose.
- The calculator applies the formula C(n,r) = n! / (r! × (n−r)!).
- The result and a step-by-step factorial breakdown appear immediately.
- Use the Copy button to copy the result to your clipboard.
Use cases
- Calculate lottery odds (e.g. how many ways to pick 6 numbers from 49).
- Count hand combinations in card games like poker.
- Determine the number of possible teams from a group of players.
- Solve combinatorics homework problems with shown working.
- Compute binomial distribution coefficients for statistics.
- Find the number of committee compositions from a candidate pool.
- Evaluate sample sizes for experimental design.
- Check answers for nCr calculations in probability courses.