Calculate the chi-square (χ²) test statistic for goodness of fit or independence. The chi-square test compares observed frequencies with expected frequencies to assess distribution fit.
Enter your values below
How this calculator works
For each category, subtract the expected frequency from the observed frequency, square the difference, divide by the expected frequency, then sum all results.
Common questions about this calculator