Chi-Square Test Calculator
Enter observed counts, or a contingency table, to test whether they fit what you expect.
One count for each category, separated by commas or spaces.
Optional: one expected count for each category. Leave empty to expect an equal share in each.
How unlikely a result must be, if the null hypothesis were true, before it is rejected.
Result
You entered
p-value
Significance level
Decision
Show the work
Null and alternative hypotheses
The null hypothesis says every category is equally likely. The alternative hypothesis is what the test looks for, and it makes this a right-tailed test.
Expected counts
If every one of the categories is equally likely, each expects an equal share of the total .
Test statistic
Each category contributes how far its observed count is from its expected count , squared and scaled by . There are categories, so degrees of freedom.
p-value
The p-value is the probability, if were true, of a test statistic at least as extreme as the one observed. A chi-square test is always right-tailed: only a large statistic is evidence against the null hypothesis.
Decision
Compare the p-value with the significance level : if the result would be too unlikely under , so reject it. Here it is, so reject : there is enough evidence at the 5% level to say that the categories are not equally likely.
Result
So , , and the null hypothesis is rejected at the 5% level.