Chi-Square Calculator
Chi-square goodness-of-fit test with p-value.
Enter your values
Result
p-value
0.19929
Consistent with expected (5% level)
- χ²
- 4.65
- Degrees of freedom
- 3
- Expected used
- 40, 35, 20, 5
χ² = Σ (O − E)² ÷ E, with k − 1 degrees of freedom. Expected counts should be at least 5 for reliable results.
How to use Chi-Square Calculator
- Enter observed counts and expected counts (blank = equal).
- The result updates instantly as you type, with no button to press.
- Read the formula box to see how it was calculated, then copy the result.
Features
- Instant results
- Results update as you type, with no Calculate button and no page reload.
- Formula explained
- See exactly how the answer is worked out, so you can check it or learn the method.
- Private & free
- Everything runs in your browser. Nothing you enter is uploaded or stored.
Frequently asked questions
How does the Chi-Square Calculator work?
It uses this method: χ² = Σ (O − E)² ÷ E, with k − 1 degrees of freedom. Expected counts should be at least 5 for reliable results.
Is this Chi-Square Calculator free?
Yes. It is 100% free, needs no sign-up and works on mobile and desktop. Your numbers never leave your device.
Free, no sign-up. Your files and numbers are processed in your browser and are not uploaded.