Sample Size Calculator
Continuous outcomes · Binary proportions · Survival events · Power & minimum detectable effect · Attrition & Bonferroni correction
Sample Size — Two Means
The Sample Size Decision Hierarchy
What is the smallest difference that would change practice? This is a clinical judgement. Setting it too small gives an impossibly large n. Setting it too large gives an underpowered study for the true effect.
For continuous outcomes, SD comes from published data or pilot studies. For binary outcomes, the control event rate determines variance. Conduct sensitivity analysis for ±20%.
80% is the convention. 90% is more appropriate for pivotal confirmatory trials. Alpha 0.05 two-tailed is standard. If multiple primary outcomes, apply Bonferroni before calculating n.
Enrol more than you calculate to end up with enough analysable patients. Be honest about dropout: 5% is rarely realistic for complex interventions over 3 years.