F.DIST returns the F-distribution probability for a given x value and two degrees of freedom, either as a cumulative probability or a probability density. It is used to compare variances, test hypotheses, and support ANOVA and quality-control decisions.
=F.DIST(x, deg_freedom1, deg_freedom2, cumulative)What does F.DIST do?
F.DIST calculates the probability associated with the F-distribution, a statistical distribution that arises when you compare two variances. You supply a value (x) and two degrees of freedom, and Excel returns either the cumulative probability (the chance of getting a value up to x) or the probability density at x. It is the modern replacement for the older FDIST function and is part of Excel's Statistical category.
Why does this matter in an office? Many real decisions involve variability: are two production lines equally consistent, do two suppliers have the same spread in delivery times, or does a new process reduce variation? The F-distribution gives you a principled way to answer those questions. It also underpins ANOVA, a common tool for comparing several group means, and appears in quality-control and finance contexts.
A typical situation: a quality analyst has measured the thickness of parts from two machines and wants to know whether one machine is more variable than the other. After computing the ratio of sample variances and the degrees of freedom, F.DIST turns that ratio into a probability that can be compared with a significance level. The result is a clear, defensible statement rather than a guess.
When to use F.DIST
- Testing whether two processes or machines have equal variance.
- Checking the assumption of equal variances before a t-test.
- Supporting ANOVA calculations and interpreting F-ratios.
- Quality control: comparing consistency between suppliers or shifts.
- Finance and risk: comparing volatility of two return series.
- Academic and student work: finding p-values for F-tests.
F.DIST syntax
=F.DIST(x, deg_freedom1, deg_freedom2, cumulative)| Argument | Required? | What to enter |
|---|---|---|
x | Required | The value at which to evaluate the distribution. Must be a non-negative number. Example: 2.5. |
deg_freedom1 | Required | The numerator degrees of freedom, a positive integer. Example: 10. |
deg_freedom2 | Required | The denominator degrees of freedom, a positive integer. Example: 20. |
cumulative | Required | TRUE returns the cumulative distribution function (probability up to x); FALSE returns the probability density function. Example: TRUE. |
What it returns: F.DIST returns a probability between 0 and 1 when cumulative is TRUE, or the height of the probability density curve at x when cumulative is FALSE. The result is a number, not text.
F.DIST examples
1 Example 1: Basic cumulative probability
This example shows the simplest use: find the cumulative probability for an F value of 2.5 with 10 numerator and 20 denominator degrees of freedom. The formula =F.DIST(B2,C2,D2,TRUE) reads the x value from B2, the first degrees of freedom from C2, the second from D2, and asks for the cumulative result. Excel returns approximately 0.9610963637, meaning about 95% of F values with these degrees of freedom fall at or below 2.5. That is a high probability, so 2.5 is not an unusually large F ratio here.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Case | x | df1 | df2 | |||
| 2 | Basic test | 2.5 | 10 | 20 | 0.9610963637 | ||
| 3 |
2 Example 2: Probability density instead of cumulative
Here the goal is the height of the F-distribution curve at x = 1.5, not a cumulative probability. Setting cumulative to FALSE in =F.DIST(B2,C2,D2,FALSE) returns the density value. With 5 and 15 degrees of freedom, Excel gives approximately 0.2981365226. Density values are not probabilities and can be greater than 1, so use them for plotting or comparing curve shapes rather than for p-values. This is useful when you want to visualise how the distribution changes with different degrees of freedom.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Case | x | df1 | df2 | |||
| 2 | Density check | 1.5 | 5 | 15 | 0.2981365226 | ||
| 3 |
3 Example 3: One-tailed p-value for a variance ratio test
A common use is to convert an observed variance ratio into a p-value. Suppose the F ratio is 3.2 with 8 and 12 degrees of freedom. The formula =1-F.DIST(B2,C2,D2,TRUE) returns the upper-tail probability, about 0.0329. That means only about 3.3% of F values would be this large or larger if the variances were equal, which is often taken as evidence of a difference. The subtraction from 1 is needed because F.DIST gives the lower tail.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Test | F ratio | df1 | df2 | |||
| 2 | Variance ratio | 3.2 | 8 | 12 | 0.03433732597 | ||
| 3 |
4 Example 4: Comparing two machines' consistency
A quality analyst measures part thickness from two machines and computes the ratio of sample variances. With 15 and 18 degrees of freedom and an observed ratio of 2.1, the formula =1-F.DIST(B2,C2,D2,TRUE) gives the upper-tail probability, about 0.0701. At a 5% significance level this is not quite significant, so the analyst would not conclude the machines differ in variability. The example shows how F.DIST turns a raw ratio into a decision-ready probability.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Machine | Variance ratio | df1 | df2 | |||
| 2 | Machine A vs B | 2.1 | 15 | 18 | 0.06771084659 | ||
| 3 |
5 Example 5: Two-tailed p-value for a supplier comparison
When you want a two-tailed test, double the smaller tail. Here the F ratio is 0.45 with 20 and 20 degrees of freedom. The formula =2*F.DIST(B2,C2,D2,TRUE) returns about 0.08168077597. Because 0.45 is below 1, the lower tail is the smaller one, so doubling it gives the two-sided p-value. This is useful when you have no prior reason to expect one supplier to be more variable than the other and want a fair comparison.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Comparison | F ratio | df1 | df2 | |||
| 2 | Supplier X vs Y | 0.45 | 20 | 20 | 0.08168077597 | ||
| 3 |
Common F.DIST errors and how to fix them
| Error | Why it happens | How to fix it |
|---|---|---|
| #NUM! | x is negative, or either degrees-of-freedom argument is less than 1. | Ensure x is zero or positive and both degrees of freedom are integers of at least 1. |
| #VALUE! | One or more arguments are text that cannot be interpreted as numbers, or cumulative is not TRUE/FALSE. | Use numeric values or cell references to numbers, and enter TRUE or FALSE for cumulative. |
| #NAME? | The function name is misspelled or the version of Excel is older than 2010. | Type F.DIST exactly, or use the legacy FDIST function in older workbooks. |
| Wrong probability | Using cumulative FALSE when a p-value is needed, or forgetting to subtract from 1 for an upper-tail test. | Use TRUE for cumulative probabilities and apply 1-F.DIST(...) for the upper tail. |
Tips for using F.DIST
- Use
1-F.DIST(x,df1,df2,TRUE)when you need the upper-tail p-value for an F-test. - For a two-tailed test, double the smaller tail probability rather than always doubling the upper tail.
- Degrees of freedom are usually sample size minus one for each group; keep them as whole numbers.
- F.DIST is the modern function; F.DIST.RT gives the right-tail probability directly and can save a subtraction.
- Check that x is not negative and that both degrees of freedom are at least 1 to avoid #NUM! errors.
- When plotting the density, use cumulative FALSE and a range of x values to see the curve shape.
Frequently asked questions
What is the difference between F.DIST and F.DIST.RT?
F.DIST returns the cumulative probability up to x (lower tail) when cumulative is TRUE. F.DIST.RT returns the right-tail probability directly, equivalent to 1-F.DIST(x,df1,df2,TRUE).
Can F.DIST return a value greater than 1?
Only when cumulative is FALSE, because then it returns a probability density, which is not a probability and can exceed 1. Cumulative results are always between 0 and 1.
Which Excel versions include F.DIST?
F.DIST was introduced in Excel 2010 and is available in every later version and in Microsoft 365.
How do I get a p-value from an F ratio?
Use =1-F.DIST(F_ratio,df1,df2,TRUE) for a one-tailed upper p-value, or double the smaller tail for a two-tailed test.
Related functions
Every example on this page was recalculated by SheetSkill’s spreadsheet engine. F.DIST reference