Skip to content
LoveToCalc

Definition — what does that mean?

Two-sample t statistic (Welch)

How far apart two independent sample means are, counted in standard errors.

In Swedish: T-värde för två stickprov (Welch)

Two-sample t statistic (Welch)

The relation

t=x̄₁−x̄₂s₁²n₁+s₂²n₂

How many standard errors apart two independent sample means are: the difference of the means divided by the square root of s₁²/n₁ + s₂²/n₂, without assuming equal spreads.

Solve for

t≈3.5355

t equals (50 minus 45) divided by the square root of ((6 squared divided by 36) plus (8 squared divided by 64)), equals 5 divided by the square root of ((36 divided by 36) plus (64 divided by 64)), equals 5 divided by the square root of (1 plus 1), equals 5 divided by the square root of (2), is approximately 5 divided by 1.4142, is approximately 3.5355

Working6 steps

Practice questions

You are given

  • x̄₁=50
  • x̄₂=45
  • s₁=6
  • n₁=36
  • s₂=8
  • n₂=64

Round to 2 decimals.

The formula

t = (x̄₁ − x̄₂) / √( s₁²/n₁ + s₂²/n₂ )

Holds for two independent random samples from roughly normal populations, or large ones. This is Welch’s form, which does not assume equal standard deviations. The degrees of freedom come from the Welch–Satterthwaite formula and are generally not a whole number; a package prints them, and the smaller of n₁ − 1 and n₂ − 1 is a conservative choice by hand. Read the critical value in the t-table.

Textbooks that assume equal spreads pool s first and use n₁ + n₂ − 2 degrees of freedom. The two agree closely when the spreads and sizes are alike.

Means 50 and 45, s = 6 and 8, n = 36 and 64: the root is √(1 + 1) = 1.414 and t = 5/1.414 ≈ 3.54.

The sleep data

R’s sleep data, 10 patients per drug: means 0.75 and 2.33, s = 1.789 and 2.002. The root is 0.849 and t = (0.75 − 2.33)/0.849 ≈ −1.86, with 17.8 degrees of freedom, short of the 5% limit 2.10. The sign only reflects which group was called first.

Common mistakes

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
tx̄₁−x̄₂s₁²n₁+s₂²n₂50−456²36+8²643.5355
x̄₁x̄₂+ts₁²n₁+s₂²n₂45+3.53556²36+8²6450
x̄₂x̄₁−ts₁²n₁+s₂²n₂50−3.53556²36+8²6445

Last reviewed October 11, 2026 ·How pages are reviewed

Statistics and probabilityAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.