Combination Calculator
Calculate the number of unordered selections of r items from n items. Get a clear result with the inputs shown on the page.
How It Works
Calculate the number of unordered selections of r items from n items. Get a clear result with the inputs shown on the page. Use Combination Calculator to apply the displayed mathematical method to your values and see the result immediately.
The result is most useful when the inputs match the definitions used by this calculator. For this tool, the underlying method is: nCr = n! / (r!(n−r)!). Compare the output with the worked example, then change one meaningful input at a time to see how the result responds.
Understanding Combination
Combination describes a mathematical relationship between the values entered in the calculator. Understanding the reference values and formula helps you interpret the result correctly. Check units, signs, reference values, and rounding conventions when using the result for an important calculation. Review the combination inputs and units before relying on the result.
Combination means order does not matter
Use combinations when every chosen group counts once regardless of sequence, such as selecting a committee from a class. If first place, second place or arrangement order changes the outcome, use a permutation calculation instead. This distinction often matters more than the arithmetic.
Respect the allowed input range
The calculator expects whole numbers with 0 ≤ r ≤ n and limits n to 170 for its factorial-based implementation. The number selected cannot exceed the number available. A choice of zero items has one possible empty selection; invalid or fractional counts do not represent a standard combination problem.
Why the factorial expression can be large
The formula n! ÷ (r!(n−r)!) counts all ordered arrangements, then removes the repeated orderings of the selected group and the unselected group. Large inputs can produce very large counts and may encounter numeric-precision limits in ordinary floating-point arithmetic, so be cautious when an exact large integer is required.
When to Use This Calculator
Use Combination Calculator to apply the displayed mathematical method to your values and see the result immediately.
Practical tip: For this Combination Calculator, identify the reference values and units first, then change one meaningful input at a time so the effect on the result is clear.
Formula
nCr = n! / (r!(n−r)!)
Example
Choosing 3 items from a group of 10 without regard to order gives 10C3 = 10 × 9 × 8 ÷ (3 × 2 × 1) = 120 distinct combinations. Selecting A, B and C is the same combination as selecting C, B and A.
Frequently Asked Questions
Practical Article for This Calculator
Use combinations for teams, groups, and samples where the same selected items count as one outcome regardless of order.
How to Count Selections When Order Does Not Matter