t-Table Reference
A t-table lists critical values of Student's t-distribution: for a given number of degrees of freedom (df) and a tail probability, the value t* that cuts off that area. Unlike the z-table, it doesn't list probabilities for every value, because there is a whole family of t-distributions, one per df. Instead it lists the few critical values you need for confidence intervals and tests.
How to read the table
- Each row is a df value (
n − 1for a one-sample t-procedure). - Each column is an upper-tail area. "One tail 0.025" means
P(T > t*) = 0.025. The same column serves two-tailed tests atα = 0.05and 95% confidence intervals. - Find the row and column; the entry is
t*.
Example: a 95% confidence interval from n = 12 observations uses df = 11 and the 0.025 column: t* = 2.201.
Critical values
Generated with scipy.stats.t.ppf(1 − tail, df):
from scipy import stats
tails = [0.25, 0.10, 0.05, 0.025, 0.01, 0.005, 0.001, 0.0005]
dfs = list(range(1, 31)) + [40, 50, 60, 80, 100, 120, 1000]
print("one tail ->" + "".join(f"{t:>8}" for t in tails))
print("two tails->" + "".join(f"{2 * t:>8}" for t in tails))
print(" df")
for df in dfs:
print(f"{df:5d} " + "".join(f"{stats.t.ppf(1 - t, df):8.3f}" for t in tails))
print(" z " + "".join(f"{stats.norm.ppf(1 - t):8.3f}" for t in tails))one tail -> 0.25 0.1 0.05 0.025 0.01 0.005 0.001 0.0005
two tails-> 0.5 0.2 0.1 0.05 0.02 0.01 0.002 0.001
df
1 1.000 3.078 6.314 12.706 31.821 63.657 318.309 636.619
2 0.816 1.886 2.920 4.303 6.965 9.925 22.327 31.599
3 0.765 1.638 2.353 3.182 4.541 5.841 10.215 12.924
4 0.741 1.533 2.132 2.776 3.747 4.604 7.173 8.610
5 0.727 1.476 2.015 2.571 3.365 4.032 5.893 6.869
6 0.718 1.440 1.943 2.447 3.143 3.707 5.208 5.959
7 0.711 1.415 1.895 2.365 2.998 3.499 4.785 5.408
8 0.706 1.397 1.860 2.306 2.896 3.355 4.501 5.041
9 0.703 1.383 1.833 2.262 2.821 3.250 4.297 4.781
10 0.700 1.372 1.812 2.228 2.764 3.169 4.144 4.587
11 0.697 1.363 1.796 2.201 2.718 3.106 4.025 4.437
12 0.695 1.356 1.782 2.179 2.681 3.055 3.930 4.318
13 0.694 1.350 1.771 2.160 2.650 3.012 3.852 4.221
14 0.692 1.345 1.761 2.145 2.624 2.977 3.787 4.140
15 0.691 1.341 1.753 2.131 2.602 2.947 3.733 4.073
16 0.690 1.337 1.746 2.120 2.583 2.921 3.686 4.015
17 0.689 1.333 1.740 2.110 2.567 2.898 3.646 3.965
18 0.688 1.330 1.734 2.101 2.552 2.878 3.610 3.922
19 0.688 1.328 1.729 2.093 2.539 2.861 3.579 3.883
20 0.687 1.325 1.725 2.086 2.528 2.845 3.552 3.850
21 0.686 1.323 1.721 2.080 2.518 2.831 3.527 3.819
22 0.686 1.321 1.717 2.074 2.508 2.819 3.505 3.792
23 0.685 1.319 1.714 2.069 2.500 2.807 3.485 3.768
24 0.685 1.318 1.711 2.064 2.492 2.797 3.467 3.745
25 0.684 1.316 1.708 2.060 2.485 2.787 3.450 3.725
26 0.684 1.315 1.706 2.056 2.479 2.779 3.435 3.707
27 0.684 1.314 1.703 2.052 2.473 2.771 3.421 3.690
28 0.683 1.313 1.701 2.048 2.467 2.763 3.408 3.674
29 0.683 1.311 1.699 2.045 2.462 2.756 3.396 3.659
30 0.683 1.310 1.697 2.042 2.457 2.750 3.385 3.646
40 0.681 1.303 1.684 2.021 2.423 2.704 3.307 3.551
50 0.679 1.299 1.676 2.009 2.403 2.678 3.261 3.496
60 0.679 1.296 1.671 2.000 2.390 2.660 3.232 3.460
80 0.678 1.292 1.664 1.990 2.374 2.639 3.195 3.416
100 0.677 1.290 1.660 1.984 2.364 2.626 3.174 3.390
120 0.677 1.289 1.658 1.980 2.358 2.617 3.160 3.373
1000 0.675 1.282 1.646 1.962 2.330 2.581 3.098 3.300
z 0.674 1.282 1.645 1.960 2.326 2.576 3.090 3.291
The last row (z) is the standard normal limit: as df grows, every column approaches it.
Confidence-level view
Many textbooks arrange the same numbers by confidence level instead:
from scipy import stats
levels = [0.80, 0.90, 0.95, 0.98, 0.99, 0.999]
print(" df " + "".join(f"{c:>8.1%}" for c in levels))
for df in [1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 25, 30, 50, 100]:
print(f"{df:4d} " + "".join(f"{stats.t.ppf(1 - (1 - c) / 2, df):8.3f}" for c in levels)) df 80.0% 90.0% 95.0% 98.0% 99.0% 99.9%
1 3.078 6.314 12.706 31.821 63.657 636.619
2 1.886 2.920 4.303 6.965 9.925 31.599
3 1.638 2.353 3.182 4.541 5.841 12.924
4 1.533 2.132 2.776 3.747 4.604 8.610
5 1.476 2.015 2.571 3.365 4.032 6.869
6 1.440 1.943 2.447 3.143 3.707 5.959
8 1.397 1.860 2.306 2.896 3.355 5.041
10 1.372 1.812 2.228 2.764 3.169 4.587
12 1.356 1.782 2.179 2.681 3.055 4.318
15 1.341 1.753 2.131 2.602 2.947 4.073
20 1.325 1.725 2.086 2.528 2.845 3.850
25 1.316 1.708 2.060 2.485 2.787 3.725
30 1.310 1.697 2.042 2.457 2.750 3.646
50 1.299 1.676 2.009 2.403 2.678 3.496
100 1.290 1.660 1.984 2.364 2.626 3.390
When your df is not in the table
Printed tables skip many df values (e.g. 35 or 70). The conservative convention is to use the next smaller df listed, which gives a slightly larger t*. With code there is no need to approximate:
from scipy import stats
for df in [35, 40, 70, 80]:
print(f"df={df}: t*(0.025) = {stats.t.ppf(0.975, df):.4f}")df=35: t*(0.025) = 2.0301
df=40: t*(0.025) = 2.0211
df=70: t*(0.025) = 1.9944
df=80: t*(0.025) = 1.9901
From t-statistic to p-value
A table only brackets the p-value ("between 0.01 and 0.025"). SciPy gives it exactly:
from scipy import stats
t, df = 2.41, 14
one_tailed = stats.t.sf(t, df)
print(f"t = {t}, df = {df}")
print(f"one-tailed p = {one_tailed:.4f}")
print(f"two-tailed p = {2 * one_tailed:.4f}")
print(f"table bracket: t lies between {stats.t.ppf(0.975, df):.3f} (0.025) and {stats.t.ppf(0.99, df):.3f} (0.01)")t = 2.41, df = 14
one-tailed p = 0.0151
two-tailed p = 0.0303
table bracket: t lies between 2.145 (0.025) and 2.624 (0.01)
Test yourself
Which t* do you need for a 95% confidence interval with n = 10?
- 1.833 (df 9, one tail 0.05)
- 2.262 (df 9, one tail 0.025)
- 2.228 (df 10, one tail 0.025)
- 1.96
A table lists df 30 and 40, but your df is 35. What is the conservative choice?
- Use df 40
- Use df 30
- Use z
- Average the two
With df = 1000, which value is the 0.025 critical value closest to?
- 2.576
- 1.645
- 1.96
- 2.228