How to use this calculator
Count ways to choose r distinct objects from n when order does not matter and there is no replacement. The count includes each unordered group once.
- Enter Available objects n, Selected objects r. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How Combination count calculator works
Count ways to choose r distinct objects from n when order does not matter and there is no replacement. The count includes each unordered group once.
Inputs and units
- Available objects n: Total available objects n, a whole number from 0 to 500.
- Selected objects r: Number selected r, a whole number from 0 through n.
Formula and method
C(n,r) = n!/[r!(n−r)!]
Worked example
Choosing 2 objects from 5 gives 5!/(2!3!)=10 groups.
Interpreting the result
C(n,r)=C(n,n−r), since choosing the included objects is equivalent to choosing which ones to leave out.
Assumptions and limits
Objects are treated as distinct and selection is without replacement. This is not a probability until a sample space and event are defined.
Sources and method
- The nCr and nPr formulas distinguish unordered selections from ordered arrangements. OpenStax counting equations
Frequently asked questions
Why does order not matter here?
A set containing A and B is the same selection as B and A.
What is C(n,0)?
There is one way to choose nothing, so the boundary value is 1.
How do I use the Combination count calculator?
Enter Available objects n, Selected objects r. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Combination count?
Choosing 2 objects from 5 gives 5!/(2!3!)=10 groups.
What does the Combination count calculator calculate?
Count ways to choose r distinct objects from n when order does not matter and there is no replacement. The count includes each unordered group once.