Skip to content

Advertisement
Advertisement unavailable offline
The page content remains available.

Paired t test calculator

Paste before and after measurements in matching row order. The calculator tests the mean paired difference against zero.

Each row must refer to the same person or item in both fields.

Two-sided p value: —

Fill in the fields above — the result is computed on this page.

Number of pairs
—
Mean difference after − before
—
SD of differences
—
Standard error
—
t statistic
—
Degrees of freedom
—

Pairs and differences

Pair Before After Difference
Fill in the fields above — the result is computed on this page.
What do these numbers mean?
  • Verify the row pairing before interpreting the test.
  • Report the signed mean difference together with the p value.

The test assumes independent pairs and an approximately normal distribution of differences. Very small samples or strong outliers can make the result misleading.

How do I use this page?
  1. Paste both measurements in matching order.
  2. Check the mean and SD of the differences.
  3. Read t, df and the two-sided p value.

What this page does not do: The test assumes independent pairs and an approximately normal distribution of differences. Very small samples or strong outliers can make the result misleading.

Further reading

Theory — what is the paired t test?

The paired t test compares two measurements taken on the same units, for example before and after a change. The calculation works on the paired differences, so the row order of the entered data matters and must be kept consistent in both columns. A small p-value shows that such a large mean paired difference would rarely occur by chance if there were truly no difference. Every value in the first field must have a matching value in the second, since this is not a test for two independent groups.

Frequently asked questions

Is this for two independent groups?
No. Each value in the first field must have a matching value in the second field.
What does a negative mean difference mean?
With after minus before, it means the second measurement is lower on average.

See also

← All calculators

Advertisement
Advertisement unavailable offline
The page content remains available.
Offline app and draw notifications

My saved selections

Selections saved only in this browser. Numbers are shown exactly as saved; this is not a lottery ticket.

Open the My saved selections hub
Restore with preview

Restore in the hub: review the file and confirm first. Both old backups and the complete selections + journal backup are supported. Nothing is uploaded.