What is a P-Value from t Calculator?
A p-value from t calculator turns a t statistic and its degrees of freedom into a p-value: the probability of a t at least as extreme as yours if the null hypothesis is true. For a two-tailed test it is the area beyond ±|t| under the Student t curve, so t = 2.31 with df = 14 gives p = 0.0366, significant at α = 0.05. Fewer degrees of freedom mean heavier tails, so the same t gives a larger p-value.
What the P-Value from t Calculator does
Enter a t statistic (also called a t score or t value) and its degrees of freedom to get the exact left-tail, right-tail and two-tailed p-values, the critical t at your α, the reject or fail-to-reject decision, and a t curve with the p-value area shaded. A table shows the decision at six common α levels, and the steps show the incomplete-beta calculation with your numbers. It works as a p-value from t score calculator, a t stat to p-value converter or a t score p-value calculator: the input is always t and df. Degrees of freedom can be any positive number, including the fractional values that Welch’s t-test produces.
This is the last step of every t procedure: one-sample, two-sample, Welch and paired t-tests, tests of regression slopes and tests of a correlation coefficient. Use it when software or a textbook gives you t but not p, or when a printed t-table only brackets the answer between two columns.
How to use the P-Value from t Calculator
- Enter the t statistic exactly as computed, including its sign.
- Enter the Degrees of freedom (df) for your test, such as n − 1 for a one-sample or paired test or n₁ + n₂ − 2 for a pooled two-sample test. The Degrees of Freedom Calculator finds df for other tests.
- Pick the Tail that matches the alternative hypothesis you stated before collecting data: two-tailed for “not equal to”, right for “greater than”, left for “less than”.
- Optionally set the Significance level (α), then read the p-value, the decision and the shaded t curve. The step-by-step solution shows the incomplete-beta calculation.
How to determine the p-value from a t-test
Finding the p-value from a t score takes three things: the t statistic, its degrees of freedom and the direction of the alternative hypothesis. The p-value is the area under the t(df) curve beyond your t, in the direction H₁ points.
- Compute t. For a one-sample test, t = (x̄ − μ₀) / (s / √n). For other tests, t = estimate / standard error.
- Work out df. One-sample or paired: n − 1. Pooled two-sample: n₁ + n₂ − 2. Welch: the Welch–Satterthwaite value, usually a decimal. Regression slope: n − k − 1.
- Pick the tail. Right-tailed: p = P(T ≥ t). Left-tailed: p = P(T ≤ t). Two-tailed: p = 2 × P(T ≥ |t|).
- Find the area. This calculator, Excel or R gives it exactly. With a printed t-table, find the row for your df and the two critical values your |t| falls between; the p-value lies between their α levels.
- Compare with α. If p ≤ α, reject H₀. If p > α, fail to reject H₀.
How to find the p-value for a two-tailed test
A two-tailed p-value counts results as extreme as yours in either direction. Because the t curve is symmetric about 0, the area beyond −|t| equals the area beyond +|t|, so you find one tail and double it: p = 2 × P(T ≥ |t|). The sign of t does not matter; t = −2.31 and t = 2.31 with df = 14 both give p = 0.0366.
A one-tailed p-value is half the two-tailed value when t points in the direction H₁ predicts (0.0183 here). When t points the other way, the one-tailed p-value is 1 minus that half (0.9817), and the result can never be significant. Choose the tail before looking at the data; switching to one tail after seeing t inflates the false-positive rate.
P-value from t formula
For a t statistic with ν degrees of freedom, the area beyond |t| on one side has a closed form in terms of the regularized incomplete beta function Iₓ(a, b).
| Symbol | Meaning |
|---|---|
| t | observed test statistic |
| ν (df) | degrees of freedom, any positive real number |
| T | a random variable with a Student t distribution on ν df |
| Iₓ(a, b) | regularized incomplete beta function |
As ν grows, the t distribution approaches the standard normal, so for large df the p-value is nearly the same as the p-value from z.
The distribution follows the NIST/SEMATECH e-Handbook definition of the t distribution. Critical values here agree with its table of t critical values, and the p-values match R’s pt and SciPy’s t.sf.
Worked example
Worked example: paired test scores
Problem. Fifteen students take a test before and after a revision workshop. A paired t-test on the improvements gives t = 2.31 with df = 15 − 1 = 14. Find the two-tailed p-value and decide at α = 0.05.
- 01Two-tailed probability statement: p = 2 × P(T ≥ 2.31) with T ~ t(14).
- 02Incomplete-beta argument: x = 14 / (14 + 2.31²) = 14 / 19.3361 = 0.724034.
- 03One-sided area: P(T ≥ 2.31) = ½ × I(0.724034; 7, 0.5) = 0.018324.
- 04Two-tailed p-value: p = 2 × 0.018324 = 0.0366.
- 05The critical value for α = 0.05 and df = 14 is ±2.1448, and 2.31 > 2.1448.
Answer. p ≈ 0.0366 < 0.05, so reject H₀: the mean improvement is statistically significant. Had the same t been read from the normal curve, p would be 0.0209, which shows how much the small df matters.
How to calculate the p-value from t by hand
With only a printed t-table you can bracket the p-value. Take the worked example above, t = 2.31 with df = 14. The df = 14 row of a two-tailed table lists 2.145 under α = 0.05 and 2.624 under α = 0.02. Since 2.145 < 2.31 < 2.624, the two-tailed p-value lies between 0.02 and 0.05. The exact answer, 0.0366, is inside that range.
For df = 1 and df = 2 the t distribution has a simple closed form, so you can get the exact p-value on any scientific calculator:
- df = 1 (the Cauchy distribution): two-tailed p = 1 − (2/π) × arctan(|t|). For t = 1, p = 1 − (2/π)(π/4) = 0.5.
- df = 2: two-tailed p = 1 − |t| / √(t² + 2). For t = 2, p = 1 − 2 / √6 = 1 − 0.8165 = 0.1835.
- Larger df: use the incomplete-beta formula above, a calculator or software. For df above about 100, the normal curve is a close approximation (see the p-value from z).
t statistic to p-value table
Two-tailed p-values for common t statistics and degrees of freedom. Read across from your df to the t nearest yours; for an exact value, enter it in the calculator above. Down each column the p-value falls toward the normal-curve value in the last row, which is why t = 2 is “significant at 5%” for large samples but not for small ones. Halve any entry for a one-tailed p-value in the predicted direction.
| df | t = 1.0 | t = 1.5 | t = 2.0 | t = 2.5 | t = 3.0 | t = 4.0 |
|---|---|---|---|---|---|---|
| 1 | 0.5000 | 0.3743 | 0.2952 | 0.2422 | 0.2048 | 0.1560 |
| 2 | 0.4226 | 0.2724 | 0.1835 | 0.1296 | 0.0955 | 0.0572 |
| 3 | 0.3910 | 0.2306 | 0.1393 | 0.0877 | 0.0577 | 0.0280 |
| 5 | 0.3632 | 0.1939 | 0.1019 | 0.0545 | 0.0301 | 0.0103 |
| 10 | 0.3409 | 0.1645 | 0.0734 | 0.0314 | 0.0133 | 0.0025 |
| 15 | 0.3332 | 0.1544 | 0.0639 | 0.0245 | 0.0090 | 0.0012 |
| 20 | 0.3293 | 0.1492 | 0.0593 | 0.0212 | 0.0071 | 0.0007 |
| 30 | 0.3253 | 0.1441 | 0.0546 | 0.0181 | 0.0054 | 0.0004 |
| 60 | 0.3213 | 0.1389 | 0.0500 | 0.0152 | 0.0039 | 0.0002 |
| 120 | 0.3193 | 0.1362 | 0.0478 | 0.0138 | 0.0033 | 0.0001 |
| ∞ (normal) | 0.3173 | 0.1336 | 0.0455 | 0.0124 | 0.0027 | 0.0001 |
P-value from t in Excel, R, Python and on a TI-84
Every package computes the same area. The examples use t = 2.31 and df = 14, which give a two-tailed p-value of 0.0366 and a right-tailed p-value of 0.0183. Excel’s T.DIST.2T and T.DIST.RT need a non-negative t, so wrap a negative statistic in ABS for the two-tailed value.
| Tool | Two-tailed p-value | Right-tailed p-value |
|---|---|---|
| Excel / Google Sheets | =T.DIST.2T(ABS(2.31), 14) | =T.DIST.RT(2.31, 14) |
| R | 2 * pt(-abs(2.31), 14) | pt(2.31, 14, lower.tail = FALSE) |
| Python (SciPy) | 2 * t.sf(abs(2.31), 14) | t.sf(2.31, 14) |
| TI-83 / TI-84 | 2 * tcdf(2.31, 1E99, 14) | tcdf(2.31, 1E99, 14) |
Reading and reporting the p-value
The p-value is the probability of a t statistic at least as extreme as the one observed, assuming H₀ is true. It is not the probability that H₀ is true, and a p-value above α does not prove H₀; it means the data are compatible with it.
In APA style, give t with its df in brackets, then the exact p-value: t(14) = 2.31, p = .037. Report p to two or three decimals and write p < .001 for anything smaller. To check a published result such as “t(28) = 2.45”, enter t = 2.45 and df = 28 here: the two-tailed p-value is 0.0208, so a printed “p = .021” is consistent and a printed “p = .002” is not.
Common use cases
- Converting the t from a hand-worked one-sample, two-sample or paired t-test into a p-value.
- Finishing a Welch’s t-test, whose fractional df a printed table cannot handle.
- Testing a regression slope or coefficient, where t = estimate / standard error with n − k − 1 df.
- Checking a t and df reported in a journal article, such as “t(28) = 2.45”, against the p-value printed next to it.
Assumptions and limitations
- The p-value assumes the statistic follows a t distribution under H₀, which in turn requires roughly normal data (or differences) and independent observations. For small, skewed samples consider a nonparametric alternative such as the Wilcoxon signed-rank or Mann–Whitney test.
- The df must match the test. Using n instead of n − 1, or pooled df for a Welch statistic, gives the wrong p-value.
- One-tailed p-values are valid only for a direction chosen in advance; after the fact, report the two-tailed value.
- A small p-value shows a difference is unlikely to be zero, not that it is large. Report a confidence interval and an effect size such as Cohen’s d alongside it.
Frequently asked questions
How do you convert a t-score to a p-value?
How do you calculate the p-value in a t-test?
Can degrees of freedom be a decimal?
Why is my p-value from t larger than the p-value from z?
What t value is significant at 0.05?
Is a t-test p-value two-tailed by default?
Can a p-value from t be negative or greater than 1?
Cite this page
Statculator. (2026, November 14). P-Value from t Calculator. Retrieved November 14, 2026, from https://statculator.com/p-values-critical-values/p-value-from-t-calculator/