Chi-Square (χ²) Goodness-of-Fit Calculator
Calculate Pearson chi-square statistic χ² and degrees of freedom from observed and expected counts.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.0.0
Result
—
| Metric | Value |
|---|
Formula & Methodology
χ² = Σ (Oᵢ - Eᵢ)² / Eᵢ
Technical Explanation
Calculate Pearson chi-square statistic χ² and degrees of freedom from observed and expected counts. Executes 100% locally in your browser with step-by-step derivations and CSV export.
Worked Examples
- Adjust inputs above to inspect live step-by-step output and download results as CSV.
Limitations & Assumptions
- Standard IEEE 754 double precision applies except modular exponentiation which uses arbitrary-precision BigInt.
Source References & Verification
Resource ID: calc-chi-square-goodness-of-fit · Independently verified: 2026-11-25