Statistical function

CHISQ.INV.RT function

Returns the chi-squared critical value with a given right-tail probability, the threshold a test statistic must exceed to be significant.

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.INV.RT(probability, deg_freedom)
ArgumentWhat it means
probabilityRequiredThe right-tail probability (the significance level), between 0 and 1.
deg_freedomRequiredDegrees of freedom, a whole number from 1 to 10^10.

Returns: The value x such that CHISQ.DIST.RT(x, deg_freedom) equals probability.

How CHISQ.INV.RT works

In a chi-squared test you decide in advance how much risk of a false alarm you accept, usually 5%. CHISQ.INV.RT turns that risk into a critical value: if your test statistic is larger, the result is significant. It is the spreadsheet version of looking up a chi-squared table at the back of a statistics book.

It is the inverse of CHISQ.DIST.RT. Comparing a statistic with the critical value and comparing the p-value with 5% always lead to the same decision; many reports show both. The older name is CHIINV.

Examples

1Critical value at the 5% level

D2fx=CHISQ.INV.RT(B2, B3)
ABCD
1InputValue
2Significance level0.057.8147
3Degrees of freedom3

Result: 7.8147

For a survey with 4 categories (df 3), any statistic above 7.8147 (formatted to 4 decimal places) is significant at 5%. The statistic of 9.6 from the CHISQ.DIST.RT example clears this bar.

2A stricter 1% test

D2fx=CHISQ.INV.RT(B2, B3)
ABCD
1InputValue
2Significance level0.0113.2767
3Degrees of freedom4

Result: 13.2767

For a 3 × 3 table, df = (3−1)(3−1) = 4. At the 1% level the statistic must exceed 13.2767; requiring more certainty raises the bar.

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

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!probability is outside 0–1 or deg_freedom is below 1.Check the inputs.

Tips

  • Degrees of freedom: categories − 1 for a single list, (rows − 1) × (columns − 1) for a two-way table.

Google Sheets

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

CHISQ.INV.RT 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.INV.RT
DutchCHIKW.INV.RECHTS
FinnishCHINELIÖ.KÄÄNT.OH
FrenchLOI.KHIDEUX.INVERSE.DROITE
GermanCHIQU.INV.RE
HungarianKHINÉGYZET.INVERZ.JOBB
ItalianINV.CHI.QUAD.DS
Norwegian (Bokmål)KJIKVADRAT.INV.H
PolishROZKŁ.CHI.ODWR.PS
Portuguese (Brazil)INV.QUIQUA.CD
Portuguese (Portugal)INV.CHIQ.DIR
RussianХИ2.ОБР.ПХ
SpanishINV.CHICUAD.CD
SwedishCHI2.INV.RT
TurkishKİKARE.TERS.SAĞK