CHISQ.DIST function
Returns the left-tailed chi-squared probability or density for a value, used in variance tests and goodness-of-fit checks.
Available in Excel 2010 and later, Microsoft 365, Excel for the web, Excel for Mac 2011 and later
Excel 2010 and laterWorks in Google Sheets
Syntax
CHISQ.DIST(x, deg_freedom, cumulative)| Argument | What it means | |
|---|---|---|
x | Required | The value to evaluate; must be 0 or more. |
deg_freedom | Required | Degrees of freedom, a whole number from 1 to 10^10 (decimals are truncated). |
cumulative | Required | TRUE for the cumulative probability up to x; FALSE for the density at x. |
Returns: A probability between 0 and 1 (cumulative) or a density value.
How CHISQ.DIST works
The chi-squared (χ²) distribution is what you get when you add up squared random errors. That makes it the reference curve for tests built on squared differences: comparing observed and expected counts, or checking whether a process's variance has changed. The degrees of freedom roughly count how many independent pieces of information went into the sum; more degrees of freedom shift the curve to the right.
CHISQ.DIST measures from the left: with TRUE it returns the probability of a value at most x. Most hypothesis tests need the right tail instead (the probability of a value this large or larger), which is what CHISQ.DIST.RT returns; the two always add up to 1. The left tail is mainly used when you test whether variability has become unusually small, or when you build confidence intervals for a variance.
Examples
1Left-tail probability
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Input | Value | ||
| 2 | Chi-squared value | 3.2 | 0.4751 | |
| 3 | Degrees of freedom | 4 |
Result: 0.4751
A chi-squared variable with 4 degrees of freedom is 3.2 or less with probability 0.4751 (formatted to 4 decimal places). The right tail, =CHISQ.DIST.RT(3.2, 4), is 0.5249.
2Density for drawing the curve
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Input | Value | ||
| 2 | Chi-squared value | 3.2 | 0.1615 | |
| 3 | Degrees of freedom | 4 |
Result: 0.1615
With FALSE the result is the height of the χ² curve at 3.2, 0.1615. Fill it down for x = 0 to 15 and plot a line chart to see how the curve changes with the degrees of freedom.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | x is negative or deg_freedom is below 1. | Check the inputs. |
#VALUE! | An argument is text. | Use numbers. |
Tips
- The mean of a chi-squared distribution equals its degrees of freedom, so values far above df are unusual.
- CHISQ.DIST(x, df, TRUE) + CHISQ.DIST.RT(x, df) = 1.
Google Sheets
CHISQ.DIST also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
CHISQ.DIST in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | CHI2.FORDELING |
| Dutch | CHIKW.VERD |
| Finnish | CHINELIÖ.JAKAUMA |
| French | LOI.KHIDEUX.N |
| German | CHIQU.VERT |
| Hungarian | KHINÉGYZET.ELOSZLÁS |
| Italian | DISTRIB.CHI.QUAD |
| Norwegian (Bokmål) | KJIKVADRAT.FORDELING |
| Polish | ROZKŁ.CHI |
| Portuguese (Brazil) | DIST.QUIQUA |
| Portuguese (Portugal) | DIST.CHIQ |
| Russian | ХИ2.РАСП |
| Spanish | DISTR.CHICUAD |
| Swedish | CHI2.FÖRD |
| Turkish | KİKARE.DAĞ |