A little context. A clearer answer.
When this calculator is useful
Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B. For a related calculation, try Variance, Standard Deviation & MAD Calculator.
What to enter
| Input | What it means | Example value |
|---|---|---|
| A | Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B. | 8 9 10 11 12 |
| B | Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B. | 5 7 9 11 13 |
| Mode | Welch / Paired | Welch |
| H₀: Δ₀ | H₀: Δ₀: -1000000000…1000000000 | 0 |
| Confidence level | 90% / 95% / 99% | 95% |
How the calculation works
- Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B.
- Welch: SE² = sA²/nA + sB²/nB; Δᵢ = Aᵢ − Bᵢ: SE² = sd²/n; t = (Δ − Δ₀) / SE; CI = Δ ± tcrit × SE
- 2–500 values per sample; decimal point, whitespace or comma separators. Welch assumes independent samples; paired observations require equal lengths and independent pairs. Normal populations or differences are needed for small samples. Zero standard error is undefined. No normality, causal, equivalence or multiple-testing claim; data stay local.
Welch: SE² = sA²/nA + sB²/nB; Δᵢ = Aᵢ − Bᵢ: SE² = sd²/n; t = (Δ − Δ₀) / SE; CI = Δ ± tcrit × SEA worked example
A=(8,9,10,11,12); B=(5,7,9,11,13); Welch → t=0.632456; df=5.882353; p=0.5508646; CI95%=[−2.887742; 4.887742].
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
2–500 values per sample; decimal point, whitespace or comma separators. Welch assumes independent samples; paired observations require equal lengths and independent pairs. Normal populations or differences are needed for small samples. Zero standard error is undefined. No normality, causal, equivalence or multiple-testing claim; data stay local.
Frequently asked questions
Welch and paired t-tests — How is the result calculated?
Welch: SE² = sA²/nA + sB²/nB; Δᵢ = Aᵢ − Bᵢ: SE² = sd²/n; t = (Δ − Δ₀) / SE; CI = Δ ± tcrit × SE
A / B?
Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B.
Welch and paired t-tests — What assumptions apply?
2–500 values per sample; decimal point, whitespace or comma separators. Welch assumes independent samples; paired observations require equal lengths and independent pairs. Normal populations or differences are needed for small samples. Zero standard error is undefined. No normality, causal, equivalence or multiple-testing claim; data stay local.