t distribution calculator

The t distribution is the bell curve with a penalty for small samples: heavier tails. Slide the degrees of freedom and watch it become normal.

Two-tailed p0.0621
−4−2024

Solid: t with 10 df. Dashed: standard normal. Watch the tails as you lower the degrees of freedom.

Two-tailed critical t-values

df90%95%98%99%
16.31412.70631.82163.657
22.9204.3036.9659.925
32.3533.1824.5415.841
42.1322.7763.7474.604
52.0152.5713.3654.032
61.9432.4473.1433.707
71.8952.3652.9983.499
81.8602.3062.8963.355
91.8332.2622.8213.250
101.8122.2282.7643.169
121.7822.1792.6813.055
151.7532.1312.6022.947
201.7252.0862.5282.845
251.7082.0602.4852.787
301.6972.0422.4572.750
401.6842.0212.4232.704
601.6712.0002.3902.660
1201.6581.9802.3582.617
∞ (z)1.6451.9602.3262.576

Why the t distribution exists

When you standardise a sample mean using the sample standard deviation s instead of the true σ, you add a second source of randomness: s itself varies from sample to sample. With small samples, s is often too small, which makes the statistic t = (x̄ − μ) / (s/√n) land in the tails more often than z would. The t distribution accounts for this with heavier tails.

William Sealy Gosset worked this out in 1908 while testing small batches of barley at the Guinness brewery; the company made him publish under the pseudonym "Student".

Degrees of freedom

For a one-sample t test or interval, df = n − 1. As df grows the t curve approaches the normal: at df = 30 the 95% critical value is 2.042 against z's 1.960, and by df = 120 it is 1.980. Drag the slider to watch the solid curve close in on the dashed one.

Use the result to get a p-value or build a confidence interval.

Still not clicking? Ask the tutor

An AI tutor that sees the numbers you entered above and explains them. It can make mistakes, so check anything important against the worked steps.

Questions students ask

When do you use the t distribution instead of the normal?

When you estimate a mean and the population standard deviation is unknown, so you use the sample SD. This is almost always the case in practice.

What are degrees of freedom?

For a one-sample t procedure, df = n − 1. Fewer degrees of freedom mean more uncertainty in the SD estimate and heavier tails.

What is the critical t-value for a 95% confidence interval?

It depends on df: 2.228 for df = 10, 2.042 for df = 30 and 1.984 for df = 100, approaching the normal 1.960 as df grows.

Who invented the t distribution?

William Sealy Gosset, a chemist at the Guinness brewery in Dublin, published it in 1908 under the pen name "Student", which is why it is called Student's t.

Keep exploring