Glossary · Study designUpdated September 28, 2026

What is sample size calculation?

Sample size calculation determines the number of participants a trial needs to have a good chance (power) of detecting a pre-specified treatment effect on the primary endpoint, while limiting the risk of a false positive (alpha).

  • Sample size in plain language
  • How it works in practice
  • Related terms

Free sandbox · No credit card · 21 CFR Part 11 aligned

Sample size · two proportions

Per arm

93

+15% dropout

110

Total

220

Control response 30%30/100
Expected treatment response 50%50/100
Power 80%, alpha 0.0580/100
Try it in the free calculator

In short

  • Inputs: significance level (alpha), usually 0.05; power, usually 80% or 90%; the effect size you want to detect; the variability of the endpoint; the allocation ratio; and expected dropout.
  • Smaller effects, more variable endpoints and higher power all increase the sample size.
  • The effect size should be clinically meaningful and realistic, not chosen to make the study affordable.
  • Inflate for expected dropout, and document every assumption and its source in the protocol and analysis plan.

Try it

Sample size for two proportions

Adjust the control and treatment response rates, alpha, power and dropout. For other endpoint types, work with a statistician.

30%
50%
15%

You need, per arm

108

91 completers + dropout margin

Total to enroll (2 arms)

216

Two-proportion z-test, equal allocation. A rough planning estimate, not a substitute for a biostatistician on your protocol.

Explained

Common sample size mistakes

The most common mistake is an optimistic effect size. Early-phase results often overestimate effects, and a trial powered for an effect that is twice the real one has much less than its nominal power. Basing the effect on the smallest clinically meaningful difference, often informed by the MCID, is more robust.

Other frequent problems include using a variability estimate from a different population, forgetting dropout, and powering for the primary endpoint while planning confirmatory claims on secondary endpoints that are underpowered. The sample size calculator handles the common two-proportion case; complex designs such as cluster, adaptive or Bayesian trials need a statistician.

FAQ

Common questions

Something not covered here? Ask us directly.

What is statistical power?

The probability that a trial will detect a treatment effect of the specified size if it truly exists. 80% or 90% is typical.

What is alpha?

The probability of concluding there is an effect when there is none (a false positive). 0.05 two-sided is typical.

Why adjust for dropout?

Participants who leave reduce the analysable sample. Inflating enrolment keeps the planned power.

Who should do the calculation?

A statistician, using assumptions agreed with the clinical team and documented in the protocol.

From sample size to a running study

Build the study your calculation supports. Free sandbox.

Try Capture free