Statistical function

F.DIST.RT function

Returns the right-tailed F probability: the p-value of an F statistic from ANOVA or a regression.

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

F.DIST.RT(x, deg_freedom1, deg_freedom2)
ArgumentWhat it means
xRequiredThe F statistic, 0 or more.
deg_freedom1RequiredNumerator degrees of freedom (e.g. number of groups − 1).
deg_freedom2RequiredDenominator degrees of freedom (e.g. total observations − number of groups).

Returns: A probability between 0 and 1: the chance of an F value at least as large as x.

How F.DIST.RT works

In a one-way ANOVA you compare the variation between group averages with the variation within groups. Their ratio is the F statistic: if all groups really have the same average, F tends to be around 1; a large F suggests at least one group differs. F.DIST.RT converts F into a p-value, the probability of an F this large or larger when there is no real difference. Below 0.05 is the usual signal of a significant result.

For ANOVA, the numerator degrees of freedom are the number of groups minus 1 and the denominator degrees of freedom are the total number of observations minus the number of groups. The older name for this function is FDIST.

Examples

1Do three training methods give different results?

D2fx=F.DIST.RT(B2, B3, B4)
ABCD
1InputValue
2F statistic4.20.0258
3Groups − 12
4Staff − groups27

Result: 0.0258

Thirty employees were split across three training methods and the ANOVA F was 4.2 with (2, 27) degrees of freedom. The p-value is 0.0258 (formatted to 4 decimal places), below 0.05, so the methods probably do not all produce the same average score.

2Four store formats, 40 stores

D2fx=F.DIST.RT(B2, B3, B4)
ABCD
1InputValue
2F statistic3.10.0387
3Groups − 13
4Stores − groups36

Result: 0.0387

An F of 3.1 with (3, 36) df gives p = 0.0387, about 4%. Significant at 5%, but not at the stricter 1% level.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 14 KB

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!x is negative or a degrees-of-freedom value is below 1.Check the inputs.

Tips

  • The p-value says a difference exists, not which group is different. Follow up with pairwise comparisons or simply look at the group averages.

Google Sheets

F.DIST.RT also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

F.DIST.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.

LanguageFunction name
DanishF.FORDELING.RT
DutchF.VERD.RECHTS
FinnishF.JAKAUMA.OH
FrenchLOI.F.DROITE
GermanF.VERT.RE
HungarianF.ELOSZLÁS.JOBB
ItalianDISTRIB.F.DS
Norwegian (Bokmål)F.FORDELING.H
PolishROZKŁ.F.PS
Portuguese (Brazil)DIST.F.CD
Portuguese (Portugal)DIST.F.DIR
RussianF.РАСП.ПХ
SpanishDISTR.F.CD
SwedishF.FÖRD.RT
TurkishF.DAĞ.SAĞK