Chi-Square Calculator
Calculate chi-square statistic and p-value. Free online chi-square test calculator.
The Chi-Square Calculator computes the chi-square statistic for goodness-of-fit and independence tests. Enter observed and expected frequencies to find the χ² value and p-value. This test assesses whether observed data significantly differs from expected values, essential for categorical data analysis.
Common use cases
- Testing categorical independence
- Goodness-of-fit testing
- Survey response analysis
- Genetics ratio testing
- Quality control inspection
How to use
- Enter observed frequencies
- Enter expected frequencies
- Click calculate for χ² statistic
- View degrees of freedom and p-value
- Interpret statistical significance
FAQ
What is chi-square?
χ² = Σ(O-E)²/E, summing squared differences between observed (O) and expected (E), divided by expected.
What are degrees of freedom?
For goodness-of-fit: k-1 (k categories). For independence: (rows-1)×(columns-1).
How do I interpret p-value?
If p < α (typically 0.05), reject null hypothesis—observed differs significantly from expected.
What are the requirements?
Expected frequencies should generally be ≥ 5. Use exact tests for smaller samples.