How to use the calculator
Assumptions
- Use counts of independent observations, not percentages or means.
- Expected counts should generally be 5 or more; for small 2 × 2 tables use Fisher’s exact test.
- A significant result shows an association, not a cause.
| df | Critical χ² at 5% | Critical χ² at 1% |
|---|---|---|
| 1 | 3.841 | 6.635 |
| 2 | 5.991 | 9.210 |
| 3 | 7.815 | 11.345 |
| 4 | 9.488 | 13.277 |
| 5 | 11.070 | 15.086 |
Related calculators
Frequently asked questions
What is a chi-square test?
A test for whether observed counts differ from those expected under a hypothesis.
What is a test of independence?
It tests whether two categorical variables are related, using a contingency table.
What is goodness of fit?
It tests whether one categorical variable follows an expected distribution.
How are degrees of freedom calculated?
(rows − 1) × (columns − 1) for independence; categories − 1 for goodness of fit.
Can I use percentages?
No – use actual counts.
What if expected counts are small?
Use Fisher’s exact test or combine categories.
What is Cramér’s V?
An effect size from 0 (no association) to 1 (perfect association).
What is the critical value for 1 df?
3.841 at the 5% level.
Does chi-square show causation?
No – only association.
What is Yates’ correction?
An adjustment for 2 × 2 tables; this calculator reports the uncorrected statistic.
How is the p-value calculated?
From the upper tail of the χ² distribution using the incomplete gamma function.
How large can the table be?
Any reasonable size.
Can expected counts be scaled?
Yes – in goodness of fit they are scaled to the observed total.
What does p < 0.05 mean?
The data would be unlikely if there were no association.
Is my information stored?
No. Everything is calculated in your browser.
Does it work on a phone?
Yes. The calculator is designed for mobile and desktop browsers.
Is it free?
Yes, with no sign-up.
Can I copy the result?
Yes – use the Copy result button.
Can I paste from a spreadsheet?
Yes – copied rows separated by tabs work.
Who developed the test?
Karl Pearson, in 1900.
Last reviewed: 7 November 2026.