T.DIST.RT function
Returns the right-tailed Student's t probability: the chance of a t value greater than x.
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.RT(x, deg_freedom)| Argument | What it means | |
|---|---|---|
x | Required | The t value (any sign). |
deg_freedom | Required | Degrees of freedom, at least 1. |
Returns: The probability of a t value above x.
How T.DIST.RT works
T.DIST.RT gives the area in the right tail of the t curve, beyond x. It is used for one-tailed tests where you predicted the direction in advance, for example "the new checkout page increases average order value". The smaller the result, the stronger the evidence that the increase is not chance.
It equals 1 - T.DIST(x, df, TRUE) and half of T.DIST.2T for positive x. Unlike T.DIST.2T it accepts negative x (giving a probability above 0.5). Only use one-tailed tests when the direction was decided before seeing the data.
Examples
1One-tailed p-value for an increase
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Value | ||
| 2 | t statistic | 1.95 | 0.0315 | |
| 3 | Degrees of freedom | 24 |
Result: 0.0315
0.031476 (shown to 4 decimals). Just under 0.05, so a one-tailed test would call the increase significant; a two-tailed test (double, 0.0630) would not.
2Negative t gives a large right tail
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Value | ||
| 2 | t statistic | -0.5 | 0.6861 | |
| 3 | Degrees of freedom | 10 |
Result: 0.6861
0.686053 (shown to 4 decimals). Most of the curve lies to the right of -0.5.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | deg_freedom is less than 1. | Use df ≥ 1. |
#VALUE! | An argument is text. | Use numbers. |
Tips
- Decide on one- or two-tailed before looking at the data; switching afterwards inflates false positives.
- TDIST(x, df, 1) in old workbooks equals T.DIST.RT(x, df) for positive x.
Google Sheets
T.DIST.RT also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
T.DIST.RT 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.RT |
| Dutch | T.VERD.RECHTS |
| Finnish | T.JAKAUMA.OH |
| French | LOI.STUDENT.DROITE |
| German | T.VERT.RE |
| Hungarian | T.ELOSZLÁS.JOBB |
| Italian | DISTRIB.T.DS |
| Norwegian (Bokmål) | T.FORDELING.H |
| Polish | ROZKŁ.T.PS |
| Portuguese (Brazil) | DIST.T.CD |
| Portuguese (Portugal) | DIST.T.DIR |
| Russian | СТЬЮДЕНТ.РАСП.ПХ |
| Spanish | DISTR.T.CD |
| Swedish | T.FÖRD.RT |
| Turkish | T.DAĞ.SAĞK |