Free tool · Math and study
Combination calculator
Count combinations (nCr) and permutations (nPr), with or without repeats, with the formula worked out for your numbers.
- Free
- No sign-up
- Runs in your browser
12010C3: ways to choose 3 of 10 items when order does not matter
- Order does not matter
- Each item once
- Digits in the answer
- 3
- One guess hits it
- 1 in 120
Steps
- Formula: nCr = n! ÷ (r! × (n − r)!). The order of the picks does not matter and each item can be used once.
- Put in your numbers: 10! ÷ (3! × 7!).
- Cancel 7! from the top and bottom: (10 × 9 × 8) ÷ (3 × 2 × 1).
- Multiply and divide: 720 ÷ 6 = 120.
All four counts for n = 10, r = 3
| Kind | Ways |
|---|---|
| Combination, each item once (nCr) | 120 |
| Permutation, each item once (nPr) | 720 |
| Combination, items can repeat | 220 |
| Permutation, items can repeat (n^r) | 1,000 |
How to use the Permutation and Combination Calculator
- Under Does the order of the picks matter? choose combination (order does not matter) or permutation (order matters).
- Under Can an item be picked more than once? choose Each item once or Items can repeat.
- Type Items to choose from (n) and Items you pick (r), whole numbers up to 1000.
- Read the count under Result, follow the Steps, and compare all four counts in the table. Copy exact number copies every digit.
What is the difference between a permutation and a combination?
Both count the ways to pick r items from n. They differ in whether the order of the picks matters. A permutation counts ordered picks, so choosing A then B is a different outcome from B then A. A combination counts groups, so A and B together is one outcome whichever way you picked them. Ask yourself whether swapping two picks gives a new result. Seating three people in a row of seats is a permutation. Choosing three people for a committee is a combination.
With n = 10 and r = 3 and no repeats, there are 720 permutations (10P3) but only 120 combinations (10C3). Every group of three can be put in 3! = 6 orders, and 120 × 6 = 720. That factor of r! is the only difference between the two formulas.
How do I calculate nCr and nPr, and what are the steps?
For permutations without repeats, nPr = n! ÷ (n − r)!. Most of the factorial cancels, so it is the product of the r largest terms: 10P3 = 10 × 9 × 8 = 720. For combinations without repeats, nCr = n! ÷ (r! × (n − r)!), which is nPr divided by r!: 10C3 = (10 × 9 × 8) ÷ (3 × 2 × 1) = 720 ÷ 6 = 120. The Steps list under the answer shows exactly this for your numbers.
The tool uses exact whole-number arithmetic, not floating point, so nothing is rounded. 100C50 is 100,891,344,545,564,193,334,812,497,256, every digit correct. Past 24 digits the main answer switches to scientific form and the full number appears in a box you can copy. n and r are limited to 1000, so even the largest answers are exact and quick. Without repeats, r cannot exceed n, because you cannot pick 5 different items from 3.
How do I handle repetition, and how do I use this for lottery or card odds?
If an item can be picked again, a permutation is simply n^r: a 3-digit code from 10 digits has 10^3 = 1,000 possibilities. A combination with repeats is the number of ways to pick r items from n kinds when only the count of each kind matters. It equals C(n + r − 1, r). Three scoops from five flavors, repeats allowed and order ignored, gives C(7, 3) = 35. If the order of the scoops mattered it would be 5^3 = 125.
For odds, count the equally likely outcomes and take 1 divided by that number. A lottery that draws 6 numbers from 49 in any order is a combination: 49C6 = 13,983,816, so one ticket has a 1 in 13,983,816 chance of matching all six. The number of five-card hands from a 52-card deck is 52C5 = 2,598,960. The fact called One guess hits it shows this "1 in" figure for your own counts.
Use it with
- Fraction Calculator: add, subtract, multiply, divide fractions with steps.
- Square Root Calculator: roots and exponents.
- Final Grade Calculator: score needed on the final exam.
Questions
What is the difference between permutation and combination?
A permutation counts ordered picks, a combination counts groups where order does not matter. Of 10 items, 3 picked: 720 permutations and 120 combinations, because each group can be ordered in 3! = 6 ways.
How do I calculate nCr and nPr?
nPr = n! ÷ (n − r)!, the product of the r largest terms from n down. nCr = n! ÷ (r! × (n − r)!), which is nPr ÷ r!. For n = 10 and r = 3 that gives 720 and 120.
How do I handle repetition?
Ordered picks with repeats are n^r. Unordered picks with repeats are C(n + r − 1, r). Choose "Items can repeat" to switch the tool to these formulas.
What is the formula for nCr, step by step?
Write n! ÷ (r! × (n − r)!), cancel (n − r)! from top and bottom, then divide the product of the top r terms by r!. The Steps list does this with your numbers.
How do I use it for lottery or card hand odds?
If order does not matter and numbers are not repeated, use nCr. A 6-from-49 draw has 13,983,816 combinations, so one ticket is 1 in 13,983,816. Prize tiers and bonus balls need extra counting.
How this page was made: the tool's results are computed in your browser by the code on this page; the explanations were drafted with AI help and checked against the tool's own output.