Two-way tables

A two-way table sorts people by two questions at once, like “has a pet?” and “plays a sport?”. Each cell counts the people who answer both ways.

Not sure this is the right level? Take the free grade 8 check-up and get a daily practice plan.

Reading a two-way table

Fifty students answered two yes-or-no questions. The rows are pets, the columns are sports, and the last row and column hold the totals.

Plays a sportNo sportTotal
Has a pet181230
No pet81220
Total262450

If a cell is missing, use the totals: a row always adds up to its row total.

See it: pictures to draw with your child

Copy these onto paper or a whiteboard. A quick sketch makes the idea concrete before any written method.

Plays a sport, by rowHas a petNo pet60%40%
Row percents: 60% of pet owners and 40% of the others play a sport.
One cell, two answers18Has a petPlays a sportpet AND sport
Each cell answers both questions: 18 students have a pet and play a sport.

Relative frequency

Counts can mislead when the groups are different sizes. Relative frequency turns each count into a fraction or percent of its row (or column):

Now the comparison is fair: 60% versus 40%.

Is there an association?

Standard 8.SP.A.4 asks whether the two variables are associated. If the row percents are about the same, there is no association. If they are clearly different, like 60% and 40%, there is: in this survey, pet owners are more likely to play a sport. As with scatter plots, this does not prove that one causes the other.

A full example: building a table

A survey of 80 students asked: do you have a phone, and do you walk to school? 32 students have a phone and walk; 50 students have a phone in all; 40 students walk in all.

  1. Phone, does not walk: 50 − 32 = 18.
  2. No phone, walks: 40 − 32 = 8.
  3. No phone in all: 80 − 50 = 30, so no phone and does not walk is 30 − 8 = 22.
  4. Row percents: of phone owners, 32 ÷ 50 = 64% walk; of students without a phone, 8 ÷ 30 ≈ 27% walk.

64% against 27% is a big difference, so in this survey walking to school is associated with having a phone. Perhaps parents give a phone to children who travel alone; the table cannot say why.

Tip: fill the totals first, then each missing cell is just a subtraction.

Row percents or column percents?

The question decides. “Are pet owners more likely to play a sport?” compares pet owners with non-owners, which are the rows, so divide by the row totals. “Are sport players more likely to own a pet?” compares the columns: of the 26 sport players, 18 have a pet (69%); of the 24 who do not play, 12 have a pet (50%). Both ways show the same association, but the percents are different, so always say which group the percent is out of. Dividing by the grand total (18 of 50 = 36%) answers a third question: what fraction of all students have a pet and play a sport.

Two-way table practice

Read cells, totals and row percents from new two-way tables.

Go further

For two number variables, use scatter plots. To review percents, see percentages.

What to say to your child

A short script for teaching it the first time. Pause after each line and let your child do the next step.

  1. “This table sorts 50 students two ways. What do the rows ask? And the columns?”
  2. “How many have a pet and play a sport?” (18)
  3. “How many have a pet in all?” (30)
  4. “What percent of pet owners play a sport?” (60%)
  5. “And of students without a pet?” (40%)
  6. “Does having a pet seem to go with playing a sport?”

More worked examples

Example 1: Cell

No pet and no sport: 12.

Example 2: Column total

No sport: 12 + 12 = 24.

Example 3: Missing cell

Row total 30, one cell 18: the other is 30 − 18 = 12.

Example 4: Relative frequency

No pet, plays a sport: 8 ÷ 20 = 40%.

Practice questions (answers below)

Ask these out loud or write them down. Check each answer, and ask “how did you get that?” for one or two.

  1. From the table: pet and sport?
  2. No pet, no sport?
  3. Total with no pet?
  4. Total who play a sport?
  5. Grand total?
  6. Percent of pet owners who play a sport?
  7. Percent of non-owners who play a sport?
  8. Row total 25, one cell 10. Other cell?
Show the answers
  1. 18
  2. 12
  3. 20
  4. 26
  5. 50
  6. 60%
  7. 40%
  8. 15

Common mistakes

Using the grand total for a row percentDivided 18 by 50.Fix: for a row percent, divide by the row total.
Counting a person twiceAdded a row total to a column total.Fix: each person is in exactly one cell.
Comparing counts, not percentsCompared 18 with 8 though the rows differ in size.Fix: compare relative frequencies.
Association = causeSays pets make kids play sports.Fix: the table only shows they go together.

How to teach it at home

Family survey

Ask relatives two yes-or-no questions (likes coffee? early riser?) and fill in a table.

Class vote

Sort a class vote by grade or by boy and girl, then compare percents.

Sports teams

Make a table of wins and losses at home and away.

By grade

Worksheets and practice

Last reviewed

Questions parents ask

What is a two-way table?

A table that sorts data by two categories at once, with one variable in the rows and the other in the columns.

What is relative frequency?

A count written as a fraction or percent of its row, column or grand total.

How do you find a missing value in a two-way table?

Use the totals: subtract the known cells from the row or column total.

How do you tell if there is an association?

Compare the row (or column) percents. If they are clearly different, the variables are associated.

What grade learns two-way tables?

Grade 8, in Common Core standard 8.SP.A.4.