T-Test Calculator (Two Samples from Raw Data)

Compare two groups of raw data with an independent-samples t-test — Welch or pooled — with t, df, p-value and confidence interval for the difference.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Welch: t = (x̄₁ − x̄₂)/√(s₁²/n₁ + s₂²/n₂) with Welch-Satterthwaite df. Pooled: uses one combined variance, df = n₁ + n₂ − 2.

Example

Example: groups 1–5 vs 2–6 → t = -1, p = 0.3465935071.

Assumptions

Independent samples from roughly normal populations. Welch's version is the safer default.

Frequently Asked Questions

Welch or Student?

Welch's t-test doesn't assume equal variances and loses almost nothing when they are equal — use it by default.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile