F.INV.RT returns the F value such that the area to its right under the F distribution equals the given probability. Use it to find critical values for right-tailed F tests, such as ANOVA or comparing two variances.
=F.INV.RT(probability, deg_freedom1, deg_freedom2)What does F.INV.RT do?
F.INV.RT is the inverse of the right-tailed F distribution. You give it a probability (the area in the right tail), plus two degrees of freedom, and it returns the F value where the right-tail area equals that probability. In practice, this is the critical F value you compare your test statistic against in a right-tailed F test.
The F distribution appears whenever you compare variances or test several group means at once. ANOVA tables, quality-control studies, and model comparisons all rely on F tests. Knowing the critical value lets you decide whether an observed F is large enough to be statistically significant, without hunting through printed tables.
Imagine you run a one-way ANOVA on four supplier groups and get an F statistic. To judge it, you need the critical F for your chosen alpha and the two degrees of freedom. F.INV.RT gives you that number in one cell, so your spreadsheet can flag significance automatically and update when the data changes.
When to use F.INV.RT
- Finding the critical value for a one-way or two-way ANOVA F test.
- Testing whether two population variances are equal (right-tailed F test).
- Building an ANOVA table in Excel that flags significant results automatically.
- Comparing nested regression models with an F test.
- Quality control: checking if a new process has greater variance than the old one.
- Teaching or studying statistics: replacing printed F tables with live formulas.
F.INV.RT syntax
=F.INV.RT(probability, deg_freedom1, deg_freedom2)| Argument | Required? | What to enter |
|---|---|---|
probability | Required | The right-tail area, between 0 and 1. This is your significance level alpha for a right-tailed test. Example: 0.05. |
deg_freedom1 | Required | Numerator degrees of freedom, a positive integer. In ANOVA this is often groups minus 1. Example: 3. |
deg_freedom2 | Required | Denominator degrees of freedom, a positive integer. In ANOVA this is often total observations minus groups. Example: 20. |
What it returns: A positive number: the F value with the specified right-tail probability and degrees of freedom. For example, =F.INV.RT(0.05,3,20) returns approximately 3.098391.
F.INV.RT examples
1 Example 1: Basic critical value for a right-tailed F test
The goal is to find the critical F value for a 5% right-tailed test with 3 numerator and 20 denominator degrees of freedom. The formula reads the probability from B2 and the two degrees of freedom from B3 and B4, then returns the F value whose right-tail area is 0.05. With these inputs it returns about 3.098391. Any observed F statistic larger than this would be significant at the 5% level.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Value | |||
| 2 | Probability (alpha) | 0.05 | 3.098391212 | ||
| 3 | Degrees of freedom 1 | 3 | |||
| 4 | Degrees of freedom 2 | 20 | |||
| 5 |
2 Example 2: Critical value at 1% significance
Here the analyst wants a stricter 1% right-tailed critical value with 5 numerator and 30 denominator degrees of freedom. The formula takes the probability from B2 and the degrees of freedom from B3 and B4. It returns approximately 3.699. Because the tail area is smaller, the critical value is larger than at 5%, so only stronger evidence will be significant.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Value | |||
| 2 | Probability (alpha) | 0.01 | 3.699018811 | ||
| 3 | Degrees of freedom 1 | 5 | |||
| 4 | Degrees of freedom 2 | 30 | |||
| 5 |
3 Example 3: ANOVA critical value from group counts
A one-way ANOVA compares four groups with 24 total observations. The numerator degrees of freedom are groups minus 1, which is 3, and the denominator degrees of freedom are observations minus groups, which is 20. The formula uses the 5% alpha in B2 and the computed degrees of freedom in B3 and B4. It returns about 3.098391, the critical value to compare against the ANOVA F statistic.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Value | |||
| 2 | Probability (alpha) | 0.05 | 3.098391212 | ||
| 3 | Degrees of freedom 1 | 3 | |||
| 4 | Degrees of freedom 2 | 20 | |||
| 5 |
4 Example 4: Variance comparison critical value
To test whether one process has greater variance than another, you use a right-tailed F test. With sample sizes 16 and 21, the degrees of freedom are 15 and 20. The formula takes the 5% alpha from B2 and the degrees of freedom from B3 and B4. It returns approximately 2.203, the critical value for the ratio of sample variances.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Value | |||
| 2 | Probability (alpha) | 0.05 | 2.20327429 | ||
| 3 | Degrees of freedom 1 | 15 | |||
| 4 | Degrees of freedom 2 | 20 | |||
| 5 |
5 Example 5: Two-way ANOVA critical value
A two-way ANOVA without replication has 3 levels of factor A, 4 levels of factor B, and 2 observations per cell, giving 24 total observations. The numerator degrees of freedom are 3 minus 1, which is 2, and the denominator degrees of freedom are 24 minus 12, which is 12. The formula uses the 5% alpha in B2 and the degrees of freedom in B3 and B4. It returns about 3.885, the critical value for the factor A F test.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Input | Value | |||
| 2 | Probability (alpha) | 0.05 | 3.885293835 | ||
| 3 | Degrees of freedom 1 | 2 | |||
| 4 | Degrees of freedom 2 | 12 | |||
| 5 |
Common F.INV.RT errors and how to fix them
| Error | Why it happens | How to fix it |
|---|---|---|
| #NUM! | probability is less than 0 or greater than 1, or either degrees of freedom is less than 1. | Check that probability is between 0 and 1 and that both degrees of freedom are positive numbers. |
| #VALUE! | One or more arguments are text instead of numbers. | Make sure all three arguments are numeric. Remove quotes around numbers and check for stray spaces. |
| #NAME? | The function name is misspelled, for example F.INVRT or FINV.RT. | Use the exact name F.INV.RT with the dots. |
| #N/A | A referenced cell contains an error or is empty in a way that breaks the calculation. | Verify that the referenced cells contain valid numbers. Use IFERROR to handle errors gracefully. |
Tips for using F.INV.RT
- For a right-tailed test at alpha 0.05, enter 0.05 as the probability, not 0.95.
- Degrees of freedom must be positive integers; Excel truncates decimals, so enter whole numbers.
- F.INV.RT is the modern name; FINV still works for compatibility but F.INV.RT is preferred.
- To get the left-tailed critical value, use F.INV.RT(1-alpha, df1, df2) or F.INV.
- Label your input cells clearly so others know which value is alpha and which are degrees of freedom.
- Pair F.INV.RT with F.DIST.RT to check your work: F.DIST.RT(F.INV.RT(p,df1,df2),df1,df2) returns p.
Frequently asked questions
What is the difference between F.INV.RT and F.INV?
F.INV.RT returns the right-tailed inverse: the F value with the given area to its right. F.INV returns the left-tailed inverse: the F value with the given area to its left. They are related by F.INV.RT(p,df1,df2) = F.INV(1-p,df1,df2).
Can I use F.INV.RT for a two-tailed test?
Yes. For a two-tailed test at significance level alpha, use F.INV.RT(alpha/2, df1, df2) to get the upper critical value.
Why do I get #NUM! with my degrees of freedom?
Degrees of freedom must be at least 1. If you enter 0, a negative number, or a non-integer that truncates to 0, Excel returns #NUM!. Check your df calculations.
Is F.INV.RT available in all Excel versions?
F.INV.RT has been built into Excel since before 2007. In Excel 2003 and earlier, use FINV instead.
Related functions
Every example on this page was recalculated by SheetSkill’s spreadsheet engine. F.INV.RT reference