TDIST function
Returns the Student's t-distribution tail probability (one- or two-tailed) for a t statistic. Replaced by T.DIST.2T and T.DIST.RT.
Available in All versions of Excel, including Microsoft 365 and Excel for the web (kept for compatibility)
In every Excel versionWorks in Google Sheets
Syntax
TDIST(x, deg_freedom, tails)| Argument | What it means | |
|---|---|---|
x | Required | The t value. Must be 0 or more — negative values return #NUM!. |
deg_freedom | Required | Degrees of freedom, 1 or more. Decimals are truncated. |
tails | Required | 1 for a one-tailed probability (right tail), 2 for two-tailed. Any other value returns #NUM!. |
Returns: The tail probability (p-value).
How TDIST works
TDIST turns a t statistic into a p-value. The t-distribution looks like a slightly flatter bell curve and is used instead of the normal distribution when the standard deviation is estimated from a small sample, as in t-tests and regression coefficients.
Its argument list is unusual. tails must be 1 or 2: with 1 you get the area to the right of x; with 2 you get the area in both tails beyond ±x (twice as much). And x cannot be negative — TDIST returns #NUM! for -2.1 — so you normally pass ABS(t). Both quirks surprise people moving from other software.
Compatibility note: TDIST is one of the older statistical functions that Excel 2010 moved to the Compatibility group. It still works in every version, but for new workbooks Microsoft recommends T.DIST.2T. Split the job between two clearer functions: TDIST(x, df, 2) becomes T.DIST.2T(x, df) and TDIST(x, df, 1) becomes T.DIST.RT(x, df). The new T.DIST is left-tailed and accepts negative x.
Examples
1Two-tailed p-value
| A | B | C | |
|---|---|---|---|
| 1 | t | df | |
| 2 | 1.96 | 60 | 0.054645 |
Result: 0.054645
With 60 degrees of freedom, the probability of |t| ≥ 1.96 is 0.054645 (formatted to 6 decimals) — slightly above 0.05 because the t-distribution has fatter tails than the normal.
2One-tailed p-value from a negative t
| A | B | C | |
|---|---|---|---|
| 1 | t statistic | df | |
| 2 | -1.96 | 60 | 0.027322 |
Result: 0.027322
TDIST rejects negative values, so wrap the statistic in ABS. One tail is half the two-tailed value: 0.027322 (formatted to 6 decimals).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | x is negative, tails is not 1 or 2, or deg_freedom < 1. | Use ABS(x) and tails = 1 or 2. |
#VALUE! | Non-numeric argument. | Check the inputs. |
Tips
TDIST(x, df, 2)=T.DIST.2T(x, df);TDIST(x, df, 1)=T.DIST.RT(x, df)=1 - T.DIST(x, df, TRUE).- If you have the raw data, TTEST / T.TEST skips the statistic and returns the p-value directly.
Questions
Why does TDIST return #NUM! for my negative t value?
TDIST only accepts x ≥ 0. Use ABS(t) — the distribution is symmetric, so the tail probability is the same.
What replaces TDIST?
T.DIST.2T for two-tailed and T.DIST.RT for one-tailed (right) probabilities, both available since Excel 2010.
Google Sheets
TDIST also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
TDIST 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 | TFORDELING |
| Dutch | T.VERD |
| Finnish | TJAKAUMA |
| French | LOI.STUDENT |
| German | TVERT |
| Hungarian | T.ELOSZLÁS |
| Italian | DISTRIB.T |
| Norwegian (Bokmål) | TFORDELING |
| Polish | ROZKŁAD.T |
| Portuguese (Brazil) | DISTT |
| Portuguese (Portugal) | DISTT |
| Russian | СТЬЮДРАСП |
| Spanish | DISTR.T |
| Swedish | TFÖRD |
| Turkish | TDAĞ |