Statistical function

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)
ArgumentWhat it means
xRequiredThe value to evaluate; must be 0 or more.
deg_freedomRequiredDegrees of freedom, a whole number from 1 to 10^10 (decimals are truncated).
cumulativeRequiredTRUE 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

D2fx=CHISQ.DIST(B2, B3, TRUE)
ABCD
1InputValue
2Chi-squared value3.20.4751
3Degrees of freedom4

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

D2fx=CHISQ.DIST(B2, B3, FALSE)
ABCD
1InputValue
2Chi-squared value3.20.1615
3Degrees of freedom4

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.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 14 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
DanishCHI2.FORDELING
DutchCHIKW.VERD
FinnishCHINELIÖ.JAKAUMA
FrenchLOI.KHIDEUX.N
GermanCHIQU.VERT
HungarianKHINÉGYZET.ELOSZLÁS
ItalianDISTRIB.CHI.QUAD
Norwegian (Bokmål)KJIKVADRAT.FORDELING
PolishROZKŁ.CHI
Portuguese (Brazil)DIST.QUIQUA
Portuguese (Portugal)DIST.CHIQ
RussianХИ2.РАСП
SpanishDISTR.CHICUAD
SwedishCHI2.FÖRD
TurkishKİKARE.DAĞ