t-Test Calculator (One-Sample, Independent, Paired)

t-Test Calculator (One-Sample, Independent, Paired) runs one-sample, independent two-sample (Welch or pooled Student) and paired t-tests from raw data or summary values (mean, standard deviation, n). It gives the t statistic, degrees of freedom, p-value (two- or one-sided), the confidence interval of the mean difference and Cohen's d effect size; results are verified against R's t.test output.

Group 1
Group 2
When unchecked Welch's t-test is used (it does not assume equal variances).

p = 0.079394 — not significant at level α (α = 0.05)

  • t statistic
    -1.860813
  • Degrees of freedom
    17.776474
  • p-value
    0.079394
  • Mean difference
    -1.58
  • Standard error
    0.849091
  • Confidence interval of the difference
    [-3.365483, 0.205483]
  • Cohen's d (effect size)
    -0.832181

How it works

  1. 1Choose the test type: one-sample, independent two-sample or paired.
  2. 2Paste the raw data or enter summary values; for the one-sample test enter the hypothesised mean (μ₀).
  3. 3Set the alternative hypothesis and confidence level.
  4. 4Read the p-value, the significance verdict and the confidence interval.

Frequently asked questions

Welch or Student?+

If you cannot guarantee equal variances use Welch (the default); if you know the variances are equal the pooled Student test is slightly more powerful.

The p-value is significant, what does that mean?+

If the null hypothesis (no difference) were true, a difference this extreme or more would occur with probability below α (usually 0.05); it does not mean the difference is large or important, look at the confidence interval and Cohen's d for that.

When do I use the paired test?+

When comparing measurements of the same subjects (before/after) or matched pairs; the A and B values must be in the same order.

How do I read Cohen's d?+

Roughly 0.2 is a small, 0.5 a medium and 0.8 a large effect.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/math/t-test-calculator/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="t-Test Calculator (One-Sample, Independent, Paired) · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Math Tools Guide →

Command Palette

Search for a command to run…