Combination Calculator
Count the ways to choose r items from n when order does not matter, with or without repeats.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
nCr = n! / (r! (n - r)!); with repeats (n + r - 1)! / (r! (n - 1)!)
Frequently asked questions
When do I use combinations?
When only the group matters, such as a lottery draw or a committee.
Why is nCr symmetric?
Choosing r to take is the same as choosing n - r to leave.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Permutation Calculator
Count the ways to arrange r items chosen from n when order matters, with or without repeats.
Prime Number Checker
Check whether a whole number is prime, and get its prime factorisation, the next prime and the previous prime.
Fraction Calculator
Add, subtract, multiply or divide two fractions and see the answer in lowest terms, as a mixed number and as a decimal.