In a fictional class of 30 students, 18 walk to school. Eleven of those walkers belong to art club. Five of the other 12 students also belong. A two-way frequency table puts these overlapping groups into four cells, with each student counted once.

The table answers two different questions: 11 of the 18 walkers are art-club members, while 11 of the 16 art-club members are walkers. The shared count is 11. The group named in the question determines which total goes underneath it.

A fictional class table has 11 walkers in art club, 7 walkers outside it, 5 nonwalkers in the club and 7 outside it. The highlighted row totals 18; the highlighted column totals 16.
The same 11 students sit in both highlighted groups. The row contains 18 walkers; the column contains 16 art-club members. The class is fictional.Credit: MathBlog

Fill the four cells before calculating percentages

The rows record whether a student walks to school; the columns record whether the student belongs to art club. Each student has one answer to each question. Here, “does not walk” includes every other way of getting to school.

Of the 18 walkers, 11 belong to art club, leaving \(18-11=7\) who do not. Of the 12 students who do not walk, five belong to the club, leaving \(12-5=7\) who do not.

Travel and art-club membership in one fictional class
Travel to school In art club Not in art club Row total
Walks 11 7 18
Does not walk 5 7 12
Column total 16 14 30

The art-club column totals \(11+5=16\); the other column totals \(7+7=14\). Both ways of adding the margins recover the class size: \(18+12=30\) and \(16+14=30\). The totals are summaries of the same students, so do not add the row totals to the column totals.

Read an intersection and a margin

The 11 in the upper-left cell counts students who both walk and belong to art club. This is a joint frequency: it describes the intersection of one row and one column. As a share of the whole class, that cell is \(\frac{11}{30}\), or about \(36.7\%\).

The 18 at the end of the first row counts all walkers, regardless of club membership. The 16 below the first column counts all art-club members, regardless of travel. Such row and column totals are called marginal frequencies. Their position at the edge of the table makes them useful denominators.

“Among walkers” uses a total of 18

For the art-club share among walkers, keep only the first row. Its two cells contain all 18 walkers. Eleven belong to the club, so the share is

\[\frac{\text{walkers in art club}}{\text{all walkers}}=\frac{11}{18}\approx61.1\%.\]

If you choose one of these 18 walkers uniformly at random, this is also the probability that the chosen student belongs to art club. The condition has reduced the group from the whole class to the walkers.

“Among art-club members” uses a total of 16

Now ask for the walking share among art-club members. Keep the first column: it contains 11 walkers and five students who do not walk. The denominator is 16, giving

\[\frac{\text{art-club members who walk}}{\text{all art-club members}}=\frac{11}{16}=68.75\%.\]

The numerator still comes from the same cell. Reversing the condition changes the denominator. The two percentages describe different groups and need not agree. This reversal is also central to Bayes’ theorem, which connects conditional probabilities with the relevant overall proportions.

Keep the denominator attached to the answer

Three questions about the same cell of 11 students
Question Group being considered Fraction
What share both walk and belong to art club? All 30 students \(\frac{11}{30}\)
What share of walkers belong to art club? 18 walkers \(\frac{11}{18}\)
What share of art-club members walk? 16 art-club members \(\frac{11}{16}\)

Each fraction becomes a percentage when multiplied by 100. Keep the unrounded fraction for later calculations; the displayed 61.1% and 36.7% are rounded descriptions.

These counts describe one fictional class. They do not establish that walking causes club membership, or that the same proportions hold in other classes. If a category answer is missing, resolve it or show an explicit unknown category before treating the table as complete. A conditional percentage for an empty group has a zero denominator and is undefined.

Further reading