Statistical function

T.DIST.RT function

Returns the right-tailed Student's t probability: the chance of a t value greater than x.

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

T.DIST.RT(x, deg_freedom)
ArgumentWhat it means
xRequiredThe t value (any sign).
deg_freedomRequiredDegrees of freedom, at least 1.

Returns: The probability of a t value above x.

How T.DIST.RT works

T.DIST.RT gives the area in the right tail of the t curve, beyond x. It is used for one-tailed tests where you predicted the direction in advance, for example "the new checkout page increases average order value". The smaller the result, the stronger the evidence that the increase is not chance.

It equals 1 - T.DIST(x, df, TRUE) and half of T.DIST.2T for positive x. Unlike T.DIST.2T it accepts negative x (giving a probability above 0.5). Only use one-tailed tests when the direction was decided before seeing the data.

Examples

1One-tailed p-value for an increase

D2fx=T.DIST.RT(B2, B3)
ABCD
1ItemValue
2t statistic1.950.0315
3Degrees of freedom24

Result: 0.0315

0.031476 (shown to 4 decimals). Just under 0.05, so a one-tailed test would call the increase significant; a two-tailed test (double, 0.0630) would not.

2Negative t gives a large right tail

D2fx=T.DIST.RT(B2, B3)
ABCD
1ItemValue
2t statistic-0.50.6861
3Degrees of freedom10

Result: 0.6861

0.686053 (shown to 4 decimals). Most of the curve lies to the right of -0.5.

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

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!deg_freedom is less than 1.Use df ≥ 1.
#VALUE!An argument is text.Use numbers.

Tips

  • Decide on one- or two-tailed before looking at the data; switching afterwards inflates false positives.
  • TDIST(x, df, 1) in old workbooks equals T.DIST.RT(x, df) for positive x.

Google Sheets

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

T.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
DanishT.FORDELING.RT
DutchT.VERD.RECHTS
FinnishT.JAKAUMA.OH
FrenchLOI.STUDENT.DROITE
GermanT.VERT.RE
HungarianT.ELOSZLÁS.JOBB
ItalianDISTRIB.T.DS
Norwegian (Bokmål)T.FORDELING.H
PolishROZKŁ.T.PS
Portuguese (Brazil)DIST.T.CD
Portuguese (Portugal)DIST.T.DIR
RussianСТЬЮДЕНТ.РАСП.ПХ
SpanishDISTR.T.CD
SwedishT.FÖRD.RT
TurkishT.DAĞ.SAĞK