A committee or a podium
Selecting 3 people from 10 gives 120 unordered committees. Assigning those people to three distinct positions gives 720 ordered arrangements without repetition.
Count selections using two decisions: whether order matters and whether an item may be reused. The calculator selects the matching counting formula and returns an exact integer, even when the answer is too large for ordinary floating-point arithmetic.
Calculations run locally in your browser. This tool does not upload the numbers you enter.
Enter the number of distinct available items n and the number selected r. Both must be whole numbers from 0 to 1000.
Check Order matters if changing positions creates a different outcome. Check Repetition allowed if the same item or type may appear again.
Calculate to see the formula and exact count, then copy or download the full integer.
Selecting 3 people from 10 gives 120 unordered committees. Assigning those people to three distinct positions gives 720 ordered arrangements without repetition.
Four positions filled from three symbols give 3^4 = 81 ordered strings. Choosing four items from three types without considering order gives C(6, 4) = 15 multisets.
For combinations, selecting A then B is the same selection as B then A. For permutations, the positions distinguish those outcomes. Without repetition, the formulas are C(n, r) = n!/[r!(n − r)!] and P(n, r) = n!/(n − r)!.
Ordered selection with repetition gives n choices for each of r positions, so its count is n^r. Unordered selection with repetition counts multisets and uses C(n + r − 1, r). This assumes unlimited supply from each type. It is different from arranging a fixed collection of duplicate letters.
Selecting zero items gives one empty selection regardless of ordering or repetition settings. A positive selection size from zero available types gives zero when repetition is enabled; without repetition, r cannot exceed n. BigInt products and exact integer division preserve every digit of valid counts.
Only when repetition is allowed. Repeated selections can reuse a type, while a selection without repetition cannot contain more items than are available.
No. It returns the count. Enumerating a large answer would produce an impractically large list.
That is a different problem using factorials divided by repeated-letter factorials. The repetition switch here assumes reusable types rather than a fixed inventory.
There is exactly one way to choose nothing: the empty selection. This convention makes the standard counting formulas consistent at their boundaries.