Retour

Cross Tabulation: How to Read and Test a Crosstab

Matthieu Saussaye

A survey total tells you what people think. A crosstab tells you who thinks it, and that is usually what the decision depends on.

Cross tabulation is the most used technique in survey analysis, and also the most misread one. Pick the wrong percentage base, ignore a small subgroup or skip the significance test, and a random wobble ends up in the board deck. This guide walks through how to build a crosstab, how to read it, and how to test it, with one worked example from start to finish. If you would rather not build the tables by hand, SmartInterview runs the survey and produces the cross-tabs for you, open answers included.

The Short Answer

  • A crosstab (contingency table) shows the answers to one question split by the answers to another, for example purchase intent by age group.

  • Percentage down the column of the group you compare. If age groups are the columns, use column percentages: "60% of 18-34s would buy" is comparable across ages; raw counts are not.

  • Test before you believe a gap. The chi-square test tells you whether the whole table differs from chance; column-proportion tests or adjusted residuals tell you which cells.

  • Watch the base. Show the n of every column and treat columns under about 50 respondents as directional; the chi-square test needs expected counts of at least 5 in nearly every cell.

  • A banner is many crosstabs at once: the same set of columns (gender, age, region, customer status) run against every question in the survey.

The Parts of a Crosstab at a Glance

Element

What it is

Example

What to check

Stub (rows)

The question whose answers you describe

"Would you buy this oat drink?" Yes / No

Answer options in a logical order, nets added for scales

Banner (columns)

The groups you compare

Age: 18-34, 35-54, 55+

Groups are mutually exclusive, or clearly flagged if not

Base (n)

Number of respondents in each column

n = 150, 150, 100

Columns under ~50 marked as low base

Column %

Cell count divided by its column total

90 / 150 = 60%

Each column adds to 100% (single-select questions)

Row %

Cell count divided by its row total

90 / 200 = 45% of buyers are 18-34

Use for "who makes up this group", not for comparing groups

Total %

Cell count divided by the grand total

90 / 400 = 22.5%

Rarely useful on its own

Significance letters

Marks which columns differ at 95% confidence

"A" under 60% means higher than column A

Correction applied when many columns are compared

Crosstabs work best on categorical questions: single-select, yes/no and scales such as the Likert scale. Multi-select questions can be crossed too, but their columns add up to more than 100%, so the chi-square test below does not apply directly.

How Cross Tabulation Works: A Worked Example

Say a drinks brand asks 400 adults one question after showing a new oat drink concept: "Would you buy this product?" The total is a dead heat: 200 yes, 200 no, 50%. A total of 50% says "maybe". The crosstab by age says something much more useful.

Step 1: The observed counts


18-34 (A)

35-54 (B)

55+ (C)

Total

Yes

90

70

40

200

No

60

80

60

200

Base (n)

150

150

100

400

Step 2: Row vs column percentages

Counts cannot be compared directly, because the 55+ group is smaller. Divide each cell by its column total and you get the column percentages: 60% of 18-34s would buy, against 47% of 35-54s and 40% of 55+. That is the comparison the marketing team needs.

Divide by the row total instead and you answer a different question: of the 200 people who said yes, 45% are 18-34, 35% are 35-54 and 20% are 55+. That is the profile of your buyers, useful for media planning, but it mixes group size with group attitude. A common error is to read "45% of buyers are young" as "young people are more likely to buy". The rule of thumb from survey textbooks: compute percentages in the direction of the group you treat as the cause, and compare across the other direction.

Step 3: Expected counts

If age had no link with intent, every age group would show the overall 50% yes. The expected count of each cell is row total x column total / grand total. For 18-34 and yes: 200 x 150 / 400 = 75. The full set of expected counts is 75, 75, 50 for yes and the same for no. All are well above 5, so the test is valid (the usual guideline, from William Cochran, is that no expected count is below 1 and no more than 20% are below 5).

Step 4: The chi-square statistic

Pearson's chi-square adds up, for every cell, (observed - expected)2 / expected:

  • Yes: (90-75)2/75 = 3.00; (70-75)2/75 = 0.33; (40-50)2/50 = 2.00

  • No: (60-75)2/75 = 3.00; (80-75)2/75 = 0.33; (60-50)2/50 = 2.00

  • Chi-square = 10.67, with degrees of freedom = (rows - 1) x (columns - 1) = 1 x 2 = 2

The critical value for 2 degrees of freedom at the 5% level is 5.99. Our 10.67 is well above it; the exact p-value is about 0.005. So the difference in purchase intent across age groups is very unlikely to be sampling noise.

Step 5: Which cells drive it, and how strong it is

The chi-square test only says the table is not flat. To find the cells, use adjusted standardized residuals (described by Alan Agresti in Categorical Data Analysis): (O - E) / √(E x (1 - row share) x (1 - column share)). For 18-34 yes: 15 / √(75 x 0.5 x 0.625) = 3.10. For 55+ yes: -10 / √(50 x 0.5 x 0.75) = -2.31. For 35-54 yes: -1.03. Anything beyond ±1.96 is significant at 95%, so the story is "young adults over-index, over-55s under-index, the middle group is average".

Strength is a separate question from significance. Cramér's V = √(chi-square / (N x (k - 1))), where k is the smaller of the number of rows or columns: √(10.67 / 400) = 0.16, a weak to moderate association. With a large enough sample, even trivial gaps become significant, so report both. For relationships between numeric scores rather than categories, see correlation in survey data.

How to Run a Crosstab Analysis, Step by Step

1. Start from the decision, not from the data

Write down the two or three comparisons that would change what you do. "Does intent differ between customers and non-customers?" is a crosstab plan. "Cross everything by everything" is how you find 40 significant results, two of them by pure chance at 95% confidence for every 40 tests.

2. Put the grouping questions in the survey on purpose

You can only cross by what you asked. Add the banner variables as clean closed questions with exhaustive, non-overlapping options. For example:

  • Age: "Which age group are you in?" 18-34 / 35-54 / 55 or older / Prefer not to say

  • Customer status: "Have you bought from [brand] in the last 12 months?" Yes / No / Not sure

  • Usage: "How often do you drink plant-based milk?" Daily / Weekly / Monthly / Less often / Never

  • Outcome question: "How likely are you to buy this product?" Definitely / Probably / Might or might not / Probably not / Definitely not

Our survey questions guide and the guide to closed-ended questions cover the wording rules.

3. Plan the base sizes before fielding

Size the sample for the smallest column you need to read, not for the total. At n = 100, a 40% result has a margin of error of about ±9.6 points at 95%; at n = 50 it is about ±13.6. Set quotas so each key group reaches its minimum. More in sampling methods.

4. Collapse categories where the base is thin

Five-point scales split by five age bands give 25 cells. Report top-2 box ("Definitely" + "Probably") and merge neighbouring groups so that expected counts stay above 5.

5. Choose the percentage direction

Groups in columns, column percentages, read across the row. Keep this the same in every table of the report so nobody has to re-learn the layout.

6. Test the whole table, then the cells

Run the chi-square test of independence first. If it is significant, use adjusted residuals or pairwise column-proportion z-tests to locate the gaps, with a Bonferroni or similar correction when comparing many columns. In our example, 18-34 vs 55+ gives z = 3.10 (60% vs 40%, pooled proportion 52%), comfortably significant.

7. Explain the gap with open answers

A crosstab shows that 55+ respondents are less keen. It cannot show why. Cross the coded open-ended answers by the same banner, and the reason appears: perhaps taste, perhaps price, perhaps distrust of the claim.

8. Doing it in SmartInterview

In SmartInterview, you describe the objective ("Find out which age groups would buy our oat drink and why"), and the AI drafts the full questionnaire, banner questions included, with a quality score. You send it to your own customer list with a reusable link tagged by source, add an audience recruited in Switzerland and Europe, and set quotas per age group that are enforced live. When an open answer is vague, such as "not for me", the AI asks a follow-up. Open answers are coded into themes linked to the verbatims, with sentiment, so you can cross themes by age or by customer status exactly like a closed question, then export to Excel or SPSS. In our studies, AI follow-ups deliver up to 4x longer answers and 2.2x more topics, which matters most when a crosstab splits the sample into small groups.

Where I draw the line

I do not present a crosstab gap without three things next to it: the base of each column, a significance mark, and at least one verbatim that explains it. A table with 18 coloured cells and no explanation is not an insight; it is homework handed to the reader. Most surveys need four or five crosstabs that answer a real question, not a 200-page banner book nobody opens.

I also refuse to read columns under about 50 respondents as findings. They can point to a hypothesis for the next study, nothing more. When a client wants to cut by region and age and customer status at once, the answer is to plan the quotas for it before fielding, not to squint at a cell with 12 people in it afterwards.

Matthieu Saussaye, Founder of SmartInterview.

Crosstab Checklist

  1. Every column shows its base (n), weighted and unweighted if you weight the data.

  2. Percentages run in one direction and the table says which (column % or row %).

  3. Single-select columns add to 100%; multi-select tables are labelled as such.

  4. Expected counts are checked before a chi-square is reported (no more than 20% under 5, none under 1).

  5. Significance is marked with the confidence level and any multiple-comparison correction stated.

  6. Effect size is reported (percentage-point gap or Cramér's V), not just the p-value.

  7. Low-base columns are flagged and not used for conclusions.

  8. The "why" is shown with coded open answers or verbatims for each key gap.

For the choice of software, see our review of survey analysis tools.

Common Mistakes

  • Comparing raw counts across groups of different size. 90 young buyers vs 40 older buyers says nothing until you divide by 150 and 100.

  • Reading row percentages as group differences. "45% of buyers are 18-34" is a profile, not a likelihood.

  • Running dozens of tests and reporting the hits. At 95% confidence, about 1 test in 20 is significant by chance alone.

  • Mistaking significance for importance. With 5,000 respondents, a 2-point gap can be significant and still irrelevant.

  • Ignoring a hidden third variable. A gap by region may really be a gap by age if one region is much older. Check with a layered crosstab (Simpson's paradox).

  • Crossing by a biased sample. No test fixes a sample that skews the groups; see survey bias.

  • Using chi-square on multi-select or very sparse tables. Use per-option tests, or Fisher's exact test for small 2x2 tables.

Pharmalp, a Swiss natural health brand, used SmartInterview to validate the pricing and positioning of four new supplement concepts; read the Pharmalp case study. Plans start from CHF 45 per month; details on the pricing page. For the broader toolkit, see market research methods and qualitative vs quantitative research.

Frequently Asked Questions

What is cross tabulation in a survey?

Cross tabulation splits the answers to one question by the answers to another, in a table of rows and columns. For example, it shows purchase intent separately for each age group, so you can see which groups differ from the total.

How do you read a crosstab?

First find which variable is in the columns and check that the percentages add to 100% down each column. Then read across a row and compare columns, paying attention to the base size of each column and to the significance marks.

Should I use row or column percentages?

Use the percentage that adds to 100% within the groups you want to compare. If groups are in the columns, use column percentages; row percentages describe the make-up of an answer, such as who the buyers are.

How do I know if a crosstab difference is significant?

Run a chi-square test of independence on the counts: if the p-value is below 0.05, the table is unlikely to be flat by chance. Then use adjusted residuals beyond plus or minus 1.96, or pairwise column-proportion tests, to see which cells differ.

What is a banner in survey tables?

A banner is a fixed set of columns, typically demographics and customer segments, applied to every question in the survey. The output, sometimes called a banner book or tab plan, gives one crosstab per question with the same columns.

What sample size do I need for cross tabulation?

Plan for the smallest group you need to read. Around 100 respondents per column gives a margin of error near plus or minus 10 points; columns under about 50 should be treated as directional only.

Can I cross-tabulate open-ended answers?

Yes, once they are coded into themes. Each theme becomes a category you can split by age, region or customer status, which is often the fastest way to explain why two groups differ.

Want crosstabs that come with the reasons behind them? SmartInterview is free for your first 50 respondents.

Table des matières

Articles associés

Inscrivez-vous gratuitement

Inscrivez-vous gratuitement

Inscrivez-vous gratuitement