ToolPatch

One page. One job. Done.

← Back to all tools
Statistics

Chi-Square GOF Calculator

Calculate chi-square goodness-of-fit statistic from observed vs expected counts.

Last validated: 2026-02-14

Chi-Square GOF Calculator tests whether observed categorical counts fit an expected distribution. It is useful for quality checks, survey analysis, and model validation. The tool computes chi-square statistic and significance output from count tables. Use it to identify meaningful distribution mismatch.

Permalink

Input Pattern

Enter values in the left panel, keep units explicit, run the calculation, then copy or share the result. Invalid fields are highlighted immediately.

Chi-Square GOF Inputs

Result

Chi-square: 2.000000

df: 3

How to use this tool

  1. Enter observed counts and expected counts/proportions.
  2. Run the test to compute chi-square and p-value.
  3. Interpret significance with awareness of sample-size assumptions.

Worked Example

Auto-generated from the tool's current default or entered inputs.

Example Inputs

  • Observed: 30, 25, 20, 25
  • Expected: 25, 25, 25, 25
  • Chi square: 2.0
  • Df: 3

Expected Outputs

  • Chi square: 2
  • Df: 3

Interpretation

Scenario Compare (A vs B)

Use this to compare two input sets and quantify change in key outputs.

Scenario A

Scenario B

Confidence and limitations

Formula References

Assumptions

Explore more versions

Tailored guides for specific audiences, regions, and scenarios.

Hypothesis testing resources

Recommend statistics textbooks and data analysis courses.

Sponsored