Statistical function

T.DIST.2T function

Returns the two-tailed Student's t probability: the chance of a t value at least this far from zero in either direction.

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.2T(x, deg_freedom)
ArgumentWhat it means
xRequiredThe t value; must be 0 or positive (use ABS on a negative t).
deg_freedomRequiredDegrees of freedom, at least 1.

Returns: A two-tailed probability (p-value) between 0 and 1.

How T.DIST.2T works

This is the function that turns a t statistic into a two-sided p-value. A p-value answers: "if there were really no difference, how often would random chance alone produce a result at least this extreme?". A small p-value (commonly below 0.05) suggests the effect is unlikely to be pure chance. "Two-tailed" means extreme results in either direction count, which is the standard choice when you have not predicted the direction of the effect in advance.

T.DIST.2T returns the area in both tails beyond ±x. It is exactly twice T.DIST.RT. It only accepts non-negative x, so wrap a negative t in ABS. If you have the raw data rather than a t statistic, T.TEST does the whole test in one step.

Examples

1p-value for a regression coefficient

D2fx=T.DIST.2T(B2, B3)
ABCD
1ItemValue
2t statistic2.450.0280
3Degrees of freedom14

Result: 0.0280

0.028044 (shown to 4 decimals). Below 0.05, so the effect is statistically significant at the 5% level.

2Handle a negative t

D2fx=T.DIST.2T(ABS(B2), B3)
ABCD
1ItemValue
2t statistic-1.30.2084
3Degrees of freedom20

Result: 0.2084

0.208384 (shown to 4 decimals). Well above 0.05: a difference this size could easily be chance. Without ABS the formula returns #NUM!.

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

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!x is negative or deg_freedom is below 1.Use ABS(t) and df ≥ 1.
#VALUE!An argument is text.Use numbers.

Tips

  • A p-value is not the probability that your hypothesis is true; it is the probability of data this extreme if there were no effect.
  • TDIST(x, df, 2) in older workbooks equals T.DIST.2T(x, df).

Google Sheets

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

T.DIST.2T 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.2T
DutchT.VERD.2T
FinnishT.JAKAUMA.2S
FrenchLOI.STUDENT.BILATERALE
GermanT.VERT.2S
HungarianT.ELOSZLÁS.2SZ
ItalianDISTRIB.T.2T
Norwegian (Bokmål)T.FORDELING.2T
PolishROZKŁ.T.DS
Portuguese (Brazil)DIST.T.BC
Portuguese (Portugal)DIST.T.2C
RussianСТЬЮДЕНТ.РАСП.2Х
SpanishDISTR.T.2C
SwedishT.FÖRD.2T
TurkishT.DAĞ.2K