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
Syntax
CHIINV(probability, deg_freedom)| Argument | What it means | |
|---|---|---|
probability | Required | The right-tail probability (significance level), between 0 and 1. |
deg_freedom | Required | Degrees 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
| A | B | C | |
|---|---|---|---|
| 1 | Probability | df | |
| 2 | 0.050001 | 10 | 18.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
| A | B | C | |
|---|---|---|---|
| 1 | Significance | Categories | |
| 2 | 0.05 | 4 | 7.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).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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.
| Language | Function name |
|---|---|
| Dutch | CHI.KWADRAAT.INV |
| Finnish | CHIJAKAUMA.KÄÄNT |
| French | KHIDEUX.INVERSE |
| Hungarian | INVERZ.KHI |
| Italian | INV.CHI |
| Norwegian (Bokmål) | INVERS.KJI.FORDELING |
| Polish | ROZKŁAD.CHI.ODW |
| Portuguese (Brazil) | INV.QUI |
| Portuguese (Portugal) | INV.CHI |
| Russian | ХИ2ОБР |
| Spanish | PRUEBA.CHI.INV |
| Swedish | CHI2INV |
| Turkish | KİKARETERS |