Chi-square test calculator
Choose a calculation. Expected counts and each category or cell contribution are shown.
Contributions to the statistic
| Category / cell | O | E | (O−E)²/E |
|---|---|---|---|
| Fill in the fields above — the result is computed on this page. | |||
How to use this page
- Choose a mode.
- Enter counts.
- Read chi-square, df and p.
What this page does not do: The usual approximation can be unreliable with small expected counts or dependent observations.
Further reading
A chi-square test compares observed and expected counts. In an independence table, expected counts equal row total times column total divided by the grand total.
Frequently asked questions
Can I enter percentages?
No. The test requires observation counts.
See also
Beta distribution calculator
Calculate beta density, CDF, upper tail and quantile together with its mean and variance.
Continuous uniform distribution calculator
Calculate density, CDF, upper tail, quantile, mean and variance for U(a,b).
Covariance calculator
Calculate covariance for two variables, means, the cross-deviation sum and Pearson correlation.