T-Distribution Calculator
Find areas, p-values and critical t-values for Student’s t-distribution — with a t-versus-normal overlay chart.
With t = 2.00 and 10 degrees of freedom, the two-tailed p-value is 0.0734.
Calculation
t-Distribution vs Standard Normal
The t curve (df = 10) has heavier tails than the standard normal curve. As df grows, the t curve closes in on the normal curve.
A t-distribution calculator finds areas, p-values and critical t-values for Student’s t-distribution. Enter your t value and degrees of freedom to get the cumulative probability and the one- or two-tailed p-value, or enter a confidence level to get the critical t (t*). The chart compares the t curve with the standard normal curve, showing how its heavier tails shrink as df grows.
How to use the t-distribution calculator
Use Area / P-Value mode when you already have a test statistic and want a probability. Use Critical t (t*) mode when you are building a confidence interval or a rejection region and need the cut-off value first.
- Pick a mode. Choose “Area / P-Value” to work from a t value, or “Critical t (t*)” to work from a confidence level.
- Enter the t value and df (area mode), or the confidence level and df (critical-t mode). For a one-sample test, df = n − 1.
- Choose the tail. Pick two-tailed for a standard p-value, or one-tailed when your alternative hypothesis points in one direction only.
- Read the headline answer, then check the results grid and the calculation ledger, which shows every step, including the incomplete beta value used for the CDF.
Try it: t = 2.0 with df = 10 gives a two-tailed p-value of 0.0734, and the 95% two-tailed critical t at df = 20 is 2.086. If you started from a z-score instead, use our p-value calculator from a z-score.
What is the t-distribution?
The t-distribution, also called Student’s t-distribution, is a family of symmetric, bell-shaped distributions used when you are working with small samples or when the population standard deviation (σ) is unknown and estimated from the sample. It was introduced by William Gosset, writing as “Student”, for exactly that situation: quality-control samples too small for the normal distribution to be trusted.
Each member of the family is set by its degrees of freedom (df). With few degrees of freedom the curve is shorter and wider, with heavier tails than the normal curve, so extreme values are more likely. As df grows, the curve rises in the middle, its tails thin out, and it converges on the standard normal distribution. At df = 100 the difference is already tiny: the 95% two-tailed critical t is 1.984, against z = 1.960.
The distribution is the basis of the one-sample and two-sample t-tests and of confidence intervals for a mean when σ is unknown. A two-sample test needs a combined spread first, which is where a pooled standard deviation calculator comes in, and the resulting interval can be built with a confidence interval calculator for a mean and standard deviation.
When to use a t-distribution instead of a z-distribution
Use the t-distribution when the population standard deviation is unknown and estimated from your sample, especially with small samples. Use the z-distribution when σ is known, or when the sample is large enough (usually n ≥ 30) that the sample standard deviation is a reliable stand-in. That is the short version of the t vs z decision, and it matches how the two tests are taught:
| Question | Use the t-distribution | Use the z-distribution |
|---|---|---|
| Is σ known? | No — estimated from the sample (s) | Yes — σ is known |
| Sample size | Small samples, typically n < 30 | Large samples, typically n ≥ 30 |
| Tails | Heavier, so cut-offs are larger | Thinner, so cut-offs are smaller |
| Typical tools | t-tests, small-sample confidence intervals | z-tests, large-sample intervals |
If you are unsure which statistic you are working with, start by learning how to calculate a z-score, then compare the cut-offs: a critical z-value calculator gives 1.960 for 95% two-tailed, while the t cut-off is always a little larger at the same confidence level. For a test about a proportion rather than a mean, the right tool is a one-proportion z-test calculator, which also works on the normal distribution.
How degrees of freedom change the t-distribution
Degrees of freedom set the shape of the t curve. At df = 1 the distribution is very flat with extremely heavy tails; at df = 5 it is visibly wider than the normal curve; by df = 30 the two are hard to tell apart by eye; and at df = 100 the curves almost coincide. That is why the critical t values below shrink toward 1.960 as df grows — the t-distribution is converging on the standard normal.
| Degrees of freedom | Critical t, 95% two-tailed | Critical t, 99% two-tailed |
|---|---|---|
| 1 | 12.706 | 63.657 |
| 5 | 2.571 | 4.032 |
| 10 | 2.228 | 3.169 |
| 15 | 2.131 | 2.947 |
| 20 | 2.086 | 2.845 |
| 30 | 2.042 | 2.750 |
| 60 | 2.000 | 2.660 |
| 100 | 1.984 | 2.626 |
| ∞ (normal z) | 1.960 | 2.576 |
The calculator above reproduces every value in this table: switch to Critical t mode, keep 95% two-tailed, and type in the df. The table itself is taken from the NIST/SEMATECH e-Handbook of Statistical Methods, which publishes the critical values of the Student’s t-distribution.
Worked examples
P-value from a t value
Example 1. t = 2.0, df = 10, two-tailed. The area in both tails beyond ±2.0 is 0.0734, so the p-value is 0.0734 — not significant at the 5% level, but close. The CDF is P(T ≤ 2.0) = 0.9633, so the one-tailed right probability is 1 − 0.9633 = 0.0367.
Example 2. t = 1.0, df = 5, right-tailed. P(T > 1.0) = 0.1816. Because the distribution is symmetric, the left-tailed area P(T < −1.0) is the same, 0.1816.
Example 3 (symmetry check). For any df, P(T < 0) = 0.500 exactly: the t-distribution is symmetric about zero, so half its area lies on each side. Enter t = 0 in the calculator and the CDF reads 0.5000 for every df.
Critical t from a confidence level
Example 4. 95% confidence, two-tailed, df = 20: t* = 2.086. A confidence interval built with this value is a little wider than one built with z = 1.960, because the sample standard deviation adds uncertainty.
Example 5. 95% confidence, one-tailed, df = 15: t* = 1.753. One-tailed cut-offs are smaller because all of α sits in one tail.
Example 6 (convergence). 95% confidence, two-tailed, df = 100: t* = 1.984, only 0.024 above the normal value of 1.960. As df grows further, t* keeps approaching 1.960 — the t and normal distributions become indistinguishable for practical purposes once df passes about 100.
Reading a p-value always raises the question of what a p-value is, and choosing between 95% and 99% confidence is a question of margin of error vs confidence interval — a higher confidence level means a wider interval and a larger margin of error.
Frequently asked questions
What is the t-distribution used for?
The t-distribution is used for inference about a population mean when the population standard deviation is unknown, especially with small samples. It is the basis of one-sample and two-sample t-tests and of confidence intervals for a mean, where the critical value t* replaces the normal z value.
How do I calculate a p-value from a t value?
Enter the t value and the degrees of freedom, then choose the tail. For example, t = 2.0 with df = 10 gives a two-tailed p-value of 0.0734, and t = 1.0 with df = 5 gives a right-tailed probability P(T > 1) of 0.1816. The calculator finds the area with the t CDF, computed through the regularised incomplete beta function.
What is the critical t-value for 95% confidence?
It depends on the degrees of freedom. For 95% confidence two-tailed, t* is 2.086 at df = 20, 2.131 at df = 15, 2.228 at df = 10 and 1.984 at df = 100. For a one-tailed 95% test at df = 15, t* is 1.753. Use Critical t mode above with your own df to get the exact value.
When should I use a t-distribution instead of a z-distribution?
Use the t-distribution when the population standard deviation is unknown and estimated from the sample, or when the sample is small (typically n < 30). Use the z-distribution when σ is known or the sample is large. The t-distribution gives wider intervals and larger cut-offs, which honestly reflects the extra uncertainty of a small sample.
What are degrees of freedom in the t-distribution?
Degrees of freedom (df) are the parameter that sets the shape of the t-distribution. For a one-sample test, df = n − 1, where n is the sample size. Small df means a flatter curve with heavier tails; as df grows, the curve rises in the middle and converges on the standard normal distribution.
Is the t-distribution the same as the normal distribution?
No. The t-distribution is symmetric and bell-shaped like the normal distribution, but it has heavier tails, so extreme values are more likely. The two become almost identical as df grows: at df = 100 the 95% two-tailed critical t is 1.984, only 0.024 above the normal value of 1.960, and at infinite df they are the same.
How do I find the area under the t-distribution?
Use Area / P-Value mode and enter your t value and df. The left-tailed option gives the cumulative area P(T < t) directly, and the right-tailed option gives P(T > t). Because the distribution is symmetric about zero, P(T < 0) = 0.500 for any df, and the area between two values is the difference of their CDFs.
What is the difference between a one-tailed and a two-tailed p-value?
A one-tailed p-value is the area in a single tail beyond your t value, used when the alternative hypothesis points in one direction. A two-tailed p-value is the area in both tails, and for the symmetric t-distribution it is exactly double the one-tailed value. Use two-tailed unless you stated a direction before collecting the data.
Source: the critical values quoted on this page are from the NIST/SEMATECH e-Handbook of Statistical Methods, Critical Values of the Student’s t Distribution. All examples on this page were checked against that table.
Browse all 38 free statistics tools on Empirical Rule Calculators.
More Tools to Explore
Keep going with the calculators that pair with the t-distribution — p-values, critical values, confidence intervals and z-scores.
P-Value Calculator from Z-Score
One- and two-tailed p-values from any z-score, with the full calculation shown.
Critical Z-Value Calculator
Find z* for any confidence level and tail, with a normal curve chart.
Confidence Interval Calculator
Build a confidence interval from a sample mean and standard deviation.
One-Proportion Z-Test Calculator
Test a sample proportion against a claimed population value.
Pooled Standard Deviation Calculator
Combine two samples’ spread for a two-sample t-test.
Z-Score Calculator
Standardise any value, find its percentile and see it on the bell curve.
Explore All Tools
Browse all 38 free statistics tools — every calculator on this site in one place.