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)| Argument | What it means | |
|---|---|---|
x | Required | The t value. |
deg_freedom | Required | Degrees of freedom, at least 1 (usually sample size minus 1). Decimals are truncated. |
cumulative | Required | TRUE: 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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Value | ||
| 2 | t | 1.8 | 0.9515 | |
| 3 | Degrees of freedom | 12 |
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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Value | ||
| 2 | t | 1.8 | 0.0826 | |
| 3 | Degrees of freedom | 12 |
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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Value | ||
| 2 | t | -2.1 | 0.0326 | |
| 3 | Degrees of freedom | 9 |
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%.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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.
| Language | Function name |
|---|---|
| Danish | T.FORDELING |
| Finnish | T.JAKAUMA |
| French | LOI.STUDENT.N |
| German | T.VERT |
| Hungarian | T.ELOSZL |
| Italian | DISTRIB.T.N |
| Norwegian (Bokmål) | T.FORDELING |
| Polish | ROZKŁ.T |
| Portuguese (Brazil) | DIST.T |
| Portuguese (Portugal) | DIST.T |
| Russian | СТЬЮДЕНТ.РАСП |
| Spanish | DISTR.T.N |
| Swedish | T.FÖRD |
| Turkish | T.DAĞ |