Two-Sample t-Test

Welch's two-sample t-statistic, Welch-Satterthwaite df, p-value, significance flag, and mean difference.

Run the calculator

Example

You enter

You get

Details, formula, and sources

Reusing the bundled Student-t CDF.

t = (m1-m2)/sqrt(s1^2/n1 + s2^2/n2); Welch df = (s1^2/n1 + s2^2/n2)^2 / [ (s1^2/n1)^2/(n1-1) + (s2^2/n2)^2/(n2-1) ]; p from the Student-t CDF.

Per OpenIntro Statistics Chapter 7 (inference for numerical data, Welch's t) and the Welch-Satterthwaite df, by name; the t-CDF reuses the bundled special-function helper.

Free at openintro.org.

Estimate. AHJ and licensed professional govern.

Field names used by the API: mean1, sd1, n1, mean2, sd2, n2, tail, alpha, t_stat, p_value

Related tools