Compatibility function

CHIINV function

Returns the chi-squared value for a given right-tail probability, i.e. the critical value for a test. Replaced by CHISQ.INV.RT.

Available in All versions of Excel, including Microsoft 365 and Excel for the web (kept for compatibility)

In every Excel versionWorks in Google Sheets

Older function. CHIINV still works, but for new workbooks use CHISQ.INV.RT.

Syntax

CHIINV(probability, deg_freedom)
ArgumentWhat it means
probabilityRequiredThe right-tail probability (significance level), between 0 and 1.
deg_freedomRequiredDegrees of freedom, 1 or more. Decimals are truncated.

Returns: The chi-squared value x for which the right-tail probability equals probability.

How CHIINV works

CHIINV is the inverse of CHIDIST. Give it a significance level such as 0.05 and the degrees of freedom, and it returns the critical value: any chi-squared statistic above it is significant at that level. This is the number printed in the back of statistics textbooks, now calculated for any degrees of freedom.

Like CHIDIST it is right-tailed: CHIINV(0.05, 3) returns the value with 5% of the distribution above it. The modern CHISQ.INV is left-tailed, so CHISQ.INV(0.95, 3) would give the same number.

Compatibility note: CHIINV is one of the older statistical functions that Excel 2010 moved to the Compatibility group. It still works in every version, but for new workbooks Microsoft recommends CHISQ.INV.RT. A straight rename keeps the right-tail meaning: CHISQ.INV.RT(probability, deg_freedom).

Examples

1Reverse a CHIDIST result

C2fx=CHIINV(A2, B2)
ABC
1Probabilitydf
20.0500011018.306973

Result: 18.306973

A right-tail probability of 0.050001 with 10 degrees of freedom corresponds to a chi-squared value of about 18.307 (formatted to 6 decimals).

2Critical value for a 4-category test

C2fx=CHIINV(A2, B2-1)
ABC
1SignificanceCategories
20.0547.8147

Result: 7.8147

With 4 categories there are 3 degrees of freedom. At the 5% level the critical value is 7.8147; a statistic above that is significant (formatted to 4 decimals).

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

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!probability outside 0–1 or deg_freedom < 1.Check the inputs.
#VALUE!Non-numeric argument.Check the inputs.

Tips

  • CHIINV(p, df) = CHISQ.INV.RT(p, df) = CHISQ.INV(1-p, df).

Questions

Should I still use CHIINV?

Only if the workbook must open in Excel 2007 or earlier. Otherwise use CHISQ.INV.RT, which gives the same result and makes the intent clearer to the next person who reads the formula.

Will CHIINV stop working?

There is no announced removal date. Microsoft keeps compatibility functions so old workbooks keep calculating, but they get no new features.

Google Sheets

CHIINV also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

CHIINV 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
DutchCHI.KWADRAAT.INV
FinnishCHIJAKAUMA.KÄÄNT
FrenchKHIDEUX.INVERSE
HungarianINVERZ.KHI
ItalianINV.CHI
Norwegian (Bokmål)INVERS.KJI.FORDELING
PolishROZKŁAD.CHI.ODW
Portuguese (Brazil)INV.QUI
Portuguese (Portugal)INV.CHI
RussianХИ2ОБР
SpanishPRUEBA.CHI.INV
SwedishCHI2INV
TurkishKİKARETERS