Skip to content

Advertisement

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 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 to 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

A chi-square test compares observed and expected counts. In an independence table, expected counts equal row total times column total divided by the grand total.

Frequently asked questions

Can I enter percentages?

No. The test requires observation counts.

See also

← All calculators

Advertisement
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.