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.
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 observed frequencies separated by commas
Enter expected frequencies separated by commas
For each category, subtract the expected frequency from the observed frequency, square the difference, divide by the expected frequency, then sum all results.
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