03 · UNDERSTAND THE METHOD
How the combinations & permutations calculator works
Counting selections can be difficult when many choices are possible. This calculator counts ways to choose r distinct items from a group of n distinct items without replacement. Combination mode ignores the order of the chosen items. Permutation mode treats different orders as different outcomes. The result is a count of possibilities, not a probability, because a probability also requires a model of how outcomes are selected.
The formula and its variables
- n
- Nonnegative integer number of available distinct items.
- r
- Integer number selected, from zero to n.
- !
- Factorial; by convention 0! = 1.
The calculation, step by step
- Identify the full set of distinct available items and the number to select. Verify that no item can be selected more than once.
- Decide whether order matters. Choose combinations for an unranked group and permutations for a ranked or ordered list.
- Apply the selected factorial formula, or its equivalent product calculation. Interpret the count as the number of possible selections under the stated assumptions.
A worked example
Choosing three people from a group of ten for an unranked committee gives 10C3 = 120 combinations. Assigning first, second, and third positions to three of those ten people instead gives 10P3 = 720 permutations. Each three-person combination can appear in six different orders, so 720 divided by 3! returns the 120 unranked groups.
| Total objects (n) | 10 |
|---|---|
| Objects selected (r) | 3 |
| Count type | Combinations (order ignored) |
| Number of arrangements | 120 |
How to read the result and visual
The difference between the modes is the ordering of the selected items. Choosing all items gives one combination but n! permutations. Choosing zero items gives one empty selection in either mode. Counts can become very large quickly, so it helps to clarify the selection rules before interpreting a seemingly surprising number.
Assumptions, rounding, and limitations
The formulas assume distinct items, no replacement, and no additional constraints. Repeated symbols, mandatory members, or allowed repeated selections require different counting methods. Inputs must be integers with r no larger than n. Exact integer precision limits in browser arithmetic restrict very large outcomes; the accepted range keeps the result reliable.
Frequently asked questions
Does this calculate the chance of winning?
No. It counts possibilities. A probability needs favorable outcomes and assumptions about how likely each outcome is.
What if I can choose the same item repeatedly?
These formulas do not include replacement; use a counting model designed for repeated selection.