Skip to content

Chi-Square Calculator

Calculate chi-square for a 2×2 contingency table.

Updated 2026-11-17 Editorial estimate Calccc Editorial Team Free · No sign-up
Scenarios A/BSave two input sets and compare the results. Stored only in this browser.
AEmpty
BEmpty

Your inputs stay in this browser. No account, no uploads.

Professional worksheet

Detailed schedule & assumptions

Inputs used, method, sensitivity, and any year-by-year table. The summary above stays compact; the audit lives here.

Professional worksheet

Inputs, scope, and sensitivity

Inputs used

Method and scope

Result audit

MetricValue

What this calculator does

The chi-square statistic measures departure from expected counts in a contingency table.

How to use it

  1. Enter four cells.
  2. Read chi-square.

How it works

χ² = n(ad−bc)² / ((a+b)(c+d)(a+c)(b+d)).

Example calculations

20, 80, 10, 90

χ² is about 3.86 with 1 df.

What the result means

This is a statistical calculation using the stated inputs and assumptions. It does not replace a full statistical analysis.

Common mistakes

  • Ignoring study design.
  • Treating a statistic as proof of causation.
  • Using a small sample without uncertainty.
  • Confusing odds and risk.

Assumptions and limits

  • Sample data are numeric and valid.
  • The stated summary statistics are correct.
  • No missing values are imputed.

Frequently asked questions

Does this include a p-value?

Not for every tool. Where a p-value is needed, use a statistical package and a pre-specified analysis.

Can I use this for research?

As a calculation aid, yes; report the method and validate with a statistician for formal research.

Sources

This calculator is an educational tool. Results are estimates based on the inputs you provide and may differ from official figures. It is not professional advice; verify important decisions with official sources or a qualified professional.

2026 update

How to use the professional output

This page is not just a formula box. The result is designed to be checked, compared, and taken away.

  • Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
  • A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
  • Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.

The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.

Calccc Editorial Team · Updated 2026-11-17

Prepared by Calccc Editorial Team as an educational estimate. This page is not a licensed professional review and is not financial, medical, legal, or tax advice.

Editorial statistical reference; not a formal peer review.