Calculator: Pearson chi-square for a 2×2 table

Enter the labelled inputs to calculate: Value χ²; Count N.

Value χ²
0
Count N
40

How the calculation works

χ²=N(ad−bc)²/[(a+b)(c+d)(a+c)(b+d)]

Paired lists must have equal lengths. Variances use sample standard deviations where labelled. Probabilities must be nonnegative and sum to one; information is in bits, with zero-mass terms omitted. Pearson statistics use no continuity correction. Wilson uses the supplied normal critical value z.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

χ²=N(ad−bc)²/[(a+b)(c+d)(a+c)(b+d)]

What assumptions apply?

Paired lists must have equal lengths. Variances use sample standard deviations where labelled. Probabilities must be nonnegative and sum to one; information is in bits, with zero-mass terms omitted. Pearson statistics use no continuity correction. Wilson uses the supplied normal critical value z.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Also try:

Back to category →