Skip to main content

Row Total

Row total is the sum of all counts in one row of a contingency table. In Intro to Statistics, it gives the total frequency for one category and helps build marginal distributions and expected counts.

Last updated July 2026•Fiveable Content Team

What is the Row Total?

Row total is the total count for one row in a contingency table. If a row lists all the categories for one value of a variable, the row total is what you get when you add every cell in that row.

In Intro to Statistics, you usually see row totals when you are working with two categorical variables. A contingency table organizes the observed frequencies for each combination of categories, and the row total tells you how many cases fall into that row overall. That makes it a marginal total, because it sits on the edge of the table and summarizes one variable by itself.

For example, suppose a table compares pet ownership and housing type. If the row is "Apartment" and the cells in that row count cats, dogs, and no pets, the row total is the total number of apartment residents in the sample. You are not looking at the split across pet categories yet, just the total number of apartment cases.

Row totals matter because statistics is often about comparing a part to the whole. Once you know the row total, you can find the marginal distribution for the row variable by turning that total into a proportion of the grand total. That tells you the relative frequency of each row category, which is much more informative than raw counts alone when sample sizes are uneven.

They also show up in the chi-square test of independence. To find the expected count for a cell, you use the row total, the column total, and the grand total. The formula is (row total × column total) / grand total. So if a row total is wrong or missing, every expected count tied to that row will be wrong too.

A common mistake is to confuse row total with the count inside one cell. A cell count is just one intersection of row and column, while the row total adds across all columns in that row. Another mistake is to treat the row total as evidence of association by itself. On its own, it is just a summary count. You need the full table, and often the marginal distribution or chi-square test, to say anything about relationship between variables.

Why the Row Total matters in Intro to Statistics

Row total is one of the first numbers you need when you move from raw categorical data to actual statistical reasoning. It turns a long list of cell counts into a summary of one category, which makes a contingency table readable instead of messy.

This matters most when you compare distributions. If one row has a much larger total than another, that does not automatically mean there is a relationship between the variables, but it does change how you interpret the table. A big row total means you should look at proportions, not just counts, so you do not mistake sample size for pattern.

Row totals are also part of the logic behind expected counts in a test of independence. The expected count asks, "If the variables were unrelated, how many observations should land in this cell?" That calculation depends on the row total because the row total reflects how many cases are available to be spread across the columns.

So when you see a contingency table problem, row totals are not just arithmetic at the bottom of the table. They connect raw data, marginal distribution, and inference. If you can read them correctly, you are much better prepared to check independence, compare categories, and interpret whether the table shows a pattern or just uneven sample sizes.

Keep studying Intro to Statistics Unit 11

Official unit cheatsheet

open one-pager

How the Row Total connects across the course

Contingency Table

A row total only exists inside a contingency table, where two categorical variables are arranged in rows and columns. The row total summarizes one variable across all categories of the other variable. If you do not know how the table is set up, it is easy to misread what the total actually represents.

Marginal Distribution

Row totals feed directly into the marginal distribution of the row variable. Once you divide each row total by the grand total, you get the proportion in each row category. That is how you move from raw frequency counts to a distribution you can compare across groups.

Test of Independence

In a chi-square test of independence, row totals are part of the expected count formula. They help you figure out what the table would look like if the two categorical variables were independent. Without row totals, you cannot compute the expected counts needed for the test statistic.

Observed Frequency

Observed frequency is the actual count in each cell, while the row total is the sum of those observed frequencies across a row. You use the observed cells to build the row total, then compare the observed pattern to expected counts to see whether the data look independent.

Is the Row Total on the Intro to Statistics exam?

A problem set or quiz question will usually give you a contingency table and ask you to find the row total before anything else. You add the counts across the row, then use that total to compute a marginal proportion or an expected count for chi-square. If the question asks about independence, the row total is part of the setup, not the final answer.

You may also need to interpret what the row total means in context. For example, if a table tracks survey responses by age group, the row total tells you how many people are in that age group overall. That matters because the next step is often comparing percentages within rows or calculating expected values, not just reporting the total itself.

A common mistake on assessments is to add the wrong direction. If the row runs left to right, the row total is the sum across that line, while the column total is the sum straight down. Keep the structure of the table in mind so you do not mix up the totals when the numbers start feeding into a hypothesis test.

Key things to remember about the Row Total

  • Row total is the sum of all the counts in one row of a contingency table.

  • In Intro to Statistics, row totals summarize one category of a categorical variable and help form the marginal distribution.

  • Row totals are part of the expected count formula used in a chi-square test of independence.

  • A row total is not the same as a single cell count, because it combines every cell across that row.

  • If you know the row total, you can move from raw counts to proportions and compare groups more fairly.

Frequently asked questions about the Row Total

What is row total in Intro to Statistics?

Row total is the sum of all values across one row in a contingency table. In Intro to Statistics, it gives the total frequency for that row category and helps you build marginal distributions and expected counts.

How do you find a row total in a contingency table?

Add every observed frequency in that row from left to right. If the row has three cells with counts 12, 8, and 5, the row total is 25. Make sure you stay on the same row, because adding down a column gives you a column total instead.

Why do row totals matter for chi-square tests?

Row totals help you calculate the expected count for each cell in a chi-square test of independence. The formula uses the row total, column total, and grand total, so the row total is part of the comparison between what you observed and what you would expect if the variables were independent.

Is row total the same as marginal distribution?

Not exactly. The row total is the raw count for one row, while the marginal distribution is the set of row totals turned into proportions or percentages. The total is the starting point, and the distribution is the normalized summary.