Counting Techniques
Discounts, tax, tips, profit margins
Before you can find a probability, you need to know the total number of outcomes. Counting techniques give you systematic methods for doing exactly that — whether you are figuring out how many passwords are possible, how many ways a committee can be formed, or how many poker hands exist. These techniques are the foundation of probability and appear throughout statistics, combinatorics, and everyday decision-making.
This page covers three core tools: the fundamental counting principle, permutations (order matters), and combinations (order does not matter). By the end you will be able to look at any counting problem and choose the right approach.
The Fundamental Counting Principle
The fundamental counting principle (sometimes called the multiplication principle) is the simplest and most widely used counting rule:
If task 1 can be done in ways and task 2 can be done in ways, then both tasks together can be done in ways.
This extends to any number of tasks. If you have tasks with options respectively, the total number of combined outcomes is:
Example 1: Outfit Choices
You have 4 shirts, 3 pairs of pants, and 2 pairs of shoes. How many different outfits can you make?
Each choice is independent, so apply the counting principle:
Example 2: License Plates
A license plate format uses 3 letters followed by 4 digits. How many plates are possible?
- Each letter position has 26 choices (A–Z)
- Each digit position has 10 choices (0–9)
That is over 175 million possible license plates from just 7 characters.
Factorial Notation
Many counting formulas use factorials. The factorial of a positive integer is the product of all positive integers from down to 1:
By definition, . This is not arbitrary — it is necessary for the permutation and combination formulas to work correctly when or .
Here are common factorial values you will encounter:
| 0 | 1 |
| 1 | 1 |
| 2 | 2 |
| 3 | 6 |
| 4 | 24 |
| 5 | 120 |
| 6 | 720 |
| 7 | 5,040 |
| 8 | 40,320 |
| 10 | 3,628,800 |
Notice how quickly factorials grow. By you are already in the millions, and exceeds 2.4 quintillion.
Permutations (Order Matters)
A permutation is an arrangement of items where the order matters. Choosing a president, vice president, and treasurer from a group is a permutation problem because the same three people in different roles count as different outcomes.
The number of permutations of items chosen from items is:
When to use permutations: any time selecting AND arranging items from , and rearranging the same items creates a different outcome.
Example 3: Top 3 Finishers
A race has 10 runners. How many ways can 1st, 2nd, and 3rd place be awarded?
Here and . Order matters because finishing 1st is different from finishing 3rd.
The in the denominator cancels most of the in the numerator:
There are 720 different ways to award the top three positions.
Combinations (Order Doesn’t Matter)
A combination is a selection of items where the order does not matter. Choosing 3 people for a committee is a combination problem because the group (Alice, Bob, Carol) is the same committee regardless of the order you list them.
The number of combinations of items chosen from items is:
The notation is read ” choose .” Notice this is the permutation formula divided by , which removes the duplicate arrangements of the same group.
When to use combinations: any time selecting items from WITHOUT regard to order.
Example 4: Committee Selection
Choose 3 members from a group of 8. How many different committees are possible?
Here and . Order does not matter — the committee (Alice, Bob, Carol) is the same as (Carol, Alice, Bob).
There are 56 possible committees.
Permutations vs Combinations — How to Tell
The key question is: does rearranging the same items create a different outcome?
- If yes → permutation (order matters)
- If no → combination (order does not matter)
| Scenario | Order Matters? | Formula | Answer |
|---|---|---|---|
| Picking a president, VP, and treasurer from 10 people | Yes | 720 | |
| Picking a 3-person committee from 10 people | No | 120 | |
| Arranging 5 books on a shelf from 12 books | Yes | 95,040 | |
| Selecting 5 books to donate from 12 books | No | 792 | |
| Creating a 4-digit PIN (digits 0–9) | Yes | 10,000 |
Notice that the committee question with the same numbers (, ) gives a smaller answer (120) than the officer question (720). Combinations always produce smaller counts than permutations because multiple arrangements collapse into a single group.
Verification: . And indeed . The ratio is always .
Using Counting in Probability
Counting techniques connect directly to probability through the classical probability formula:
When the sample space is large, you use permutations or combinations to count both the numerator and denominator.
Example 5: Poker Hand — Two Aces
What is the probability of being dealt exactly 2 aces in a 5-card hand from a standard 52-card deck?
Step 1: Count favorable outcomes.
You need exactly 2 of the 4 aces AND exactly 3 of the 48 non-ace cards.
Step 2: Count total outcomes.
Step 3: Calculate the probability.
Answer: The probability of being dealt exactly 2 aces is approximately 0.04, or about 4%.
Real-World Application: Retail — Product Display Arrangements
Counting techniques show up regularly in retail operations. A store manager needs to arrange a promotional display with 4 featured products chosen from 15 available products. The display rack has 4 distinct positions (top shelf, eye level, middle, and bottom).
Because the position matters (eye level gets the most attention), this is a permutation problem:
There are 32,760 different display arrangements. If the manager only cared about which 4 products to feature (not where each goes), it would be a combination:
The difference — 32,760 vs 1,365 — shows just how much arrangement multiplies the number of possibilities. Each group of 4 products can be arranged in different ways, and .
Practice Problems
Test your understanding with these problems. Click to reveal each answer.
Problem 1: A restaurant offers 5 appetizers, 8 entrees, and 3 desserts. How many different three-course meals (one of each) are possible?
Apply the fundamental counting principle:
Answer: There are 120 different three-course meals.
Problem 2: How many ways can you arrange 4 different books on a shelf?
This is a permutation of all 4 items, which is simply :
Answer: There are 24 ways to arrange 4 books on a shelf.
Problem 3: A club has 12 members. How many ways can they choose a 5-person subcommittee?
Order does not matter (a committee is a group, not an arrangement), so use combinations:
Answer: There are 792 possible subcommittees.
Problem 4: From a group of 9 students, how many ways can a class president, vice president, and secretary be chosen?
Order matters because the roles are different. Use permutations:
Answer: There are 504 ways to assign the three officer positions.
Problem 5: A bag contains 6 red marbles and 4 blue marbles. If you draw 3 marbles at random, what is the probability that all 3 are red?
Favorable outcomes: Choose 3 red from 6:
Total outcomes: Choose 3 from all 10 marbles:
Probability:
Answer: The probability that all 3 marbles are red is , or approximately 16.7%.
Key Takeaways
- The fundamental counting principle multiplies the number of options at each stage: total outcomes for two independent tasks
- Factorial notation () is the product of all positive integers from down to 1, with by definition
- Permutations count arrangements where order matters:
- Combinations count selections where order does not matter:
- To decide which formula to use, ask: “Does rearranging the same items create a different outcome?”
- Counting techniques connect to probability through , where you use permutations or combinations to count both parts
Return to Statistics for more topics in this section.
Next Up in Statistics
All Statistics topicsLast updated: March 29, 2026