P Value from T Score: How to Find It
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
To find a p value from a t score, you compare your calculated t statistic to the t distribution for your degrees of freedom, then find the probability of getting a t value that extreme or more so. You can do this with a t table, statistical software, or an online calculator that takes your t score and degrees of freedom as inputs.
Formula
The p value is the area under the t distribution curve beyond your t score. For a one-tailed test, the p value equals the probability that a t-distributed random variable exceeds your t score (or is less than it, if your t score is negative). For a two-tailed test, you double that probability to account for both tails.
Symbolically, for a one-tailed test with a positive t score: p = P(T > t). For a two-tailed test: p = 2 × P(T > |t|). The t distribution itself is defined by its degrees of freedom (df), which for a single sample is n − 1, where n is the sample size.
Worked Example
Using the default values from the calculator: t score = 2.31, degrees of freedom = 24, two-tailed test.
- Identify the degrees of freedom: df = 24.
- Find the area to the right of t = 2.31 in a t distribution with 24 df. Using a t table, the critical value for a one-tailed probability of 0.015 is about 2.31. So the one-tailed p value is approximately 0.015.
- For a two-tailed test, double it: 2 × 0.015 = 0.030.
The calculator returns 0.0300, matching this result. This means that if the null hypothesis were true, you would see a t value this extreme about 3% of the time by random chance.
When to Use a T Score Instead of a Z Score
The t distribution is used when the population standard deviation is unknown and you estimate it from your sample. This is the standard situation for most real-world data. Use a t score when you have a small sample size (typically under 30) or when you only know the sample standard deviation, not the population standard deviation.
A z score is appropriate when you know the population standard deviation or when your sample is large enough (often n > 30) that the t distribution closely approximates the normal distribution. In practice, many textbooks teach the t test for all sample sizes when the population standard deviation is unknown, since it is more conservative.
How to Choose Between One-Tailed and Two-Tailed Tests
Your choice depends on your research hypothesis before you collect data. If you predict a specific direction (for example, that a new teaching method improves scores, not just changes them), use a one-tailed test. If you only predict a difference without specifying direction, use a two-tailed test.
Two-tailed tests are more common and more conservative because they require a larger t value to reach significance. A one-tailed test halves your p value for the same t score, making it easier to reach significance, but only if your directional prediction is correct. If the effect goes the opposite way, a one-tailed test will miss it entirely.
Common Mistakes When Finding P Values
- Using the wrong degrees of freedom: For a two-sample t test, df is not simply n1 + n2 − 2 if variances are unequal; use the Welch–Satterthwaite approximation instead.
- Forgetting to double for two-tailed tests: A t table gives one-tailed probabilities. If you need a two-tailed p value, you must multiply by 2.
- Using a t table with the wrong row: Ensure you are reading the row for your exact df. If your df falls between table values, use the next lower df to be conservative.
- Sign confusion: A negative t score gives the same p value as its positive counterpart for a two-tailed test. For a one-tailed test, the p value is the area in the tail on the side of the t score.
- Rounding too early: Round only at the final step. Intermediate rounding can change your p value enough to cross the 0.05 threshold.
How to Read the Result
A p value is the probability of observing your data, or something more extreme, assuming the null hypothesis is true. It is not the probability that the null hypothesis is true. A small p value (typically below 0.05) suggests that your result is unlikely under the null hypothesis, leading you to reject it.
Always report the exact p value rather than just stating significant or not significant. For example, write “t(24) = 2.31, p = .030” rather than “p < .05." This gives readers the full information to judge the strength of the evidence.
Remember that p values are continuous. A p value of 0.049 is not meaningfully different from 0.051, even though one is below 0.05 and the other is above. Treat the threshold as a guideline, not a magical boundary.
Limitations of the T Test and P Values
The t test assumes your data are approximately normally distributed and that observations are independent. For small samples, severe skewness or outliers can invalidate the test. In such cases, consider a nonparametric alternative like the Mann–Whitney U test or the Wilcoxon signed-rank test.
P values also do not tell you about effect size. A statistically significant result with a tiny effect may be practically meaningless, especially with large samples. Always report a measure of effect size, such as Cohen’s d, alongside the p value.
Finally, p values are frequently misinterpreted. They do not tell you the probability that your hypothesis is correct, nor do they tell you the probability that the result will replicate. They only quantify the compatibility of your data with the null hypothesis.
Frequently Asked Questions
What is the difference between a t score and a p value?
A t score is a test statistic that measures how many standard errors your sample mean is from the hypothesized population mean. The p value is the probability of getting a t score that extreme or more so, assuming the null hypothesis is true. The t score is an input; the p value is an output derived from it.
Can I find the p value from a t score without a calculator?
Yes, using a t distribution table. Find your degrees of freedom in the left column, then locate your t score in that row. The column headers give the one-tailed p values. For a two-tailed test, double the value. This method gives approximate values because tables only list common probabilities.
What degrees of freedom should I use?
For a one-sample t test, use n − 1, where n is your sample size. For a paired t test, use the number of pairs minus 1. For an independent two-sample t test with equal variances, use n1 + n2 − 2. With unequal variances, use the Welch–Satterthwaite formula, which typically gives a non-integer df.
Why is my p value different from the one in the software?
Software uses the exact t distribution, while tables only give a few decimal places. Also, check whether you requested a one-tailed or two-tailed test. Many software defaults to two-tailed. Additionally, confirm that you entered the correct degrees of freedom and that your t score is signed correctly.
What does a p value of exactly 0.05 mean?
It means that if the null hypothesis is true, you would see a result this extreme 5% of the time. Whether this is significant depends on your chosen alpha level. If you set alpha at 0.05, then p = 0.05 is right at the boundary and is conventionally considered significant, though some researchers prefer to report it as marginal.
Related
Formula used
in t_score | t score | - | 2.31 | 0 in df | Degrees of freedom | - | 24 | 1 in tails | Test type | One-tailed=1, Two-tailed=2 | 2 | 0 out p_value | p value | - | tails * (1 - tcdf(t_score, df)) | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.