Independent samples t-test calculator
Compares the means of two independent groups using Welch’s t-test (robust to unequal variances), with Cohen’s d and a Levene variance check.
Or skip the manual work
In the app, you chat with your data — the AI runs the analysis and writes it up.
Free accounts include AI chat, data analysis, and every tool on this site.
When to use this
Use an independent-samples t-test when two different groups of cases — treatment vs. control, novices vs. experts, condition A vs. condition B — are measured on the same continuous outcome, and you want to know whether the group means differ. This calculator runs Welch’s version, which does not assume equal variances; it behaves almost identically to the classic Student t-test when variances are equal and is markedly more reliable when they are not, which is why methodologists recommend it as the default.
Key assumptions
- The two groups are independent — no participant appears in both (otherwise use the paired t-test).
- The outcome is interval or ratio scaled.
- Scores within each group are approximately normal, or each group has roughly n ≥ 30.
- Equal variances are NOT required — Welch’s correction handles unequal variances and unequal group sizes.
Common mistakes
- Using it for before/after measurements on the same people — that needs a paired-samples t-test.
- Running several t-tests across 3+ groups instead of a one-way ANOVA, inflating the false-positive rate.
- Interpreting p > .05 as proof the groups are equal — non-significance is absence of evidence, not evidence of absence.
- Omitting the effect size; a tiny, unimportant difference becomes “significant” in large samples.
Frequently asked questions
Why does the calculator use Welch’s t-test instead of Student’s?
Can the two groups have different sample sizes?
What if my data are skewed or ordinal?
Related free tools
Stop copying numbers between tools
Inside Kahubi, the AI agent runs this analysis directly on your uploaded dataset — then writes the results section in your own writing style, with the statistics reported correctly.