Tool 503 · Categorical analysis
Chi‑Square Calculator
Analyze contingency tables and goodness-of-fit problems in one place. Paste counts, inspect expected frequencies and residuals, see practical assumption warnings, and get a copy-ready report with effect sizes and reproducible R code.
Two enginesIndependence / homogeneity and goodness-of-fit.
Residual insightSee which cells drive the association.
Effect sizePhi, Cramér’s V, and Cohen’s w.
Local onlyYour counts never leave this browser.
Test whether row and column variables are associated
Paste a contingency table of observed counts. Row and column labels are optional.
Observed contingency table
Accepted separators: comma, tab, or semicolon. Put labels in the first row and first column, or paste only numbers for unlabeled tables.Observed categories
One category per line: label, observed count. Labels are optional if you enter numeric counts only.Expected proportions or expected counts
Enter either proportions that sum to 1 (or 100), or direct expected counts in the same order as the observed categories.Analysis settings
For goodness-of-fit only. Each fitted parameter usually reduces the test degrees of freedom by 1.