t-Distribution Visualizer
t(10) distribution
Distribution Properties
Critical Values (this df)
How t* Converges to z* (95% CI)
Bar length = difference between t* and z*=1.960. Shorter bar = closer to normal.
Critical Value Table (t* vs z*)
| df | α=0.10 (90%) | α=0.05 (95%) | α=0.02 (98%) | α=0.01 (99%) | α=0.001 (99.9%) |
|---|
Enter your observed t-statistic and degrees of freedom to get the exact p-value with a shaded diagram showing the tail probability.
Quick examples:
The table below shows how the 95% CI half-width multiplier (t*) shrinks as degrees of freedom increase. Enter a standard deviation and sample size to see actual CI widths for your data.
t* Convergence to z*=1.960 (95% CI)
CI Half-Width (ME) by df and n
Each example below represents a real study design. Click any card to load the exact df, see the t-distribution shape, and get the critical value that applies.
What Is the t-Distribution?
The Student’s t-distribution is a family of symmetric, bell-shaped distributions parameterized by degrees of freedom (ν). Developed by William Sealy Gosset in 1908 (published as “Student”), it solves the problem of estimating a population mean when σ is unknown and n is small. The t-distribution has heavier tails than the normal, making critical values larger and confidence intervals wider — an honest accounting of extra uncertainty from estimating σ with s.
Degrees of Freedom and When t Converges to Normal
As ν increases, the t-distribution converges to N(0,1). The variance of t(ν) = ν/(ν−2) approaches 1 from above. By ν=30, the 95% critical value t*=2.042 differs from z*=1.960 by only 4.2%. By ν=120, the difference is under 1%. In practice, researchers use z-intervals when n ≥ 30 as a pragmatic approximation, but the t-interval is always correct when σ is unknown.
How the t* Critical Value Shrinks
| df (n−1) | t* (95% CI) | z* (reference) | Difference | Example study |
|---|---|---|---|---|
| 1 | 12.706 | 1.960 | +548% | n=2, pilot study |
| 4 | 2.776 | 1.960 | +42% | n=5, small lab group |
| 9 | 2.262 | 1.960 | +15% | n=10, small clinical trial |
| 15 | 2.131 | 1.960 | +8.7% | n=16, blood pressure study |
| 19 | 2.093 | 1.960 | +6.8% | n=20, psychology experiment |
| 29 | 2.045 | 1.960 | +4.3% | n=30, class survey |
| 59 | 2.001 | 1.960 | +2.1% | n=60, field study |
| 119 | 1.980 | 1.960 | +1.0% | n=120, large survey |
| ∞ | 1.960 | 1.960 | 0% | population or very large n |
Degrees of Freedom for Different Tests
Related Topics
Sources:
- Student [Gosset, W.S.] (1908). The Probable Error of a Mean. Biometrika, 6(1), 1–25.
- NIST Engineering Statistics Handbook — t-Distribution
- Abramowitz, M. & Stegun, I.A. (1965). Handbook of Mathematical Functions. Dover Publications.
Frequently Asked Questions
The t-distribution accounts for two sources of uncertainty: variability in the data AND uncertainty in estimating σ from s. When n is small, this extra uncertainty inflates the tails, requiring larger critical values to achieve the same α level. This makes inferences more honest — we pay for not knowing σ with wider intervals.
By df=30, t*(95%) = 2.042 vs z*=1.960, a difference of 4.2%. By df=120, the gap is under 1%. The common rule “use z when n ≥ 30” is a pragmatic approximation; technically you should always use t when σ is estimated from data. For df ≥ 100, the choice makes virtually no practical difference.
Var(T) = ν/(ν−2) for ν > 2. This is always > 1 (the normal’s variance), reflecting heavier tails. For df=3, Var=3; df=5, Var=5/3=1.667; df=10, Var=10/8=1.25; df=30, Var=30/28≈1.07. As ν→∞, Var→1. For ν≤2, variance is undefined (infinite), and for ν=1 (Cauchy), the mean is also undefined.
We estimate the population mean μ using the sample mean x̄. Because the deviations (xᵢ−x̄) must sum to zero, once you know n−1 of them, the last is determined — there are only n−1 independent pieces of information. This “used up” df is what makes the sample variance s² an unbiased estimator: dividing by n−1 instead of n corrects for the constraint imposed by using x̄.
For a two-tailed test: p = 2 × P(T ≥ |t₀bs| | H₀) = 2 × (1 − CDF(|t₀bs|, df)). Use the p-Value Calculator tab above to compute this exactly. The CDF of the t-distribution involves the regularized incomplete beta function: CDF(t, ν) = I(ν/(ν+t²); ν/2; 1/2) for t < 0.