How it works
Independent: t = (mean₁ − mean₂)/√(s₁²/n₁ + s₂²/n₂), with Welch–Satterthwaite degrees of freedom. Paired: apply t = mean difference/(SD of differences/√n). Assumes appropriate independent sampling or pairing and an adequate normal model. Two-sided p-values test zero mean difference; they do not measure effect importance, causality or the probability that a hypothesis is true.
Worked example
Comparing the samples 72, 75, 78, 80, 85 and 68, 70, 74, 75, 77 with a Welch t test gives t = 1.88 with 7.4 degrees of freedom and a two-sided p-value of 0.100, which is above the chosen 0.05 threshold.
Cite this page
ToolOctopus. “T test calculator.” Updated . https://tooloctopus.com/t-test-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.