Mean · MEAN-2P

Sample Size for Test of Paired Means

Plan a paired or repeated-measurement mean comparison using the anticipated standard deviation of within-participant differences.

1. Information obtained from previous studies or literature

Use the SD of within-participant differences, not the SD at either measurement alone.

2. Information decided by the researcher

Enter the smallest paired mean difference the study should be able to detect.

3. Results

Enter the paired-mean assumptions and select Calculate.

Formula, assumptions, limitations, and methodological note

Example clinical scenario

Systolic blood pressure is measured in the same patients before and after an eight-week lifestyle intervention to detect a meaningful mean within-person change.

Formula and methodological note

The calculator uses the normal-approximation paired-mean formula based on the standard deviation of within-participant differences, the selected alternative, Type I error, and power. The result is rounded up to complete pairs before the dropout/non-response adjustment.

It assumes that measurements are correctly paired within participants, the paired differences are independent across participants and approximately normally distributed, and the SDdiff and detectable difference use the same outcome units.

It does not account for more than two measurements, clustering, design effects, missing outcome patterns, non-normal paired differences, non-inferiority/equivalence designs, or interim monitoring.

Method references

  1. Chow SC, Shao J, Wang H, Lokhnygina Y. Sample Size Calculations in Clinical Research. 3rd ed. Chapman and Hall/CRC; 2017.
  2. Cohen J. Statistical Power Analysis for the Behavioral Sciences. 2nd ed. Lawrence Erlbaum Associates; 1988.

Suggested citation

Yaacob, Najib Majdi. “Sample Size for Test of Paired Means (MEAN-2P).” Web calculator. NajibMY, 2026. Accessed July 29, 2026. https://najibmy.netlify.app/tools/sample-size/mean/paired-means/.

4. Utilities

Optional helper for computing SD of paired differences.