Statistical function

T.DIST function

Returns the left-tailed Student's t-distribution, used for tests and intervals with small samples.

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(x, deg_freedom, cumulative)
ArgumentWhat it means
xRequiredThe t value.
deg_freedomRequiredDegrees of freedom, at least 1 (usually sample size minus 1). Decimals are truncated.
cumulativeRequiredTRUE: probability of a t value at or below x. FALSE: the density at x.

Returns: A probability (cumulative) or a density.

How T.DIST works

When you estimate an average from a small sample, you do not know the true standard deviation, only an estimate of it. That extra uncertainty makes results more spread out than the normal bell curve predicts. Student's t-distribution accounts for it: it looks like a normal curve with heavier tails, and the fewer data points you have (fewer degrees of freedom), the heavier the tails. With about 30 or more degrees of freedom it is almost identical to the normal curve.

T.DIST is the left-tailed version: with cumulative TRUE it returns the area to the left of x. For hypothesis tests you usually want a tail probability instead, so Excel offers T.DIST.RT (right tail) and T.DIST.2T (both tails). The older TDIST function worked differently (it only accepted positive x and returned tail areas).

Examples

1Area to the left of t = 1.8

D2fx=T.DIST(B2, B3, TRUE)
ABCD
1ItemValue
2t1.80.9515
3Degrees of freedom12

Result: 0.9515

0.951484 (shown to 4 decimals). A normal curve would give 0.9641; the t curve leaves more probability in the tail.

2Density for a chart

D2fx=T.DIST(B2, B3, FALSE)
ABCD
1ItemValue
2t1.80.0826
3Degrees of freedom12

Result: 0.0826

0.082632 (shown to 4 decimals), the height of the t curve at 1.8.

3Left-tail p-value for a negative t

D2fx=T.DIST(B2, B3, TRUE)
ABCD
1ItemValue
2t-2.10.0326
3Degrees of freedom9

Result: 0.0326

0.032559 (shown to 4 decimals). If a test checks whether a new process is faster (lower times), this is the one-tailed p-value: about 3.3%.

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

Common errors and how to fix them

ErrorWhy it happensFix
#NUM!deg_freedom is less than 1.Use at least 1 degree of freedom.
#VALUE!An argument is text.Use numbers, and TRUE/FALSE for cumulative.

Tips

  • T.DIST(x, df, TRUE) + T.DIST.RT(x, df) = 1.
  • Degrees of freedom: n − 1 for one sample, n₁ + n₂ − 2 for two pooled samples.

Google Sheets

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

T.DIST 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
FinnishT.JAKAUMA
FrenchLOI.STUDENT.N
GermanT.VERT
HungarianT.ELOSZL
ItalianDISTRIB.T.N
Norwegian (Bokmål)T.FORDELING
PolishROZKŁ.T
Portuguese (Brazil)DIST.T
Portuguese (Portugal)DIST.T
RussianСТЬЮДЕНТ.РАСП
SpanishDISTR.T.N
SwedishT.FÖRD
TurkishT.DAĞ