Chi-Square Calculator for 5×5 (or smaller) Contingency Table

This calculator performs a chi-square test for association in contingency tables ranging from 2×2 up to 5×5, providing full details of the calculation.

Go to Calculator →

When to Use

Use this calculator when you have categorical data with more than two levels for one or both variables. For example, testing whether political affiliation (Democrat, Republican, Independent) is associated with opinion on an issue (Favor, Oppose, Undecided).

Requirements

Null Hypothesis

H₀: The two variables are independent (no association).

Data Format

Enter your data as a table with one row per line. Use commas, spaces, or tabs to separate values within rows.

Example (3×3 table):
10, 15, 8
12, 18, 11
9, 14, 7