← All calculators

t-Tests (Student, Welch, Paired)

Three t-tests with t, df, p-value, Cohen's d, significance stars and means charts with significance brackets. The same math as the Excel workbook, live in your browser.

What this is for: Two-group mean comparisons — Student (equal variance), Welch (unequal variance) and paired sheets, with effect size and charts.

The formula: t = (mean1 − mean2) ÷ standard error of the difference

How to use:

  1. Choose the section that matches your design: Student for independent groups with similar variances, Welch for independent groups with unequal variances, or Paired for matched before/after data.
  2. Paste the values in that section, one value per line in each group box.
  3. For the paired test, keep both boxes in the same pair order — row 1 in each box must be the same subject or sample.
  4. Read n, mean, SD and SEM per group, then the mean difference, t, df, two-tailed p-value, Cohen's d (dz for paired) and significance stars.
  5. In Chart Settings, choose whether the bracket over each means chart shows stars or the exact p-value.

Unpaired (Student) t-Test — two independent groups, equal variance

Two INDEPENDENT groups, equal-variance (Student) t-test. Paste one value per line in each group. Stars: * p<0.05, ** p<0.01, *** p<0.001.

n (Group 1 / Group 2) /
Mean (Group 1 / Group 2) /
SD (Group 1 / Group 2) /
SEM (Group 1 / Group 2) /
Mean difference (G1 − G2)
Pooled SD
t statistic
df
p-value (two-tailed)
Cohen's d
Significance

Welch t-Test — two independent groups, unequal variances

Two INDEPENDENT groups with UNEQUAL variances (Welch's t-test) — the safer default when group SDs differ. df uses the Welch–Satterthwaite equation.

n (Group 1 / Group 2) /
Mean (Group 1 / Group 2) /
SD (Group 1 / Group 2) /
SEM (Group 1 / Group 2) /
Mean difference (G1 − G2)
t statistic
df (Welch–Satterthwaite)
p-value (two-tailed)
Cohen's d (pooled SD)
Significance

Paired t-Test — each row is one subject measured twice

PAIRED data: row i of Group 1 pairs with row i of Group 2 (e.g. before/after). The test runs on the per-row differences.

n pairs
Mean (Group 1 / Group 2) /
SD (Group 1 / Group 2) /
SEM (Group 1 / Group 2) /
Mean difference (of differences)
SD of differences
t statistic
df
p-value (two-tailed)
Cohen's dz
Significance

Chart Settings

Each chart shows group means ± SEM with a significance bracket over the two bars, labelled from that sheet's own two-tailed p-value (single comparison, so the adjusted p equals the raw p).

Prefer to work offline or keep a copy? The download link is right below.
Download the t-Tests (Student, Welch, Paired) workbook (.xlsx)
Notes & limits (from the workbook): Student's test assumes equal variances; Welch's test does not and is the safer default when group SDs differ. The paired test runs on per-row differences and requires the two columns in the same pair order. Stars: * p<0.05, ** p<0.01, *** p<0.001; all p-values are two-tailed. SD is the sample SD (Excel STDEV).