Clinical Tools · Biostatistics · ICH E9
Clinical Trial Sample Size Calculator
Calculate required sample size for parallel group, two-proportion, and crossover clinical trials. Includes power analysis, dropout adjustment, and power curve table.
Quick Answer
Clinical trial sample size for a two-arm parallel trial with a continuous endpoint uses n = 2 × [(zα/2 + zβ)² × σ²] / δ² per group, where δ is the minimum clinically important difference and σ is the pooled standard deviation. With α = 0.05 (two-sided) and 80% power, z values are 1.96 and 0.842. Inflate for expected dropout before finalizing the protocol synopsis and statistical analysis plan (SAP). Confirm with a qualified biostatistician per ICH E9.
zα/2 = 1.96 (α=0.05) zβ = 0.842 (power=0.80) zβ = 1.282 (power=0.90)
Two-Group Parallel — Continuous Outcome
Calculate sample size per group for a continuous endpoint using alpha, power, effect size, and dropout adjustment.
Two Proportions — Binary / Event-Rate Outcome
Calculate sample size per group for binary endpoints using control and treatment event rates.
Crossover Trial — Within-Subject Design
In a crossover trial each subject receives both treatments. This halves the required sample size by eliminating between-subject variability, but requires a stable condition and an adequate washout period.
How to Use the Sample Size Calculator
Worked Example — Two-Arm Continuous Endpoint
Design: Two-group parallel, continuous primary endpoint, two-sided α = 0.05, power = 80%.
Inputs: δ = 5 (minimum difference to detect), σ = 10 (pooled SD), dropout = 15%.
Formula: n per group = 2 × (1.96 + 0.842)² × 10² / 5² = 2 × 7.84 × 100 / 25 ≈ 63 evaluable subjects per group (total N ≈ 126).
Dropout adjustment: 63 / 0.85 ≈ 75 per group → enroll approximately 150 subjects total.
Interpretation: With these assumptions, the trial has 80% power to detect a 5-unit mean difference. Validate σ and δ against historical data before protocol lock.
Common Scenario Reference Table
Minimum sample sizes per group for common effect sizes (two-sided α=0.05, power=0.80, σ=10, allocation 1:1):
| Standardized Effect Size (δ/σ) | Small (0.2) | Medium (0.5) | Large (0.8) | Very Large (1.0) |
|---|---|---|---|---|
| Power 70% | 124 | 21 | 9 | 6 |
| Power 80% | 197 | 32 | 13 | 9 |
| Power 85% | 246 | 40 | 16 | 11 |
| Power 90% | 313 | 51 | 21 | 14 |
Pharma & Clinical Trial Context
Sample size is a core protocol decision documented in the protocol synopsis and fully justified in the statistical analysis plan (SAP). Sponsors must prespecify the primary estimand, alpha, power, expected effect size, variability assumptions, dropout handling, and any interim analysis or adaptation rules before first patient in. Regulators and ethics committees expect transparent, reproducible sizing rationale aligned with ICH E9.
For binary proportion endpoints, the Two Proportions tab reports NNT alongside sample size — use our NNT Calculator for deeper benefit interpretation. After sizing, translate expected treatment effects into confidence intervals with the Confidence Interval Calculator. Operationalize enrollment with the Randomization Generator and draft protocol sections via the Protocol Synopsis tool.
When the SAP specifies Bayesian posterior thresholds or historical borrowing, compare frequentist assumptions with our Bayesian Sample Size Calculator. Adaptive designs with sample size re-estimation require simulation beyond static formulas — see FDA adaptive design guidance in the evidence section below.
Evidence & Sources
- ICH E9: Statistical Principles for Clinical Trials
- ICH E9(R1): Addendum on Estimands and Sensitivity Analysis in Clinical Trials
- CONSORT Statement — reporting standards for randomized trials
- FDA: Adaptive Designs for Clinical Trials of Drugs and Biologics (2019)
- FDA: Guidance on the Use of Bayesian Statistics in Medical Device Clinical Trials
- Competitive landscape: ClinCalc Sample Size Calculator is a trusted two-group means/proportions tool but lacks crossover design, dropout inflation, power-curve output, and pharma trial-ops hub links. Sealed Envelope covers continuous superiority trials only on a CRO-branded site without ICH E9 estimand framing or integrated randomization/protocol tools. NovaPharmaNews provides parallel, proportions, and crossover tabs with dropout adjustment, reference tables, FDA adaptive-design context, and a full clinical-tools cluster — free, no login.