Guide · Student Tools / Stats, Geo & Music
About Chi-Square (χ²) Goodness-of-Fit Test
Compute Pearson's Chi-Square (`chi^2`) test statistic, degrees of freedom (`k - 1`), and per-category `(O - E)^2 / E` contributions from observed vs expected counts.
When to use this tool
Check Mendelian genetics ratios, die fairness tests, or categorical survey goodness-of-fit labs.
How to use Chi-Square (χ²) Goodness-of-Fit Test
- Enter equal-length comma-separated Observed Counts and Expected Counts.
- Inspect total `chi^2` statistic, `df = k - 1`, approximate p-value guidance, and per-cell breakdown.
Supported inputs, options, and outputs
- Inputs: Equal-length comma-separated observed and positive expected count lists.
- Outputs: `chi^2` value, degrees of freedom, and category-level contribution table.
Accuracy notes and limitations
- Standard Chi-Square approximation expects expected counts `>= 5` in most cells.
Privacy and browser processing
Physics, chemistry, genetics, statistics, and audio/astronomy calculations execute locally inside your browser tab without uploading data or experiment entries to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Student Tools.