Calculator For Chi Square
Calculate the Chi-Square statistic and p-value for a contingency table. Useful for hypothesis testing in statistics.
Was this calculator helpful?
How to use this tool?
How to use the Chi-Square Calculator
- Enter observed frequencies in the four cells (A, B, C, D) of a 2x2 contingency table. Use non-negative numbers (e.g., 10, 20, 15, 25).
- Click "Calculate" to compute the chi-square statistic and p-value.
- Interpret the results:
- χ² value – the chi-square test statistic.
- p-value – probability of observing such a result under the null hypothesis (independence). A small p-value (e.g., < 0.05) suggests a significant association.
- Expected frequencies are shown for reference; they must all be non-zero.
- Note: All inputs must be non-negative numbers. The total must be greater than zero. If you see an error, check your entries.
Previous Results
| Result | Inputs | Date |
|---|
Frequently Asked Questions
The Chi-Square test is used to determine if there is a significant association between two categorical variables.
The test assumes that the data are from a random sample, categories are mutually exclusive, and expected frequencies are at least 5.
A small p-value (typically ≤ 0.05) indicates strong evidence against the null hypothesis, suggesting that the variables are associated.