LIMITED TIME Lifetime Deal: Get the published plan features for a $399 one-time payment. Grab the Deal →
Free Rowform tool

Free Chi-Square Calculator

Test whether two categorical variables are independent with a configurable contingency table.

Rowform free toolPrivate · runs in your browser

Enter observed counts. Labels are optional and do not affect the calculation.

How to Use This Chi-Square Calculator

  1. Choose a table size from 2 × 2 up to 6 × 6.

  2. Enter a non-negative observed count in every cell.

  3. Calculate the statistic, degrees of freedom, p-value, and interpretation.

What is a chi-square test?

A chi-square test of independence compares observed counts with the counts expected if two categorical variables were unrelated. A small p-value indicates evidence of an association.

The Formula

χ² = Σ (Observed - Expected)² ÷ Expected
Build with Rowform

Ready to create your own conversational form?

Create a beautiful, mobile-friendly survey people will want to complete, then share it anywhere and collect responses.

  • No standard monthly response cap on Rowform's free plan.
  • Create multiple forms and add the questions you need
  • No credit card required
Create your first form - free

Frequently Asked Questions

Can I enter percentages?

No. Enter observed frequency counts. Percentages do not retain the sample-size information required by the test.

What if expected counts are small?

The usual approximation can be unreliable when expected cell counts are below 5. For a small 2 × 2 table, consider Fisher's exact test.