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)| Argument | What it means | |
|---|---|---|
x | Required | The t value; must be 0 or positive (use ABS on a negative t). |
deg_freedom | Required | Degrees 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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Value | ||
| 2 | t statistic | 2.45 | 0.0280 | |
| 3 | Degrees of freedom | 14 |
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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Value | ||
| 2 | t statistic | -1.3 | 0.2084 | |
| 3 | Degrees of freedom | 20 |
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!.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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.
| Language | Function name |
|---|---|
| Danish | T.FORDELING.2T |
| Dutch | T.VERD.2T |
| Finnish | T.JAKAUMA.2S |
| French | LOI.STUDENT.BILATERALE |
| German | T.VERT.2S |
| Hungarian | T.ELOSZLÁS.2SZ |
| Italian | DISTRIB.T.2T |
| Norwegian (Bokmål) | T.FORDELING.2T |
| Polish | ROZKŁ.T.DS |
| Portuguese (Brazil) | DIST.T.BC |
| Portuguese (Portugal) | DIST.T.2C |
| Russian | СТЬЮДЕНТ.РАСП.2Х |
| Spanish | DISTR.T.2C |
| Swedish | T.FÖRD.2T |
| Turkish | T.DAĞ.2K |