Chi-Square Goodness of Fit Calculator
Enter observed and expected values for up to three categories to calculate the chi-square statistic for a goodness of fit test.
Examples
- Observed [20,30,50], Expected [25,35,40] ⇒ 4.21 χ²
- Observed [10,20,30], Expected [10,15,25] ⇒ 2.67 χ²
FAQ
What is a high chi-square value?
A higher chi-square indicates a greater difference between observed and expected values.
How many categories can I use?
This calculator supports up to three categories.
Can expected values be zero?
No, expected counts must be greater than zero to avoid division by zero.
Additional Information
- Chi-square tests compare observed data with theoretical expectations.
- Degrees of freedom equal categories minus one.