Fundamental Counting Principle Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the number of options for up to five independent choices to get the total number of possible combinations.
Result
Total number of outcomes
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Choices at step 1: enter 1 or more.
- Choices at step 2: enter 1 or more.
- Choices at step 3: enter 1 or more.
- Choices at step 4 (1 if unused): enter 1 or more.
- Choices at step 5 (1 if unused): enter 1 or more.
- Read the result: Total number of outcomes.
How this calculator works
The fundamental counting principle (rule of product) says that if one choice can be made in n₁ ways and a second, independent choice in n₂ ways, the pair can be made in n₁ × n₂ ways; the rule extends to any number of steps.
Leave unused steps at 1, since multiplying by 1 changes nothing. The rule assumes every combination is allowed; if some choices exclude others, count those cases separately.
The formula
| Symbol | Meaning |
|---|---|
| Choices at step 1 | |
| Choices at step 2 | |
| Choices at step 3 | |
| Choices at step 4 (1 if unused) | |
| Choices at step 5 (1 if unused) | |
| Total number of outcomes |
Worked example
| Choices at step 1 | 3 |
|---|---|
| Choices at step 2 | 4 |
| Choices at step 3 | 2 |
| Choices at step 4 (1 if unused) | 1 |
| Choices at step 5 (1 if unused) | 1 |
Total number of outcomes 24
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How many outfits can I make with 3 shirts, 4 pants and 2 pairs of shoes?
3 × 4 × 2 = 24 outfits.
How many 4-digit PINs are there?
Each digit has 10 options, so 10 × 10 × 10 × 10 = 10,000 PINs.