Student's t Distribution Calculator

P(T <= t)0.9177
PDF at t0.1274
P(T > t)0.0823
Two-tailed P(|T| > |t|)0.1645
Variance1.25
How this was calculated
  1. Student's t distribution with 10 degrees of freedom is the normal distribution's heavier-tailed sibling - it prices in the extra uncertainty of a small sample.
  2. The CDF at t = 1.5 runs through the regularised incomplete beta function at x = df / (df + t^2) = 0.8163, giving P(T <= 1.5) = 0.9177.
  3. The density there is 0.1274 and the upper tail P(T > 1.5) is 0.0823; the two-tailed probability P(|T| > 1.5) is 0.1645 - the p-value of a two-sided t test at this statistic.
  4. Its mean is 0 and its variance is df / (df - 2) = 1.25 - wider than the normal's 1, shrinking toward it as the degrees of freedom grow.

This Student's t distribution calculator gives you probabilities and critical values for the t distribution at the degrees of freedom you choose. Enter a t value and the calculator returns the left-tail probability, the two-tailed p-value, or the critical value for a confidence level. For example, with 10 degrees of freedom, P(T <= 1.5) = 0.9177, so the two-tailed p-value at t = 1.5 is 0.1645. The textbook critical value checks out too: at 10 degrees of freedom, t = 2.228 gives P(T <= t) = 0.9750 exactly. You can also check basic properties, such as the density of 0.3796 and CDF of 0.5000 at the centre of a t distribution with 5 degrees of freedom, and the variance of df / (df - 2), which is 1.25 at 10 degrees of freedom and 1.67 at 5.

The method behind the calculator is the standard approach taught in statistics courses and used in published t tables: probabilities come from the t distribution's cumulative distribution function, and critical values are read from that same function. That is why the results match textbook values exactly rather than approximately. This page shows the formula the calculator uses, step-by-step workings, worked examples and the sources behind the numbers, so you can follow each calculation and verify it yourself instead of taking the output on trust.

Worked examples

10 degrees of freedom, t = 1.5

(10 · 1.5)

P(T <= t)0.9177
PDF at t0.1274
P(T > t)0.0823
Two-tailed P(|T| > |t|)0.1645
Variance1.25

The 97.5% critical value at 10 df, t = 2.228

(10 · 2.228)

P(T <= t)0.9750
PDF at t0.0424
P(T > t)0.0250
Two-tailed P(|T| > |t|)0.0500
Variance1.25

5 degrees of freedom at the centre, t = 0

(5 · 0)

P(T <= t)0.5000
PDF at t0.3796
P(T > t)0.5000
Two-tailed P(|T| > |t|)1.0000
Variance1.67

How the t distribution CDF is calculated

A Student's t distribution calculator turns a t value into a probability by working through the cumulative distribution function, or CDF. For a t statistic with df degrees of freedom, the CDF gives P(T <= t), the probability that a t-distributed variable falls at or below your value. The standard route to that number runs through the regularized incomplete beta function, which is the same building block used for F and binomial probabilities. No lookup table is needed, and the result is as precise as the beta routine behind it.

The transformation starts by mapping t onto the interval from 0 to 1. Compute x = df / (df + t^2). This x is always between 0 and 1, so it fits the incomplete beta function's domain. The two-tailed probability is then I_x(df/2, 1/2), the regularized incomplete beta function evaluated at x with parameters df/2 and 1/2. The one-tailed CDF follows from symmetry: for t >= 0, P(T <= t) = 1 - 0.5 * I_x(df/2, 1/2); for t < 0, P(T <= t) = 0.5 * I_x(df/2, 1/2). Because the t distribution is symmetric about zero, the CDF at t = 0 is exactly 0.5000, which is why a two-tailed p-value is twice the upper-tail area.

A worked check shows the method in action. At 10 degrees of freedom, t = 2.228 gives P(T <= t) = 0.9750 exactly, matching the textbook critical value. The beta route reproduces this: x = 10 / (10 + 2.228^2) = 10 / 14.964, and I_x(5, 0.5) returns the two-tailed area, which converts to 0.9750 on the one-tailed side. The same machinery handles smaller values. With 10 degrees of freedom, P(T <= 1.5) = 0.9177, so the two-tailed p-value at t = 1.5 is 0.1645. At 5 degrees of freedom the density at the centre is 0.3796 and the CDF there is 0.5000, confirming the symmetry check.

The incomplete-beta approach is preferred over numerical integration of the density because it is stable across the full range of t and df. It also scales cleanly: the variance of the distribution is df / (df - 2), which is 1.25 at 10 degrees of freedom and 1.67 at 5, and the same beta parameters drive both the CDF and the density used for those checks. When you use a student's t distribution calculator, the number it reports is this beta-based CDF, rounded for display.

In practice, you supply t and df, the calculator forms x, evaluates the incomplete beta function, and converts the result to the one- or two-tailed probability you asked for. Critical values, p-values, and confidence intervals all come from the same computation, so the outputs stay consistent with each other.

  • Transform: x = df / (df + t^2), which maps t onto (0, 1).
  • Two-tailed area: I_x(df/2, 1/2), the regularized incomplete beta function.
  • One-tailed CDF: 1 - 0.5 * I_x for t >= 0; 0.5 * I_x for t < 0.
  • Check at 10 df: t = 2.228 gives P(T <= t) = 0.9750 exactly.
  • Check at 10 df: P(T <= 1.5) = 0.9177, two-tailed p = 0.1645.
  • Centre check at 5 df: density 0.3796, CDF 0.5000.
Verification: at 10 degrees of freedom, the beta route at x = 10 / (10 + 2.228^2) returns P(T <= 2.228) = 0.9750, the textbook critical value.

Degrees of freedom and the heavy tails

Degrees of freedom control how heavy the tails of a t distribution are. The t distribution is built for situations where you estimate the spread of a population from a small sample rather than knowing it in advance. With few degrees of freedom, that estimate is shaky, and the distribution compensates by putting more probability far from the center. This is why a student's t distribution calculator asks for the degrees of freedom before it reports anything: the same t value can mean very different things depending on how much data stands behind it.

The variance formula makes the effect concrete. For a t distribution the variance is df / (df - 2), which gives 1.67 at 5 degrees of freedom and 1.25 at 10. A standard normal distribution has variance 1, so at 5 degrees of freedom the spread is noticeably wider, and at 10 it has already narrowed most of the way back. As df grows, the factor df / (df - 2) shrinks toward 1, and the t distribution settles toward the normal shape. The center tells the same story from the other direction: at 5 degrees of freedom the density at the center is 0.3796 and the CDF is 0.5000, so the distribution remains symmetric even while its tails carry extra weight.

Those heavier tails translate directly into larger p-values for the same t statistic. At 10 degrees of freedom, P(T <= 1.5) = 0.9177, so the two-tailed p-value at t = 1.5 is 0.1645 — a result that would look more significant under a normal curve. The textbook critical value checks out as well: at 10 degrees of freedom, t = 2.228 gives P(T <= t) = 0.9750 exactly, which is the familiar 0.05 two-tailed cutoff. Small samples therefore demand a larger t before you can claim significance, and the calculator's output reflects that penalty.

When does the t become indistinguishable from the normal? As the degrees of freedom climb, the extra tail probability thins out and the critical values converge on the normal ones. In practice, the two distributions are close enough for most work once the degrees of freedom reach the dozens, and the difference is negligible at very large df. Until then, the gap matters most in the tails, exactly where hypothesis tests and confidence intervals do their work. That is the practical reason to enter the correct degrees of freedom rather than defaulting to a normal approximation.

Variance of a t distribution is df / (df - 2): 1.67 at 5 degrees of freedom, 1.25 at 10, approaching 1 as df grows.

One tail, two tails and the t test

The upper-tail probability is the number most directly tied to a one-tailed p-value. With 10 degrees of freedom, P(T <= 1.5) = 0.9177, which leaves 1 − 0.9177 = 0.0823 in the upper tail. If your alternative hypothesis says the effect runs in one direction only, that 0.0823 is your p-value at t = 1.5. A student's t distribution calculator reports this upper-tail area alongside the cumulative probability, so you can read the p-value straight off the output instead of subtracting by hand.

A two-tailed test asks a different question: how often would a t statistic land at least 1.5 away from zero in either direction? Because the t distribution is symmetric about zero, the lower tail below −1.5 carries the same 0.0823, and the two tails add to 0.1645. That is the two-tailed p-value at t = 1.5 with 10 degrees of freedom. Notice the relationship: the two-tailed value is exactly twice the one-tailed value. Deciding which one to use is a matter of your alternative hypothesis, not of the calculator — a directional claim uses the single tail, a claim of "different from" uses both.

This is where the t test enters. A one-sample t test compares your sample mean to a hypothesized value and turns the result into a t statistic with a known degrees of freedom. The p-value you report is then the tail area, or twice the tail area, computed from that statistic. At t = 1.5 with 10 df, the two-tailed p-value of 0.1645 is well above the conventional 0.05 threshold, so you would not reject the null hypothesis at that level. The same statistic in a one-tailed test gives 0.0823, still above 0.05. The tails you choose change the number, but here they do not change the conclusion.

Critical values are the mirror image of p-values, and the numbers stay consistent. At 10 degrees of freedom, t = 2.228 gives P(T <= t) = 0.9750 exactly, which means 0.025 sits in the upper tail and 0.05 is split across both tails. That is the familiar two-tailed critical value at the 5% level. Comparing your statistic to 2.228 and comparing your two-tailed p-value to 0.05 will always agree, because they are two ways of asking the same question.

A quick sanity check on the distribution itself: at the centre of a t distribution with 5 degrees of freedom the density is 0.3796 and the CDF is 0.5000, so half the probability lies below zero, as symmetry requires. The spread also depends on the degrees of freedom. The variance is df / (df − 2), which is 1.25 at 10 degrees of freedom and 1.67 at 5. Fewer degrees of freedom means heavier tails, larger critical values, and p-values that shrink more slowly as t grows.

  • Upper-tail p-value at t = 1.5, 10 df: 0.0823 (one-tailed test).
  • Two-tailed p-value at t = 1.5, 10 df: 0.1645, exactly twice the upper tail.
  • Two-tailed critical value at 10 df and the 5% level: t = 2.228, with P(T <= t) = 0.9750.
  • Variance check: df / (df − 2) gives 1.25 at 10 df and 1.67 at 5 df.
One tail or two? The tail area from the calculator is the one-tailed p-value; double it for a two-tailed test. At t = 1.5 with 10 df that is 0.0823 versus 0.1645.

Reading critical values

A t distribution calculator returns probabilities for a given t value, but the more common real-world task runs in the other direction: you have a probability and need the t value that produces it. That reverse lookup is what people mean by a critical value, and the calculator handles it once you know which probability to enter. The key is to read the output as a running total, not as a two-sided answer.

Work through the textbook case. With 10 degrees of freedom, t = 2.228 gives P(T <= t) = 0.9750 exactly. That 0.9750 is the area to the left of 2.228, covering everything below that point. Because the t distribution is symmetric, the area beyond 2.228 in the upper tail is 0.0250, and the same 0.0250 sits below -2.228. The two tails together hold 0.0500, which is why 2.228 is the two-tailed 5% critical value at 10 degrees of freedom. Flip the reading and the 0.9750 becomes the 95% confidence interval multiplier: 2.228 is the number you multiply the standard error by to build a 95% interval.

To invert the calculator, enter the degrees of freedom and the cumulative probability you want, then solve for t. For a 95% two-sided interval, enter 0.9750 rather than 0.95, because the calculator reports left-tail area and you need the upper cutoff with 2.5% left above it. The same logic scales to other levels: a 90% interval uses 0.9500 and a 99% interval uses 0.9950. If you instead have a t value and want a p-value, run the calculator forward. At 10 degrees of freedom, P(T <= 1.5) = 0.9177, so the two-tailed p-value at t = 1.5 is 0.1645 — double the 0.0823 upper tail.

Two checks keep the readings honest. First, confirm the centre behaves as expected: at the centre of a t distribution with 5 degrees of freedom the density is 0.3796 and the CDF is 0.5000, so a t of 0 should return a cumulative probability of 0.5000. Second, remember that critical values grow as degrees of freedom shrink, because the tails carry more weight. The variance of a t distribution is df / (df - 2): 1.25 at 10 degrees of freedom and 1.67 at 5. Wider tails mean a larger multiplier for the same confidence level, which is why small samples demand bigger critical values.

  • 95% two-sided interval: enter cumulative probability 0.9750, not 0.95
  • 90% two-sided interval: enter 0.9500
  • 99% two-sided interval: enter 0.9950
  • Forward check: t = 1.5 at 10 df gives P(T <= t) = 0.9177, so the two-tailed p-value is 0.1645
  • Centre check: at 5 df, t = 0 returns a CDF of 0.5000 and a density of 0.3796
A student's t distribution calculator reports left-tail area. For a 95% two-sided critical value, ask for 0.9750 — the extra 0.0250 is the upper tail you are cutting off.

FAQs

What is Student's t distribution used for?

Student's t distribution is used for inference about a mean when the sample is small and the population standard deviation is unknown. It is the basis of the t test, which lets you judge whether a sample mean differs from a hypothesized value or from another sample mean without knowing the population spread in advance.

What is P(T <= 1.5) with 10 degrees of freedom?

With 10 degrees of freedom, the probability that T is less than or equal to 1.5 is 0.9177. That leaves an upper tail of 0.0823 above 1.5, and doubling the upper tail gives a two-tailed probability of 0.1645 for values at least as extreme as 1.5 in either direction.

Why is 2.228 a famous t value?

2.228 is the 97.5th percentile of the t distribution at 10 degrees of freedom. That makes it the multiplier in a 95% confidence interval with 10 df: you take the sample mean plus or minus 2.228 times the standard error. It is the t counterpart of the normal's 1.96.

How does the t distribution differ from the normal?

The t distribution has heavier tails than the normal. Its variance is df / (df - 2), which equals 1.25 at 10 degrees of freedom, compared with the normal's variance of 1. Heavier tails mean more probability in the extremes, so t critical values are larger than normal ones at the same confidence level.

What are degrees of freedom in a t test?

In a t test, degrees of freedom are usually the sample size minus 1. So 10 degrees of freedom corresponds to a sample of 11 observations. Degrees of freedom set the exact shape of the t distribution you use for the test, and they appear directly in the variance formula df / (df - 2).

When can I just use the normal distribution?

As degrees of freedom grow, the t distribution converges to the normal. Beyond about 30 degrees of freedom the difference is small for most purposes, so the normal distribution becomes a reasonable stand-in. With smaller samples, use the t distribution, since its heavier tails account for the extra uncertainty.

Sources

Related calculators

One-Sample T-Test Calculator
Test a sample mean against a hypothesised population mean: the t statistic, standard error, degrees of freedom, the critical value from the t table, and the verdict at your alpha.
Two-Sample T-Test Calculator
Compare two group means from their summary statistics — Welch or pooled, with the t statistic, critical value, verdict and Cohen's d.
Normal Distribution Calculator
Probabilities below, above and between values, and the value at a percentile, from mean and standard deviation.