Paired t-Test

Compare two related measurements (e.g., before and after treatment) on the same subjects.

Please verify you are human to use the calculator.

About the Paired t-Test

The paired t-test is designed for situations where two measurements are taken on the same subjects or on naturally matched pairs—such as before-and-after treatment scores, left-versus-right-side measurements, or twin studies. By computing the difference within each pair and testing whether the mean difference is zero, the paired design removes between-subject variability and typically provides greater statistical power than an independent two-sample test.

The critical assumption is that the within-pair differences are approximately normally distributed and that pairs are independent of one another. The raw measurements themselves do not need to be normally distributed. If outliers in the differences are severe, the non-parametric Wilcoxon signed-rank test is a robust alternative.

A frequent mistake is ignoring the paired structure and running a two-sample t-test instead. This discards the within-subject correlation, inflates the variance estimate, and reduces the chance of detecting a real effect. Another common error is using the paired t-test to assess whether two measurement techniques give identical results; for that purpose a Bland-Altman analysis or intraclass correlation is more appropriate.

A test result carries weight only when the hypothesis, the sample size and the decision rule were fixed before the data arrived. Every pilot we scope is built the same way, with success criteria and kill gates agreed in advance. That work is described under AI pilot design.

Related calculations

  • One-sample t-test: Compare the one-sample mean formulation underlying the paired-difference test.
  • Two sample t test: Use an independent-sample test when observations do not form meaningful pairs.
  • Wilcoxon signed rank: Use a signed-rank analysis for paired differences when its symmetry assumption is appropriate.
  • Shapiro wilk: Inspect the normality of paired differences, not the two raw samples separately.

Related Tools

Stay in the loop

Get notified when new tutorials and deep-dives are published. No spam, unsubscribe anytime.

Paired t-Test FAQ

Common questions about the paired t-test