This site is a work in progress. New lessons are added regularly. Contact us

Basic Counting Principles

Learning goals

  • Multiply the choices at each stage of a sequence
  • Add group sizes when one choice comes from separate, non-overlapping groups
  • Decide from the wording whether to multiply or to add
  • Count arrangements with choices that shrink by one at each stage
  • Raise choices to a power when every stage repeats the same options
  • Draw a tree or a grid to see why the multiplication works

The multiplication principle

Start with the lunch, but shrink it so we can see everything. Say there are 22 sandwiches, ham and veg, and 33 drinks, tea, milk, and juice. A tree diagram lays out the choices in stages. Draw one branch for each sandwich, then from the end of every sandwich branch draw one branch for each drink. Each path from left to right makes one complete lunch, and the tips on the far right are all the lunches there are.

A tree diagram for 2 sandwiches and 3 drinksA start dot branches to Ham and Veg; each branches to Tea, Milk, Juice; the six tips are the six lunches.SandwichDrinkOutcomeHamVegTeaMilkJuiceTeaMilkJuiceHam, TeaHam, MilkHam, JuiceVeg, TeaVeg, MilkVeg, Juice
A tree for choosing one of 2 sandwiches and then one of 3 drinks. Each of the 2 sandwich branches splits into the same 3 drink branches, giving 2 groups of 3 tips. The 6 tips on the right are every possible lunch.

The tree makes the count easy to see. There are 22 sandwich branches, and each one sprouts the same 33 drink branches, so the tips come in 22 equal groups of 33. That is 3+3=63 + 3 = 6 tips, and counting equal groups is exactly what multiplication does, so 2×3=62 \times 3 = 6 lunches. This is the multiplication principle, also called the fundamental counting principle, and the same argument works for any two independent stages.

Why mm choices then nn choices give m×nm \times n outcomes#

Suppose the first stage has mm possible choices, and that whichever one you pick, the second stage always offers the same nn choices. Draw the tree. From one starting point, draw a branch for each first-stage choice, which gives mm branches and finishes the first stage.

Now grow the second stage. At the tip of every one of those mm branches the second stage offers nn choices, so draw nn new branches there. Each first-stage branch sprouts exactly nn branches of its own. The tip of each of those second-stage branches is one complete outcome: a first choice paired with a second choice.

Count the tips. There are mm first-stage branches, and each ends in nn tips, so the tips fall into mm equal groups of nn. Adding nn a total of mm times is the definition of multiplication, so the number of tips is

n+n++nm groups=m×n.\underbrace{n + n + \cdots + n}_{m \text{ groups}} = m \times n.

Every outcome is one tip and every tip is one outcome, with none repeated and none left out. So the number of combined outcomes is exactly the number of tips, m×nm \times n.

Trees, lists, and grids

A tree is one way to organize a count, and two others are worth keeping in your toolkit. They earn that place because they let you verify a count by hand. Reading the tree’s tips from top to bottom gives an organized list of every outcome. That list reads: ham with tea, ham with milk, ham with juice, veg with tea, veg with milk, veg with juice. Listing in a fixed order means, for instance, holding the sandwich, running through the drinks, then moving to the next sandwich. That is what keeps you from skipping an outcome or counting one twice. Six items on the list, matching 2×32 \times 3.

A grid shows the same count as a rectangle. Put the sandwiches down the side and the drinks across the top, and each cell is one lunch. A rectangle with 22 rows of 33 cells holds 2×3=62 \times 3 = 6 cells. That is the multiplication principle in picture form, since the area of a rectangle is rows times columns.

A 2 by 3 grid of lunchesTwo rows, Ham and Veg, by three columns, Tea, Milk, Juice; six cells each with a dot; 2 times 3 equals 6.TeaMilkJuiceHamVeg2 × 3 = 6 outcomes
The same 6 lunches as a grid: 2 sandwich rows and 3 drink columns. Each cell is one outcome, so the count is 2 rows times 3 columns, the same multiplication as the tree.

Worked example 1 Count lunches at the full diner

The diner from the opening offers 44 sandwiches and 33 drinks, and a lunch is one sandwich and one drink. How many different lunches are possible?

This is a sequence of two stages: first choose a sandwich, then choose a drink. The stages are independent, since every sandwich can pair with every drink. Apply the multiplication principle with m=4m = 4 and n=3n = 3:

4×3=12.4 \times 3 = 12.

There are 1212 possible lunches. As a check, a tree would draw 44 sandwich branches, each splitting into 33 drinks. That gives 44 groups of 33 tips, which is 1212 tips in all.

Three or more stages

The principle does not stop at two stages. If you make a third independent choice, every one of the existing outcomes splits again, once for each new option. So you multiply by the third stage’s count too. In general, the number of ways to complete a sequence of independent stages is the product of the number of choices at each stage:

(stage 1 choices)×(stage 2 choices)×(stage 3 choices)×(\text{stage 1 choices}) \times (\text{stage 2 choices}) \times (\text{stage 3 choices}) \times \cdots

The reasoning is the same each time. Adding one more stage with kk choices replaces every outcome so far with kk versions of it, which multiplies the running total by kk.

Worked example 2 Build a sundae in three stages

A sundae is built in three stages: choose 11 of 33 ice-cream flavors, then 11 of 22 sauces, then 11 of 44 toppings. How many different sundaes are possible?

Each stage is an independent choice, so multiply the three stage counts together:

3×2×4=24.3 \times 2 \times 4 = 24.

There are 2424 sundaes. You can see the multiplying happen step by step. The flavor and sauce alone give 3×2=63 \times 2 = 6 combinations, and then each of those 66 splits into 44 topping choices, 6×4=246 \times 4 = 24.

Check your understanding

A smoothie shop lets you pick one of 33 sizes and one of 55 flavors. How many different smoothies (one size and one flavor) are possible?

Answer choices

The addition principle

Not every problem is a sequence of choices. Sometimes you make a single choice, picking one item from one of several separate groups. When the groups do not overlap, you add their sizes instead of multiplying.

Suppose a prize shelf holds 55 books and 33 board games, and you take exactly one item home. Your prize is either a book or a game, never both at once. Because no item belongs to both groups, you can slide the two groups together into one pile of 5+3=85 + 3 = 8 items. Choosing one prize is then just choosing one item from that pile. So there are 88 possible prizes. This is the addition principle. If you choose one item from groups that share no members, the number of choices is the sum of the group sizes.

The contrast with the multiplication principle is the entire point, so hold the two side by side. A sequence of choices, “this and then that,” multiplies, because each first choice opens up a fresh set of second choices. A single choice from separate groups, “this or that,” adds, because the groups sit beside each other and you land in only one of them. The numbers can be identical while the answers differ: 55 and 33 give 5×3=155 \times 3 = 15 for one book and one game. But 5+3=85 + 3 = 8 is the count for one prize that is a book or a game.

Worked example 3 Add or multiply? Reading the problem

A club must send one representative to a meeting. The representative may be any of the 77 seniors or any of the 66 juniors. How many choices does the club have?

The club picks one person, and that person comes from one of two separate groups (a senior or a junior, not both). No one is counted in both groups, so this is a single choice from separate groups: add.

7+6=13.7 + 6 = 13.

There are 1313 choices. Now compare a different task: send one senior and one junior as a pair of representatives. That is a sequence of two choices, so it multiplies, 7×6=427 \times 6 = 42. The word that decides it is “or” (one representative, add) versus “and” (a senior and a junior, multiply).

Check your understanding

A lunch special lets you choose your single main course from 44 hot dishes or 33 cold salads, and you choose exactly one dish. How many choices do you have for your one dish?

Answer choices

Counting arrangements stage by stage

A special kind of counting asks in how many orders a set of items can be placed. Take 33 different books, A, B, and C, that you want to line up on a shelf. Treat each shelf position as a stage. For the first position you may use any of the 33 books. Once that book is placed it is used up, so only 22 books remain for the second position. After that, just 11 book remains for the third. The choices shrink at each stage, and by the multiplication principle you multiply them:

3×2×1=6.3 \times 2 \times 1 = 6.
Counting arrangements of 3 books by shrinking choicesThree position boxes holding 3, 2, and 1 choices, multiplied to give 6 orders.1st spot2nd spot3rd spot321××3 × 2 × 1 = 6 orders
Arranging 3 books in a row, one position at a time. The first position has 3 choices, the second has 2 (one book is now used), and the last has 1. Multiplying the shrinking choices gives 3 times 2 times 1 = 6 orders.

This is not a new rule. It is the multiplication principle applied to stages whose choice counts shrink by one each time. The counts shrink because each item you place is no longer available for the next position. You do not always fill every position from the whole set, either. If you only want the first few places in order, just multiply the shrinking counts for as many stages as you fill, and stop.

Worked example 4 Hand out gold, silver, and bronze

Six runners finish a race, and the top three earn gold, silver, and bronze medals. In how many ways can the three medals be awarded?

Award the medals as a sequence of three stages, watching the choices shrink. Any of the 66 runners can win gold. Once gold is decided, 55 runners remain for silver, and then 44 remain for bronze:

6×5×4=120.6 \times 5 \times 4 = 120.

There are 120120 ways. The choices drop from 66 to 55 to 44 because a runner who already has a medal cannot receive another. That is exactly the shrinking that arrangements always produce. Notice we stopped after three stages, since only three medals are given out.

Check your understanding

In how many different orders can 44 different books be arranged in a row on a shelf?

Answer choices

Repeated choices and exponents

When the same number of choices repeats at every stage, the product becomes a power, which connects counting straight back to exponents. Flip a coin and there are 22 outcomes, heads or tails. Flip it again and each of those splits into 22, giving 2×2=42 \times 2 = 4. Flip it a third time and you reach 2×2×2=82 \times 2 \times 2 = 8. For nn flips you multiply nn twos:

2×2××2n flips=2n.\underbrace{2 \times 2 \times \cdots \times 2}_{n \text{ flips}} = 2^n.

The exponent counts how many stages there are, and the base counts the choices at each stage. The same shape appears whenever choices repeat. A 44-digit code, where each digit is independently one of the 1010 digits 00 through 99, has

10×10×10×10=104=10,00010 \times 10 \times 10 \times 10 = 10^4 = 10{,}000

possible values, which is why a 44-digit PIN has exactly ten thousand settings. Watch the order of the base and the exponent: 2n2^n (two choices, nn times) and n2n^2 (nn choices, twice) are different counts. So keep straight which number is the choices and which is the number of stages.

Worked example 5 How many 4-digit codes?

A lock uses a 44-digit code, and each of the four positions can be any digit from 00 to 99, independently of the others. How many codes are possible?

Each position is an independent stage with 1010 choices, and the same 1010 choices repeat at all four positions. Multiply four tens, which is a power of ten:

10×10×10×10=104=10,000.10 \times 10 \times 10 \times 10 = 10^4 = 10{,}000.

There are 10,00010{,}000 codes, from 00000000 to 99999999. The choices do not shrink here, because digits may repeat (a code like 77277727 is allowed), so every stage keeps all 1010 options. That repetition is what turns the product into the clean power 10410^4.

Counting the equally likely possibilities

These rules matter beyond menus and medals. The reason is that they answer a question the next lesson depends on: how many possible results does an experiment have? Rolling two dice, drawing a card then a second card, spinning a spinner twice: each of these is a sequence of stages. The multiplication principle counts the experiment’s outcomes without forcing you to list them. When those outcomes are all equally likely, that count is the foundation of the next step. In the lesson on probability you will measure how likely an event is. You will do that by comparing the number of outcomes you want against this total number of possibilities. For now the job is just to find that total quickly and correctly, which is exactly what these principles do.

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Free Response Questions (FRQ)

Longer questions in parts, to be worked out on paper. Progressive hints, the answer on its own so you can check yourself and try again, then the full worked solution, plus a rubric to mark your own work against.

Free response Work it out on paper 5 questions Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (Optional)

Long before anyone wrote down a rule for counting, people were counting anyway. One of the oldest examples is an ancient Chinese book of fortune telling, the I Ching. The book is built out of figures, and every figure is a stack of six short lines. Each line is drawn in one of two ways. It is either solid, or broken in the middle. Nothing else about it varies.

So how many different figures are possible? The top line is solid or broken, and so is the second, and so on down all six. That is the same two choices repeated six times, which this lesson would write as 262^6.

The book holds sixty-four figures, and it has held sixty-four for more than two thousand years. Nobody then had a way to write a power. Whoever settled that number had to climb the stack one line at a time, doubling the total at every step.

Your coins behave the same way. Flip one six times and it can land 262^6 ways, which is sixty-four again, for exactly the reason the book has sixty-four figures.