Chi-Square Distribution Calculator

Enter a chi-square statistic and degrees of freedom to get the PDF, CDF (p-value), and critical value at any significance level.

Parameters

The observed chi-square test statistic value.

Positive integer; typically (categories − 1) for goodness-of-fit.

Critical Value Finder

Right-tail probability; common values: 0.10, 0.05, 0.01.

Quick Presets

Results at χ² = x

Enter parameters and press Calculate.

Distribution Statistics

Enter parameters and press Calculate.

Key Formulas

PDF:
f(x) = xdf/2−1 e−x/2 / (2df/2 Γ(df/2))
CDF:
F(x) = P(df/2, x/2) — regularized incomplete gamma
p-value:
1 − F(x) = P(χ² ≥ x)
Mean:
df
Variance:
2 · df
Mode:
max(df − 2, 0)

Summary

Enter a chi-square statistic and degrees of freedom to get the PDF, CDF (p-value), and critical value at any significance level.

How it works

  1. Enter the chi-square statistic (χ² value) — must be ≥ 0.
  2. Enter the degrees of freedom (df) — a positive integer, typically n−1 for goodness-of-fit tests.
  3. Press Calculate to get the PDF and CDF at your statistic.
  4. The p-value shown is P(χ² ≥ x) — the right-tail probability used in most hypothesis tests.
  5. Enter a significance level α (e.g. 0.05) to find the critical value x such that P(χ² ≥ x) = α.
  6. Use the preset buttons to load common textbook examples instantly.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu