Chi-Square Test
Goodness-of-fit statistic from observed vs expected counts

Need to goodness? Chi-Square Test gives you an exact answer in seconds. Just enter Observed (comma) and Expected (comma) and the result updates as you type. The result comes with a step-by-step breakdown — no black box, just math you can check. Use it whenever you need a reliable number without opening a spreadsheet. Privacy-first: the calculation is local, your data stays yours, and the tool keeps working offline. It is part of the Math collection on CalcProMaster, alongside chi square test calculator goodness of fit observed expected, free online chi-square test calculator and more. Great for comparing scenarios — change a value and watch the impact immediately. Bookmark it and the answer is always one click away.
What does the Chi-Square Test do?
Chi-Square Test works out the goodness-of-fit statistic from the Observed and Expected, following standard Math conventions — the page defaults produce a goodness-of-fit statistic of χ² = 4.0000.
- Inputs: Observed and Expected.
- Output: the goodness-of-fit statistic, plus the intermediate steps behind it.
- Method: the standard Math formula, evaluated entirely in your browser.
Quick answer
With the default inputs (observed of 50,60,40, expected of 50,50,50), chi-square test returns a goodness-of-fit statistic of χ² = 4.0000. Assumptions and limits are summarized below.
How does it work?
Chi-Square Test computes the goodness-of-fit statistic directly from your inputs — the Observed and Expected feed the formula. Nothing is uploaded: the math runs locally in your browser and the result appears as you type.
How it works
Use Chi-Square Test when the figure needs to be right the first time: it evaluates your inputs against the standard Math method and shows the working, not just the answer.
How to use it
- Observed — a core input the formula applies directly — keep the units consistent with the label.
- Expected — one of the values the calculation builds from; the result reflects exactly what you type here.
- The output panel in chi-square test leads with the headline result and follows with the steps behind it, so the value can be checked rather than assumed.
- Iterate. Vary the inputs one at a time; the movement in the goodness-of-fit statistic shows which lever matters most for your chi-square test question.
The formula behind the result
The engine behind Chi-Square Test evaluates the inputs in a single pass — no hidden iterations or adjustments — so the goodness-of-fit statistic you see is exactly what the formula produces for the values you entered.
Worked example: with observed of 50,60,40, expected of 50,50,50, this chi-square test calculation returns χ² = 4.0000. The same run reports df = 2 | 95% critical (df=2): 5.991.
The steps it follows:
- Formula: χ² = Σ (O−E)²/E
- (50−50)²/50 = 0.000
- (60−50)²/50 = 2.000
- (40−50)²/50 = 2.000
Substitute your own values and the same steps produce your answer — that is the point of a calculator that shows its working.
Understanding the result
To interpret the result from chi-square test, read it together with the intermediate figures — the pairing is what makes the number auditable.
Where it helps
Typical uses for Chi-Square Test include short-term planning, comparing scenarios side by side, and double-checking the goodness-of-fit statistic — anywhere the figure needs to be defensible rather than guessed.
Common mistakes
The most common error with Chi-Square Test is a unit mismatch — one value entered in different units than its label assumes quietly skews the goodness-of-fit statistic. Check each label before typing.
Tip: If the goodness-of-fit statistic looks wrong, read the steps panel before re-entering anything; it usually shows exactly where the number departed from expectation.
Assumptions and limitations
Chi-Square Test assumes the units shown in each label — entering values in different units will skew the output proportionally.
Why use this calculator
Because the page doubles as documentation: Chi-Square Test puts the formula, a worked example, and the assumptions right beside the calculator.
From Our Guides Library
Frequently Asked Questions
What does the Chi-Square Test calculate?
Every run of Chi-Square Test evaluates the Observed and Expected you enter, applies the standard Math formula, and reports the goodness-of-fit statistic with each step listed for review. Because the working is visible: Chi-Square Test shows each operation behind the goodness-of-fit statistic in the steps panel, so you can verify the result instead of trusting a black box.
How is the goodness-of-fit statistic calculated?
The first steps are formula: χ² = σ (o−e)²/e, then (50−50)²/50 = 0.000. Chi-Square Test lists every intermediate step in the result panel, so the derivation of the figure can be checked line by line.
What do I need to use the Chi-Square Test?
The Observed and Expected it asks for, or the page defaults if you just want to see the calculation work. Each input maps directly to the formula, and changing any one of them recalculates the goodness-of-fit statistic instantly.
What does the result from the Chi-Square Test mean?
The main number the chi-square test returns is the goodness-of-fit statistic for your exact inputs, and the supporting figures and step list give it context. The model behind Chi-Square Test covers the standard case; special cases, edge values, or jurisdiction-specific rules may need manual adjustment.
When is the Chi-Square Test most useful?
Common scenarios for Chi-Square Test: short-term planning, comparing scenarios side by side, and double-checking the goodness-of-fit statistic. The step list makes it equally useful for learning the method and for double-checking someone else's numbers. Run Chi-Square Test twice with deliberately low and high inputs; the spread tells you how sensitive the figure is, which a single run never shows.