F.INV returns the inverse of the F probability distribution: give it a probability and two degrees of freedom, and it gives back the F value whose cumulative probability equals that probability. It is the function you use to find right-tail critical values for F tests such as ANOVA and variance comparisons.
=F.INV(probability, deg_freedom1, deg_freedom2)What does F.INV do?
F.INV is a statistical function that answers a reverse question. The F distribution tells you the probability of getting a certain F value or less; F.INV starts with the probability and hands back the F value. You supply a cumulative probability between 0 and 1, plus the degrees of freedom for the numerator and the denominator, and Excel returns the F statistic at that point on the curve.
This matters because most hypothesis tests using the F distribution are decided by comparing a calculated F statistic with a critical value. Analysts doing ANOVA, comparing two variances, or checking regression models often need that cut-off. Instead of hunting through printed F tables, you can calculate the exact critical value in a cell and let it update whenever the degrees of freedom change.
A typical office situation: a quality team has run a one-way ANOVA on three suppliers and needs the critical F for a 5% significance level with 2 and 27 degrees of freedom. Typing =F.INV(0.95,2,27) returns about 3.35, so any calculated F above that leads to rejecting the null hypothesis. The same pattern works for any probability and any pair of degrees of freedom.
When to use F.INV
- Finding the right-tail critical value for a one-way or two-way ANOVA F test.
- Comparing two sample variances with an F test for equality of variances.
- Testing whether a regression model as a whole is significant using the F statistic.
- Building a reusable critical-value table that changes with degrees of freedom.
- Checking whether a calculated F ratio exceeds the cut-off at a chosen significance level.
- Teaching or studying statistics where you need exact F quantiles rather than table approximations.
F.INV syntax
=F.INV(probability, deg_freedom1, deg_freedom2)| Argument | Required? | What to enter |
|---|---|---|
probability | Required | The cumulative probability between 0 and 1 for which you want the F value. For a 5% right-tail test use 0.95. Example: 0.95. |
deg_freedom1 | Required | The numerator degrees of freedom, a positive integer. In ANOVA this is often groups minus one. Example: 2. |
deg_freedom2 | Required | The denominator degrees of freedom, a positive integer. In ANOVA this is often total observations minus groups. Example: 27. |
What it returns: A positive number: the F value at the given cumulative probability for the specified degrees of freedom. For example, =F.INV(0.95,2,27) returns approximately 3.3541.
F.INV examples
1 Example 1: A single critical value for a 5% F test
The goal is the classic 5% right-tail critical value with 2 numerator and 27 denominator degrees of freedom. The formula =F.INV(E2,D2,F2) reads the probability 0.95 from E2, the numerator degrees of freedom 2 from D2, and the denominator degrees of freedom 27 from F2. F.INV returns about 3.3541, meaning 95% of F values with those degrees of freedom fall at or below 3.3541. Any calculated F statistic above this value would be significant at the 5% level.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Test | Significance level | Numerator df | Denominator df | Cumulative probability | Note | |||
| 2 | ANOVA overall | 0.05 | 2 | 2 | 0.95 | 27 | 3.354130829 | ||
| 3 | Variance ratio | 0.01 | 5 | 5 | 0.99 | 20 | |||
| 4 |
2 Example 2: Critical values for three significance levels
Here the team wants three cut-offs for the same degrees of freedom: 10%, 5% and 1% right-tail tests. The cumulative probabilities are 0.90, 0.95 and 0.99 in column E, with numerator df 3 in D2:D4 and denominator df 40 in F2:F4. The formula =F.INV(E2,D2,F2) in the first row returns about 2.2265 for the 10% test; the same pattern in the other rows gives about 2.8390 for 5% and about 4.3126 for 1%. Larger confidence means a larger critical value, which is exactly what the table shows.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Test | Significance level | Label | Numerator df | Cumulative probability | Denominator df | |||
| 2 | Test 1 | 0.1 | 10% right tail | 3 | 0.9 | 40 | 2.226091576 | ||
| 3 | Test 2 | 0.05 | 5% right tail | 3 | 0.95 | 40 | |||
| 4 | Test 3 | 0.01 | 1% right tail | 3 | 0.99 | 40 | |||
| 5 |
3 Example 3: Comparing two variances with an F test
A lab compares the variability of two instruments and needs the two-tailed 5% critical value. For a two-tailed test at 5%, each tail holds 2.5%, so the upper critical value uses cumulative probability 0.975. With numerator df 9 and denominator df 14, the formula =F.INV(E2,D2,F2) returns about 3.2093. If the observed variance ratio exceeds 3.2093, the variances are significantly different at the 5% level.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instrument | Sample size | Sample variance | Numerator df | Cumulative probability | Denominator df | |||
| 2 | Instrument A | 10 | 4.8 | 9 | 0.975 | 14 | 3.209300341 | ||
| 3 | Instrument B | 15 | 2.1 | 14 | 0.975 | 9 | |||
| 4 |
4 Example 4: Regression model F critical value
A regression with 4 predictors and 60 observations has numerator df 4 and denominator df 55 (60 minus 4 minus 1). The analyst wants the 5% critical F to judge overall model significance. The formula =F.INV(E2,D2,F2) uses cumulative probability 0.95, numerator df 4 and denominator df 55, returning about 2.5397. A model F statistic above 2.5397 is significant at the 5% level.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Model | Predictors | Observations | Numerator df | Cumulative probability | Denominator df | |||
| 2 | Sales model | 4 | 60 | 4 | 0.95 | 55 | 2.539688635 | ||
| 3 | Cost model | 3 | 45 | 3 | 0.95 | 41 | |||
| 4 |
5 Example 5: Building a small critical-value lookup table
This example shows a compact table of F critical values at the 5% level for several pairs of degrees of freedom, so staff can look up a cut-off without recalculating. Each row holds the cumulative probability 0.95, a numerator df and a denominator df. The formula =F.INV(E2,D2,F2) in the first row returns about 3.098391212 for df 3 and 20; the remaining rows follow the same pattern and give about 2.9013, 2.6055 and 2.4226 as the denominator grows. The pattern illustrates that critical values shrink as denominator degrees of freedom increase.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Case | Test type | Significance level | Numerator df | Cumulative probability | Denominator df | |||
| 2 | Case 1 | ANOVA | 0.05 | 3 | 0.95 | 20 | 3.098391212 | ||
| 3 | Case 2 | ANOVA | 0.05 | 3 | 0.95 | 30 | |||
| 4 | Case 3 | ANOVA | 0.05 | 3 | 0.95 | 40 | |||
| 5 | Case 4 | ANOVA | 0.05 | 3 | 0.95 | 50 | |||
| 6 |
Common F.INV errors and how to fix them
| Error | Why it happens | How to fix it |
|---|---|---|
| #NUM! | The probability is outside 0 to 1, or either degrees-of-freedom argument is zero or negative. | Use a probability strictly between 0 and 1 and positive integers for both degrees of freedom. For a 5% right-tail test, enter 0.95, not 0.05. |
| #VALUE! | One of the arguments is text that cannot be interpreted as a number, such as a word in the probability cell. | Make sure all three arguments are numeric. Convert text numbers with VALUE or clean the source data. |
| #NAME? | The function name is misspelled or written without the dot, for example FINV or F_INV. | Type =F.INV( exactly, with the dot between F and INV. |
| #N/A | A referenced cell contains an error value, which passes through to the result. | Fix the source cell or wrap the formula in IFERROR to handle the error gracefully. |
Tips for using F.INV
- F.INV works with cumulative probability, so for a 5% right-tail test use 0.95, not 0.05.
- For a two-tailed test at 5%, use 0.975 for the upper critical value because each tail holds 2.5%.
- Degrees of freedom must be positive integers; in ANOVA, numerator df is groups minus one and denominator df is observations minus groups.
- Keep probability and degrees of freedom in separate cells so you can change the significance level without editing the formula.
- F.INV is the modern replacement for the older FINV function; use F.INV in new workbooks.
Frequently asked questions
What is the difference between F.INV and F.INV.RT?
F.INV takes cumulative probability from the left, so 0.95 gives the 5% right-tail critical value. F.INV.RT takes right-tail probability directly, so you would enter 0.05 for the same result. Both return the same critical value when used consistently.
Why does F.INV return a different value from my printed F table?
Printed tables round to two or three decimals, while F.INV gives the exact value. Also check that you entered cumulative probability (0.95) rather than the tail probability (0.05).
Can F.INV handle non-integer degrees of freedom?
Excel truncates degrees of freedom to integers. For standard F tests the degrees of freedom are whole numbers anyway, so this rarely matters.
Which Excel versions include F.INV?
F.INV was introduced in Excel 2010 and is available in every later version and in Microsoft 365.
Related functions
Every example on this page was recalculated by SheetSkill’s spreadsheet engine. F.INV reference