Back to Free Tools
FREE TOOLS
Chi Square Test Calculator
Calculate a supported chi-square goodness-of-fit or contingency-table test.
Test model, Goodness: observed counts, Goodness: expected weights, Goodness: estimated parameters, Contingency: rows of observed counts, Contingency correction
JSON
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Enter the displayed example values,or choose the local input files requested by the controls. Optional source files take precedence where labelled.
- Choose Calculate result and inspect the complete result and any reported limitations.
- Use Download result and each companion download link to save complete outputs. Reset clears output and restores example controls.
Examples
Test model: goodness
Goodness: observed counts: [10,20,30]
Goodness: expected weights: [1,1,1]
Goodness: estimated parameters: 0
Contingency: rows of observed counts: [[12,8],[7,13]]
Contingency correction: none
Limitations
- Compute goodness of fit from whole observed counts and positive expected weights,or a rectangular contingency independence test. Report every expected count,Pearson residual,contribution,df and asymptotic p-value. Expected weights are normalized to the observed total. Enter the number of estimated parameters for goodness of fit. Optional clipped Yates correction is limited to2 by2 tables. Sparse expected counts are reported as assumption warnings. No exact test or causal inference. Contingency tables:2–100 rows/columns with positive marginal totals; counts0–1e12. Download the complete JSON report. All processing stays in your browser. Combined input limit: 400,000 UTF-8 bytes, 100,000 characters per field; report limit: 4 MiB. Floating-point rounding and probability underflow can occur.
- Complete outputs only. Unsupported or oversized input is refused. Follow the displayed job-specific bounds and format policies.
Related tools
No items found.