Chi-Square Calculator — Goodness of Fit Test (Free)
Use this free chi-square calculator to run a goodness-of-fit test. Enter the observed counts and the expected counts (or leave expected blank for equal categories), and you’ll get the χ² statistic, the degrees of freedom, the p-value, and each category’s contribution.
How to use the calculator
- Enter the observed counts, separated by commas.
- Enter the expected counts (or leave blank to assume equal categories).
- Read the χ² statistic, degrees of freedom, and p-value.
The chi-square statistic
The test compares observed to expected counts with χ² = Σ (O − E)² / E. The degrees of freedom are k − 1 for k categories, and the p-value tells you how surprising the result is if the expected model were true.
Frequently asked questions
What does the chi-square test do?
It measures how far observed counts are from expected counts. A large χ² (and small p-value) suggests the data don’t fit the expected model.
How many degrees of freedom?
For a goodness-of-fit test with k categories, df = k − 1.
What is the p-value?
The probability of a χ² at least as large as the one observed if the expected model is correct. Small p-values (e.g. < 0.05) cast doubt on that model.
Read the full lesson: learn the method step by step.
Related to This Article
More math articles
- How to Solve Negative Exponents and Negative Bases? (+FREE Worksheet!)
- Louisiana LEAP Grade 6 Math Free Worksheets: Free PDF Math Worksheets with Clear Answer Keys
- Free Grade 4 English Worksheets for South Dakota Students
- Maryland MCAP Grade 7 Math Worksheets: 95 Free Printable PDFs with Step-by-Step Keys
- 8th Grade IAR Math Worksheets: FREE & Printable
- Comprehensive Tests for Convergence and Divergence of Infinite Series
- Back to School: The Best Laptops for Students
- The Best Grade 5 ELA Practice Tests for South Carolina Students
- How Mathematical Thinking Transforms Your View of Life
- Discovering the Magic of ASA and AAS Congruence in Triangles






































What people say about "Chi-Square Calculator — Goodness of Fit Test (Free) - Effortless Math: We Help Students Learn to LOVE Mathematics"?
No one replied yet.