How to use this tool
- Enter row 1, column 1, row 1, column 2, row 2, column 1, row 2, column 2, significance level.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
The method, explained
Expected count = row total × column total / grand total. Pearson χ² = sum[(O−E)²/E], with one degree of freedom. No Yates continuity correction is applied.
Using row 1, column 1 = 30, row 1, column 2 = 10, row 2, column 1 = 20, row 2, column 2 = 40, significance level = 0.05, the result is 0.0000445570906 probability. Change these example inputs to match your task; use the method above to check each step.
What to keep in mind
Independent observations, each counted once. Approximation can be poor with sparse cells. Association does not establish causation. A descriptive or probability calculation under the stated assumptions. Check the sample design and model before interpreting results.
Reference: NIST: statistical methods handbook
Common questions
What goes into the four cells?
Enter counts for two categories of one variable crossed with two categories of another. Each observation belongs in exactly one cell. Do not enter percentages or row totals.
Is Yates correction applied?
No. This is the uncorrected Pearson test. The result also shows the smallest expected count so you can assess whether the asymptotic approximation is appropriate.
Methodology maintained by ClarityKit. How these tools are built and checked.