What the two-means tool does
The calculator answers one planning question before an experiment runs: how many replicates per group give a stated probability, the power, of detecting a difference of a stated size at a chosen significance level. It covers two independent groups, such as treatment and control, with equal replicate numbers in each group.
Enter the smallest difference worth detecting, the expected standard deviation, the significance level alpha, and the target power. The calculator returns the replicates per group, the total across both groups, and the standardized effect size d, which is the difference divided by the standard deviation.
The formula
The estimate uses the standard two-sample normal approximation: n per group = 2 × (z for alpha + z for power)² / d², where d = delta / sigma. The z values are normal quantiles: for a two-sided alpha of 0.05 the value is 1.96, and for power 0.8 it is 0.84. The result is rounded up to a whole replicate, since a fraction of a replicate cannot be run.
The normal quantiles come from Acklam’s rational approximation, accurate to about one part in ten million, far more precise than the integer rounding the result feeds. The formula is the large-sample approximation. It is not the exact t-test calculation.
- Standardized effect: d = δ / σ
- Replicates per group: n = 2 × (z_1−α/2 + z_1−β)² / d²
- Total replicates: 2 × n
- Result: rounded up to a whole replicate
Worked example: 41 replicates per group
Detect a difference of 5 units with a standard deviation of 8, at alpha 0.05 and power 0.8. The standardized effect is 5 / 8 = 0.625. The formula gives n = 2 × (1.960 + 0.842)² / 0.625², which is about 40.2. The calculator rounds up to 41 replicates per group, 82 in total. Every number here was checked against the calculator.
The same inputs with a larger effect need far fewer replicates. A standardized effect of 1 needs 16 per group, and a standardized effect of 2 needs 4 per group, at the same alpha and power. Small effects are expensive: halving the difference to detect roughly quadruples the replicates, because the difference enters the formula squared.
The same calculation for other effect sizes (two-sided α = 0.05):
- Difference to detect (δ): 5
- Standard deviation (σ): 8
- Standardized effect (d): 5 / 8 = 0.625
- Significance (α): 0.05, two-sided; power (1 − β): 0.8
- Replicates per group: about 40.2, rounded up to 41
- Total replicates: 82
| Standardized effect d | Total replicates (power 0.8) | Total replicates (power 0.9) |
|---|---|---|
| 2.0 | 8 | 12 |
| 1.0 | 32 | 44 |
| 0.8 | 50 | 66 |
| 0.625 | 82 | 108 |
| 0.5 | 126 | 170 |
| 0.25 | 504 | 674 |
| 0.2 | 786 | 1052 |
Assumptions
The estimate rests on four assumptions, and each one is shown on the calculator page. Two independent groups with equal replicate numbers and equal variance. An outcome that is approximately normally distributed. A two-sided significance level, comparing means. And the z approximation rather than the t distribution.
When an assumption fails, the estimate is the wrong tool for the design, not a number to adjust by feel. A paired design, unequal variances, or a skewed outcome each need their own formula, and the next sections name the tool that covers them.
- Two independent groups, equal numbers per group, equal variance
- Outcome approximately normally distributed
- Two-sided alpha; the test compares means
- z (large-sample) approximation, not the t distribution
Honest limits
Treat the result as a lower bound. For fewer than about 30 replicates per group the t-test requires slightly more replicates than this estimate, so a small study planned on this number alone is underpowered. The result plans for a single comparison. Multiple testing, paired designs, and unequal variances need different formulas.
The standard deviation drives the answer more than any other input. A too-small standard deviation makes the estimate look better than the experiment will be, so base it on pilot data or the literature. This is a planning aid, not statistical advice for a specific study. Consult a statistician for confirmatory or clinical designs.
When to use G*Power instead
G*Power is free power-analysis software that covers the designs this calculator does not: exact t-test calculations, paired and one-sample tests, unequal variances, analysis of variance, proportions and rates, and multiple comparisons, plus power curves and sensitivity analysis. When the design is anything other than two independent means with equal variance, use G*Power. (Faul, F., Erdfelder, E., Lang, A.-G., and Buchner, A. (2007). G*Power 3: A flexible statistical power analysis program for the social, behavioral, and biomedical sciences. Behavior Research Methods 39, 175-191. doi: 10.3758/BF03193146.)
Use this calculator when the design fits and the answer needs to be quick and checkable: two groups, equal numbers, one comparison, normal outcome. Use G*Power when the design is more complex, when the exact t-test matters at small n, or when the study needs a power curve rather than a single number.
From replicates to plate map
The replicates per group set the minimum wells the design needs. Take that number to the 96-Well Planner and lay out the plate map: groups, conditions, controls, and replicates across the grid, with the consistency checks catching a misloaded well before the run.
Plan for the plate as well as the count. Replicates per group tell you the minimum, but the wells or tubes you actually have decide whether the design fits on one plate.