=CHISQ.DIST(x, degrees_freedom, cumulative)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
| Parameter | Required | Description |
|---|---|---|
| x | Yes | The value at which to evaluate the distribution. Must be 0 or greater. |
| degrees_freedom | Yes | The number of degrees of freedom. Decimals are truncated; must be at least 1. |
| cumulative | Yes | TRUE returns the cumulative (left-tailed) probability up to x; FALSE returns the probability density at x. |
CHISQ.DIST evaluates the chi-square distribution from the left. With cumulative set to TRUE, it returns the probability that a chi-square random variable is less than or equal to x. With cumulative set to FALSE, it returns the height of the density curve at x.
The chi-square distribution describes the sum of squares of independent standard normal variables. It only takes non-negative values, is skewed to the right, and has one parameter: degrees of freedom. With few degrees of freedom the curve is bunched near zero with a long right tail; as degrees of freedom grow, it shifts right and becomes more symmetric. Its mean equals the degrees of freedom.
In practice you meet it most often in hypothesis tests: goodness-of-fit tests (does observed data match an expected pattern?), tests of independence in contingency tables (are two categories related?), and tests about a variance.
For hypothesis tests you usually want the right tail, because large chi-square statistics are the evidence against the null hypothesis. The right-tail probability is 1 - CHISQ.DIST(x, df, TRUE), or more directly CHISQ.DIST.RT.
=CHISQ.DIST(3.841, 1, TRUE)Returns about 0.95. With 1 degree of freedom, 95% of the distribution lies at or below 3.841.
=CHISQ.DIST(2, 2, FALSE)Returns about 0.1839. With 2 degrees of freedom the density is ½·e^(−x/2), so at x = 2 it is ½·e^(−1).
=1 - CHISQ.DIST(B5, B6, TRUE)Turns a test statistic in B5 with degrees of freedom in B6 into a right-tailed p-value.
=CHISQ.DIST(8, 4, TRUE) - CHISQ.DIST(2, 4, TRUE)The chance that a chi-square variable with 4 degrees of freedom falls between 2 and 8.
List x values from 0 to 20 in column A, then in column B:
=CHISQ.DIST(A2, 5, FALSE)Insert a line chart to see the shape of the distribution for 5 degrees of freedom. Repeat with other degrees of freedom to compare curves.
A quality engineer wants to know whether the variance of a machine's output is unusually small. After computing the test statistic in B5 with 24 degrees of freedom, =CHISQ.DIST(B5, 24, TRUE) gives the left-tailed probability used in the test.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.