Home / Statistics & Data Analysis Tools / Z-Scores, T-Tests & Confidence Intervals / Chi-Square Goodness-of-Fit Test Calculator

Chi-Square Goodness-of-Fit Test Calculator

Processed in your browser

Compute Pearson chi-square statistic (χ²), degrees of freedom, and p-value comparing observed vs expected frequencies.

Category Counts (Comma or Space Separated)
Chi-Square Statistic (χ²)
1.800
Degrees of Freedom (k - 1) = 3
p-value: 0.6149
Significance (α=0.05): Fail to Reject H₀

Helpful Examples

Fair Die 60 Rolls Test

Testing if a six-sided die is balanced

Observed: 7, 12, 10, 8, 15, 8 | Expected: 10, 10, 10, 10, 10, 10

How to Use the Chi-Square Goodness-of-Fit Test Calculator

Inferential categorical test comparing observed count frequencies against hypothesized theoretical distributions or expected proportions. Calculates Pearson's chi-square test statistic χ² = Σ [(O - E)² / E], degrees of freedom (k - 1), critical threshold values at α = 0.05 and α = 0.01, and exact p-value significance.

Privacy & Data Processing Notice

No user data leaves your browser. Computation is executed entirely on your device. We do not store, view, or transmit your inputs over our network. Your computation remains on your personal machine.

Frequently Asked Questions

What is the minimum recommended expected frequency per cell?
A widely accepted rule of thumb is that every expected frequency E_i should be at least 5 for the chi-square approximation to remain accurate.
How are degrees of freedom calculated for goodness-of-fit?
df = k - 1, where k is the total number of distinct categories.

Related Utilities

Frequently paired browser tools in Statistics & Data Analysis Tools

Explore all Statistics & Data Analysis Tools tools ➔