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)| Argument | What it means | |
|---|---|---|
probability | Required | The right-tail probability (the significance level), between 0 and 1. |
deg_freedom | Required | Degrees 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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Input | Value | ||
| 2 | Significance level | 0.05 | 7.8147 | |
| 3 | Degrees of freedom | 3 |
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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Input | Value | ||
| 2 | Significance level | 0.01 | 13.2767 | |
| 3 | Degrees of freedom | 4 |
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.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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.
| Language | Function name |
|---|---|
| Danish | CHI2.INV.RT |
| Dutch | CHIKW.INV.RECHTS |
| Finnish | CHINELIÖ.KÄÄNT.OH |
| French | LOI.KHIDEUX.INVERSE.DROITE |
| German | CHIQU.INV.RE |
| Hungarian | KHINÉGYZET.INVERZ.JOBB |
| Italian | INV.CHI.QUAD.DS |
| Norwegian (Bokmål) | KJIKVADRAT.INV.H |
| Polish | ROZKŁ.CHI.ODWR.PS |
| Portuguese (Brazil) | INV.QUIQUA.CD |
| Portuguese (Portugal) | INV.CHIQ.DIR |
| Russian | ХИ2.ОБР.ПХ |
| Spanish | INV.CHICUAD.CD |
| Swedish | CHI2.INV.RT |
| Turkish | KİKARE.TERS.SAĞK |