Two-sample t-test for independent samples (Student, Welch)
Difference of means (group 1 − group 2), two-sided p values. Student: pooled variance sp² = ((n₁ − 1)s₁² + (n₂ − 1)s₂²)/(n₁ + n₂ − 2), SE = sp·√(1/n₁ + 1/n₂), df = n₁ + n₂ − 2. Welch: SE = √(s₁²/n₁ + s₂²/n₂), Welch–Satterthwaite df = (s₁²/n₁ + s₂²/n₂)² / ((s₁²/n₁)²/(n₁ − 1) + (s₂²/n₂)²/(n₂ − 1)). 95% CI = difference ± t(0.975; df)·SE. Student. The probable error of a mean. Biometrika 1908;6:1–25. doi:10.1093/biomet/6.1.1. Welch BL. The generalization of “Student’s” problem when several different population variances are involved. Biometrika 1947;34:28–35. PMID 20287819.
More about this tool
Enter the values and the result appears immediately. Formula and interpretation follow the original publication cited below. Free, no account – your entries stay in your browser.
For orientation only. Does not replace statistical advice; verify results for papers and grant applications with a second software.
More calculators: Comparing means
pubmed.info sets no tracking cookies and builds no user profiles. Visits are counted anonymously (cookieless, shortened IP addresses). Ads from Google appear only according to your consent choice.