Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Chi-square test calculator

Choose a calculation. Expected counts and each category or cell contribution are shown.

P value or critical value: —

Fill in the fields above — the result is computed on this page.

Chi-square statistic
—
Degrees of freedom
—
Smallest expected count
—

Contributions to the statistic

Category / cell O E (O−E)²/E
Fill in the fields above — the result is computed on this page.
What do these numbers mean?
  • Use counts rather than percentages.
  • Review the smallest expected count.

The usual approximation can be unreliable with small expected counts or dependent observations.

How do I use this page?
  1. Choose a mode.
  2. Enter counts.
  3. Read chi-square, df and p.

What this page does not do: The usual approximation can be unreliable with small expected counts or dependent observations.

Further reading

Theory — what is the chi-square test?

The chi-square test compares observed counts with expected counts. In an independence table, expected counts come from multiplying the row sum by the column sum and dividing by the overall total. The calculator shows these expected values together with each category or cell contribution to the test statistic. Values must be entered as observation counts, since the test does not accept percentages.

Frequently asked questions

Can I enter percentages?
No. The test requires observation counts.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.