COUNTS
Test of independence
One row per group, one column per category. A header row of column names is optional. Paste straight from Excel or SPSS crosstabs.
CHI-SQUARE CALCULATOR
COUNTS
One row per group, one column per category. A header row of column names is optional. Paste straight from Excel or SPSS crosstabs.
METHOD
χ² = Σ (O − E)² ÷ E, E = (row total × column total) ÷ N, df = (r − 1)(c − 1)O is each observed count and E the count expected if the two variables were unrelated. A large χ² means the observed table is far from what independence predicts.
100 students: 50 online and 50 in-person. 20 online and 30 in-person students passed. Every expected count is 25, so χ² = 4 × (5² ÷ 25) = 4.00 with df = 1, giving p = .046 and Cramér's V = .20: a small but significant association between study mode and passing.
“A chi-square test of independence showed a significant association between study mode and exam outcome, χ²(1, N = 100) = 4.00, p = .046, Cramér's V = .20.” Include N in the brackets and report the effect size. The APA chi-square guide has templates for every case.
ABOUT THIS TOOL
Test whether two categorical variables are associated, or whether counts match expected proportions, with expected-count checks and a ready-to-use APA write-up.
KEY FUNCTIONS
LEARN THE METHOD
Pick the right statistical test for your thesis in four questions, then see the assumptions to check and a ready-to-edit APA-style sentence for your results chapter.
Turn questionnaire frequency counts into weighted means, standard deviations, rankings, and a verbal interpretation table ready for a thesis results chapter.
Find the minimum sample size for a survey or thesis using Slovin/Yamane or Cochran's formula, with confidence level, margin of error, population size, response-rate adjustment, and a copy-ready methods sentence.