Welch’s, Student’s and paired t-test calculator

Run Welch’s unequal-variance t-test, Student’s pooled t-test or a paired t-test from raw numbers or reported group means and SDs, with confidence intervals, d/g and APA output.

No accountSummary stats or rawAPA sentence & R/Python

Choose summary statistics, raw groups, or paired scores

Reports Welch’s t-test (unequal variances), Student’s t-test (equal variances), or a paired-samples t-test alongside confidence intervals and Hedges’ g / Cohen’s d.

T-TEST INPUTS

LIVE RESULT

INSTANT

t-test results

Welch’s t-test is recommended as the default for independent groups because it maintains nominal Type I error rates without assuming equal population variances.

READY-TO-USE APA 7TH RESULTS SENTENCE

Adjust inputs above to generate a draft reporting sentence.

VISUAL DIAGNOSTIC

Mean difference & confidence interval plot

Reproduce in R (t.test) and Python (SciPy)

Welch’s, Student’s, and paired t-tests explained

Student’s independent t-test pools the two sample variances under the assumption that σ₁² = σ₂². When sample sizes or variances differ, Welch’s t-test avoids that fragile assumption by estimating the standard error directly from each group’s own variance and adjusting degrees of freedom with the Welch–Satterthwaite equation. In balanced equal-variance samples, both procedures give nearly identical results, so methodologists widely recommend defaulting to Welch’s t-test.

Welch SE = √(s₁²/n₁ + s₂²/n₂), df = (s₁²/n₁ + s₂²/n₂)² ÷ [ (s₁²/n₁)²/(n₁−1) + (s₂²/n₂)²/(n₂−1) ]
Paired t = Mdiff ÷ (SDdiff / √n), df = n − 1, Cohen’s dz = Mdiff ÷ SDdiff

Worked examples

Independent summary example: Comparing Group 1 (n = 28, M = 76.4, SD = 9.2) against Group 2 (n = 30, M = 70.1, SD = 11.5) yields a mean difference of 6.30 points. Welch’s t(54.8) = 2.31, p = .025, 95% CI [0.84, 11.76], with Cohen’s d = 0.60 and bias-corrected Hedges’ g = 0.59. Student’s equal-variance t(56) = 2.29, p = .026.

Paired-samples example: Across 8 participants measured before (M = 67.75, SD = 7.36) and after (M = 73.25, SD = 5.06) an intervention, scores increased by Mdiff = 5.50 (SDdiff = 3.07), t(7) = 5.07, p = .001, 95% CI [2.93, 8.07], Cohen’s dz = 1.79.

Choosing the right comparison test

Two-group and multi-group hypothesis tests across Easenco.
DesignParametric testNon-parametric alternativeRecommended when
2 independent groups (normal or n ≥ 30)Welch / Student t-testMann–Whitney U testUse Welch by default; switch to Mann–Whitney for strong skew or ordinal scores
2 paired measurements (same subjects)Paired-samples t-testWilcoxon signed-rank testSwitch to Wilcoxon if difference scores have severe outliers
3+ independent groupsOne-way / Welch ANOVA & Tukey HSDKruskal–Wallis testFollow omnibus F or H with multiple-comparison correction
Need sample size before data collectionPower analysis calculatorSurvey sample size calculatorConvert published t into Cohen’s d with the t-to-effect-size calculator

Common pitfalls

  • Using standard error instead of standard deviation: Summary fields expect sample standard deviation (SD). If a paper reports SE instead of SD, multiply SE by √n before entering values here (or convert reported t directly via the t-to-effect-size calculator).
  • Do not gatekeep Welch with Levene’s test: Conditionally running Student’s t vs. Welch’s t based on a pre-test for equal variance distorts downstream Type I error rates. Report Welch’s t directly unless theoretical homogeneity is guaranteed.

Common questions

Frequently asked questions

Should I report Welch’s t-test or Student’s t-test?

Report Welch’s t-test by default. Simulation studies show Welch matches Student’s power when variances are equal while preventing inflated false positives when variances or group sizes differ (Delacre, Lakens, & Leys, 2017).

Why does Welch’s t-test have decimal degrees of freedom?

The Welch–Satterthwaite approximation weights the degrees of freedom by the two variance estimates. Decimal df (such as df = 54.6) is standard and expected in APA 7th reporting.

What is the difference between Cohen’s d and Hedges’ g?

Cohen’s d divides the mean difference by the pooled sample SD and slightly overestimates population effect sizes in small samples (n < 20 per group). Hedges’ g applies the J bias-correction factor to remove that upward bias.

When should I choose a paired t-test instead of an independent t-test?

Use a paired t-test whenever observations come in matched pairs—such as pre-test and post-test on the same participant, crossover trials, or sibling pairs—so within-subject variability is separated from the treatment effect.