T distribution calculator

Choose a mode, then enter the t statistic or the significance level α and the degrees of freedom. The calculator gives the two-tailed, right-tail and left-tail p-values, or the one- and two-tailed critical values, without a printed t table.

Find
Two-tailed p-value0.050012
Right-tail p-value P(T > t)
0.025006
Left-tail p-value P(T < t)
0.974994

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose P-value from t or Critical t from α.
  2. Enter the t statistic (it may be negative) or the significance level α, for example 0.05.
  3. Enter the degrees of freedom. Fractional df from Welch’s test are fine.
  4. Read the p-values for all three tails, or the one- and two-tailed critical values.

How it works

Student’s t distribution with ν degrees of freedom has the upper tail

P(T > t) = ½ · I(ν / (ν + t²); ν/2, ½) for t ≥ 0,

where I is the regularised incomplete beta function. The left tail is 1 minus the right tail, and the two-tailed p-value is 2 × P(T > |t|). Critical values are found by inverting this tail numerically: the one-tailed t has P(T > t) = α, the two-tailed one has P(T > t) = α/2.

Worked example

With df = 2 the tail has a closed form, P(T > t) = ½(1 − t/√(t² + 2)). For t = 2: 2/√6 = 0.8165, so the right tail is ½ × 0.1835 = 0.091752 and the two-tailed p-value is 0.183503. The calculator shows the same numbers.

For the critical value at α = 0.05 with df = 2 the two-tailed result is 4.3027 and the one-tailed is 2.92. With df = 1 (the Cauchy distribution) they are 12.7062 and 6.3138.

Tips

  • Two-tailed is the default in most reports. If a paper says “p < 0.05” without a direction, it is usually two-tailed.
  • Do not halve a p-value after looking at the data. Choose one- or two-tailed before running the test.
  • Large df: above about 100 degrees of freedom the t and normal results differ only in the second or third decimal.

Frequently asked questions

How do I find the p-value from a t statistic?

Enter t and the degrees of freedom. The two-tailed p-value is 2 × P(T > |t|); use it for a test of 'different from'. For a one-sided test use the right tail when the alternative is 'greater than' and the left tail for 'less than'.

What is the critical t value for 95 % confidence?

Enter α = 0.05 and your degrees of freedom. The two-tailed value is the one for a 95 % confidence interval: 12.7062 for df = 1, 4.3027 for df = 2, 2.2281 for df = 10. As df grows it approaches the normal value 1.96.

How many degrees of freedom does my test have?

A one-sample or paired t-test has n − 1. A pooled two-sample test has n₁ + n₂ − 2. Welch's test uses a fractional df from the Welch–Satterthwaite formula, which this calculator accepts as is.

Why is the t distribution wider than the normal?

With a small sample the standard deviation is itself estimated, which adds uncertainty. The t distribution has heavier tails to account for it, so critical values are larger than 1.96 until the sample is large.

More in Math

All tools in this category: Math ·Updated November 7, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.