What is Chi-Square Calculator?
Tests whether observed categorical frequencies differ significantly from expected theoretical frequencies.
How to Use This Calculator
- Enter comma-separated observed frequency counts.
- Enter corresponding expected frequency counts.
- Review chi-square test statistic and p-value.
The Mathematical Formula & Variables
Chi^2 = sum((Observed - Expected)^2 / Expected)
Step-by-Step Worked Example
Scenario: Observed: [25, 45, 30], Expected: [33.33, 33.33, 33.33].
- (25 - 33.33)^2 / 33.33 = 2.08.
- (45 - 33.33)^2 / 33.33 = 4.08.
- (30 - 33.33)^2 / 33.33 = 0.33.
- Sum chi^2 = 2.08 + 4.08 + 0.33 = 6.49.
Result: Chi^2 = 6.400
Frequently Asked Questions
What is the minimum expected count per cell?
As a rule of thumb, chi-square tests require expected cell frequencies to be at least 5 for asymptotic normality.