Chi-Square Calculator
Test categorical counts for fit or independence in seconds
Leave blank to assume equal expected counts across categories.
Chi-Square Tests In Plain English
A chi-square test compares observed counts with the counts you would expect if there were no pattern or no relationship. This calculator supports both the goodness-of-fit test and the test of independence, so you can work with a single category distribution or a full contingency table.
Goodness Of Fit
In a goodness-of-fit test, you provide observed counts and optional expected counts. If you leave expected counts blank, the tool assumes equal expected frequencies across categories.
Test Of Independence
For independence testing, enter a contingency table using rows on separate lines. The calculator computes row totals, column totals, the expected table, the chi-square statistic, the p-value, and Cramer's V.