χ² Chi-Square Calculator
Test whether observed counts match expected counts, or whether two categorical variables in a contingency table are independent.
Also known as: Chi Square Calculator · Chi Square Test · Goodness of Fit · Contingency Table · Chinese Calculator for Gender · Wind Chill Calculator · Chi Square in Calculator · Calculate Chi Square Test Online
Loading calculator…
How to use the Chi-Square Calculator
- Enter your values in the fields above — the defaults show a worked example.
- The result updates instantly as you type; change any input to compare scenarios.
- Copy or share the result, or open a related calculator below.
How it's calculated
χ² = Σ (O − E)² ÷ E. For a table, E = row total × column total ÷ grand total; df = (rows − 1)(columns − 1).
Frequently asked questions
Is the Chi-Square Calculator free?
How accurate is the Chi-Square Calculator?
Can I use the Chi-Square Calculator on my phone or offline?
Read more about the Chi-Square Calculator
When to use the Chi-Square Calculator
Use the Chi-Square Calculator for chi-square goodness-of-fit and test of independence with p-value. It is one of 18 free statistics & probability calculators, and pairs well with the T-Test Calculator, P-Value Calculator, Mean, Median, Mode Calculator and Descriptive Statistics Calculator.
Tips for accurate results
Check that your input uses the expected format (decimals, fractions or one value per line), keep full precision until the final step, and use the worked formula below the result to verify the answer by hand or for homework.
More Statistics & Probability Calculators
Popular calculators
Results are estimates for information only. Calculations run privately in your browser.