Chi-Square Distribution Calculator
Chi-square density, cumulative probability, and quantile for any degrees of freedom.
Loading tool…
About this tool
Compute the chi-square density, cumulative probability or quantile for given degrees of freedom.
How to use
1
Step 1
Choose PDF, CDF or inverse CDF.
2
Step 2
Enter df.
3
Step 3
Enter x or a probability p and press Calculate.
How it works
Chi-square is the sum of squared standard normal variables, so it is positive and skewed right, with mean equal to df. The 95th percentile is the right-tailed critical value at α = 0.05.
p (right-tail) = 1 − CDF(χ²) mean = df, variance = 2·df
Worked example
df = 8
- Input
- CDF, x = 10
- Output
- 0.734974
- Walkthrough
- The right-tail p-value for χ² = 10 is 1 − 0.734974 = 0.265. The inverse CDF at 0.95 gives 15.507313.
Limitations
- Central chi-square only.
- Probability input must be strictly between 0 and 1 for the quantile.
Questions
What is the 95th percentile of chi-square with 8 df?
15.5073.
What is P(χ² ≤ 10) for 8 df?
0.7350.
What is the mean of a chi-square distribution?
Its degrees of freedom.
Features
- PDF, CDF, quantile
- Plotted curve
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Student's t-distribution
Khan Academy
Why t-tables differ from z for small samples.
Watch on YouTubeHypothesis testing and p-values
StatQuest with Josh Starmer
Intuition for t/z/χ² decision rules.
Watch on YouTube
- Statistics and probability
Khan Academy
Full intro stats path next to hub calculators.
- STAT online programs
Penn State
University stats notes for tests and distributions.
More Statistics tools
See all ›Chi-Square Table
Chi-square critical values and p-values by degrees of freedom, with reverse lookup.
Chi-Square Goodness-of-Fit Test
Chi-square goodness-of-fit test comparing observed counts to an expected distribution.
Chi-Square Calculator
Chi-square goodness-of-fit statistic.
Chi-Square Test of Independence
Chi-square test of independence on a contingency table with Cramer's V.