Choosing tests · 6 min read

Welch's vs Student's t-test: which one?

They usually agree, until group sizes and spreads differ. Then one of them can quietly double your false-positive rate.

Advertisement
Updated November 2026 · Numerical example included

Almost every statistics package offers two versions of the independent two-sample t-test: Student's t-test, which assumes both groups have the same variance, and Welch's t-test, which does not. They often give nearly identical answers, which makes the choice look unimportant. But in one specific and very common situation they disagree sharply, and Student's version can then report "significant" differences far more often than it should. This guide explains the difference, shows a numerical example, and ends with a simple rule.

The one difference between them

Both tests compute the same kind of ratio: the difference between the two means divided by its standard error.

t = (mean1 − mean2) / SE of the difference

They differ only in how they estimate that standard error:

When the two groups have similar standard deviations, or the same sample size, the two standard errors come out almost the same and so do the p-values.

When the choice really matters

Trouble starts when the groups have both different sizes and different spreads. The pooled variance is dominated by the larger group. If the larger group is also the less variable one, the pooled estimate understates the noise in the smaller group, the standard error comes out too small, t comes out too large, and Student's test produces false positives.

Here is an example. Two groups differ in mean by 2 units:

GroupnMeanSD
Treatment10226
Control30202
Student's t-testWelch's t-test
Standard error of the difference1.241.93
t1.611.04
Degrees of freedom389.7
Two-sided p≈ 0.12≈ 0.33

Neither result is significant here, but notice how much smaller Student's p-value is. Welch's test recognises that the treatment group, with only 10 noisy observations, carries most of the uncertainty, and its degrees of freedom drop to about 9.7 to reflect that. With a slightly larger difference in means, Student's test would cross p < 0.05 while Welch's would not, and Student's would be the one giving the wrong answer.

Simulation studies confirm this pattern: with unequal variances and unequal sample sizes, Student's test can have an actual false-positive rate of 10–20% or more when you think you are working at 5%. In the opposite arrangement (the larger group is more variable) Student's test becomes overly conservative and loses power. Welch's test keeps close to the nominal 5% in both cases.

"But shouldn't I test for equal variances first?"

A traditional recipe says: run Levene's test or an F-test for equal variances, then pick Student's test if it is not significant and Welch's test if it is. Statisticians now advise against this two-step procedure, for two reasons:

The simpler and safer approach is to use Welch's test from the start.

What do you lose by always using Welch?

Very little. When the variances really are equal and the groups are the same size, Welch's test gives almost exactly the same result as Student's; the power loss is tiny. That asymmetry (a small cost when Student's assumption holds, a large protection when it does not) is why many statisticians and several software packages, including R's t.test(), now use Welch's test as the default.

Student's test is still fine when you have a good reason to expect equal variances, for example identical measurement procedures with equal group sizes, and a reviewer or established protocol asks for it.

What neither test fixes

How to report it

"Mean scores did not differ significantly between treatment (22.0 ± 6.0, n = 10) and control (20.0 ± 2.0, n = 30; mean ± SD; Welch's t-test, t(9.7) = 1.04, p = 0.33)."

Naming the test matters: "t-test" alone leaves the reader unsure which variance assumption you made. Reporting the fractional degrees of freedom is normal for Welch's test and signals to the reader which version you used.

Running both in StatFlo

StatFlo offers both versions under Statistical Test. Upload two columns, run Welch's t-test, then switch to Student's t-test and Generate again to see how much the result depends on the equal-variance assumption for your data. If the two p-values are close, the assumption does not matter much; if they differ substantially, report Welch's. The t-test tutorial walks through every number in the output.

See both versions on your own data.

Run Welch’s and Student’s t-tests side by side in StatFlo and compare the results.

Open StatFlo