How to use the chi-square table
- Work out your degrees of freedom: categories − 1 for goodness of fit, or (rows − 1)(columns − 1) for a contingency table.
- Choose your significance level α, usually 0.05.
- Find the row for your df and the column headed with your α. For df = 4 and α = 0.05, the critical value is 9.488.
- Compare: if your chi-square statistic is greater than the critical value, reject the null hypothesis.
- For values not in the table, or for left-tail and two-tailed cutoffs, use the lookup above. It also highlights the matching cell.
What the chi-square critical value means
The chi-square distribution is right-skewed and only takes positive values. The critical value is the point that leaves an area α in the right tail:
P(χ2 > χ2α, df) = α
The test statistic it is compared with, for goodness of fit or independence, is
χ2 = Σ (O − E)2E
- χ2
- The chi-square statistic calculated from your data
- O, E
- Observed and expected counts in each category or cell
- α
- The significance level: the area in the right tail beyond the critical value
- df
- Degrees of freedom, which set the shape of the distribution; larger df shifts it to the right
Worked example
A store expects customers to be spread evenly across its 5 weekdays. Over one week it counts 18, 22, 30, 16 and 14 customers (100 in total). Is that consistent with an even spread, at α = 0.05?
-
Expected count per day if the spread is even
E = 1005 = 20
-
Chi-square statistic
χ2 = (18−20)² + (22−20)² + (30−20)² + (16−20)² + (14−20)²20 = 16020 = 8.0
-
df = 5 − 1 = 4; table row 4, column 0.05
χ20.05, 4 = 9.488
-
Compare
8.0 < 9.488 → fail to reject H0
What it means: the busiest day had 30 customers, but with only 100 customers in total that much variation could easily happen by chance. The data don't give strong evidence that some days are busier than others.
Tips for using the chi-square table
- Bigger statistic, stronger evidence. Unlike z and t, the chi-square statistic is never negative, and large values mean the data don't fit the null hypothesis.
- Check expected counts. The test is reliable when every expected count is at least 5. Combine sparse categories if they aren't.
- For a variance confidence interval, use both a left-tail and a right-tail value: choose "Both tails" in the lookup to get the pair.
- Need an exact p-value? The p-value calculator gives it directly, and the critical value calculator covers z, t and F as well.