Skip to content

Chi-Square Test Calculator

Result

Chi-square0.3472222222
df2
↗ Math

Chi-Square Test Calculator — free online calculator.

Formula

χ² = Σ (O − E)² / E · df = k − 1
  • Chi-Square Test Calculator calculates its result from Observed 1, Expected 1, Observed 2, Expected 2, Observed 3, Expected 3. It uses the formula χ² = Σ (O − E)² / E · df = k − 1. Change any input to recalculate the result instantly.
  • The main inputs are Observed 1, Expected 1, Observed 2, Expected 2, Observed 3, Expected 3. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Chi-Square Test

Inputs
  • Observed 1: 20
  • Expected 1: 18
  • Observed 2: 30
  • Expected 2: 32
  • Observed 3: 50
  • Expected 3: 50

Using Observed 1 = 20, Expected 1 = 18, Observed 2 = 30, Expected 2 = 32, Observed 3 = 50, Expected 3 = 50, the calculated result is Chi-square: 0.3472222222 | df: 2.

Sample result: Calculating…

Frequently asked questions

What does the Chi-Square Test calculate?

Chi-Square Test Calculator — free online calculator.

Which values should I enter?

Enter Observed 1, Expected 1, Observed 2, Expected 2, Observed 3, Expected 3 using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: χ² = Σ (O − E)² / E · df = k − 1.

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 7, 2026