T-Score Calculator
Reviewed by CalcMulti Editorial Team·Last updated: ·← Statistics Hub
The t-score calculator converts a t-statistic into a p-value for hypothesis testing, or finds the critical t-value for a given significance level and degrees of freedom. These are the two core operations needed after computing a t-statistic from raw data.
Use this tool when you already have a t-statistic (from a manual calculation or another tool) and need the corresponding p-value — or when you need to look up the critical threshold for your test. Supports one-tailed and two-tailed tests for any df from 1 to 10,000.
Formula
One-sample: t = (x̄ − μ₀) / (s / √n) df = n − 1
- t
- t-statistic — standardised distance from the hypothesised mean
- df
- degrees of freedom — n−1 for one-sample; Welch approximation for two-sample
- α
- significance level — typically 0.05 (5%) or 0.01 (1%)
- p-value
- probability under H₀ of observing |t| or greater
n−1 for one-sample
Critical t-Values — Two-Tailed Reference Table
Values shown are ±t_crit — reject H₀ if |t| exceeds this value.
| df | α=0.10 | α=0.05 | α=0.025 | α=0.01 | α=0.001 |
|---|---|---|---|---|---|
| 1 | 6.314 | 12.706 | 25.452 | 63.657 | 636.619 |
| 3 | 2.353 | 3.182 | 4.177 | 5.841 | 12.924 |
| 5 | 2.015 | 2.571 | 3.163 | 4.032 | 6.869 |
| 10 | 1.812 | 2.228 | 2.634 | 3.169 | 4.587 |
| 20 | 1.725 | 2.086 | 2.423 | 2.845 | 3.850 |
| 30 | 1.697 | 2.042 | 2.360 | 2.750 | 3.646 |
| 60 | 1.671 | 2.000 | 2.299 | 2.660 | 3.460 |
| 120 | 1.658 | 1.980 | 2.270 | 2.617 | 3.373 |
| ∞ (z) | 1.645 | 1.960 | 2.241 | 2.576 | 3.291 |
t-Test vs z-Test — Which Statistic to Use?
| Condition | Use t | Use z |
|---|---|---|
| Population σ known? | No (estimated from sample s) | Yes (known exactly) |
| Sample size | Any n (essential for small n) | Large n ≥ 30 with CLT |
| Distribution shape | Normal, or n ≥ 30 for CLT | Normal or large n |
| Result precision | Exact for normally distributed data | Approximate (CLT) |
| df needed? | Yes — n−1 or Welch formula | No |
| Converges to z when? | df > 120 → virtually identical | Always |
Case Study: Evaluating a New Pain Relief Drug
A pharmacologist tested a new pain relief drug in a randomised trial. Treatment group (n=14): mean pain score reduction 8.2, SD=3.1. Control group (n=12): mean reduction 5.4, SD=3.8. She needed the p-value to support a grant report.
Welch two-sample t-statistic: t ≈ (8.2 − 5.4) / √(3.1²/14 + 3.8²/12) = 2.8 / √(0.686 + 1.203) = 2.8 / 1.374 ≈ 2.04. Welch df ≈ 21. Two-tailed p-value: p ≈ 0.054.
The result was borderline: p=0.054, just above the α=0.05 threshold. Rather than reporting "not significant," the pharmacologist reported the exact p-value alongside a 95% CI for the mean difference [−0.05, 5.65], noting the confidence interval nearly excluded zero. She recommended a larger confirmatory trial (n=40 per group), which later yielded p=0.018.
Related Calculators
Compute t-statistic from raw data
P-Value CalculatorConvert any test statistic to p-value
Z-Score Calculatorz-score for large samples or known σ
Confidence Interval CalculatorCI using t critical values
Normal Distribution Calculatorp-value under the normal curve
Sample Size CalculatorDetermine n before testing
Statistics HubAll statistics calculators & guides
Disclaimer
This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.