This calculator estimates how many participants a two-arm trial needs, using the two-proportion z-test most early-phase and pilot studies rely on. Set your expected response rates, significance level and power, and it returns a per-arm and total number instantly, adjusted for dropout.
Free sandbox · No credit card · 21 CFR Part 11 aligned
BMI (Body Mass Index)
Auto-derivedHeight (cm)
172
Weight (kg)
68.5
Result
23.2 kg/m²
Reference: WHO · shown read-only during data entry
Free tool
Move the sliders. Nothing here is saved or sent anywhere; it runs entirely in your browser.
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.
The formula
This tool uses the standard two-proportion z-test for a two-arm superiority design: n per arm equals (z-alpha/2 plus z-beta) squared, times the sum of each rate’s variance, divided by the squared difference between the two rates. It is the same formula behind most published protocols for a binary outcome, rounded up and then inflated for the dropout rate you expect.
Stage 1
DraftBuild and edit freely
Stage 2
ApprovedLocked for live use
Stage 3
In the casebookOnly approved forms
SDV requirement changed on Systolic BP
Data manager · Reason: critical safety value
Form approved: Vital Signs (VS) v2
Study owner · Locked for live use
Answer changed: Weight 68.0 to 68.5 kg
Site coordinator · Reason: transcription error
Before you lock this in
This is a planning estimate. Share the inputs with a biostatistician before you finalize a statistical analysis plan.
This tool covers binary outcomes (response or no response). A mean-difference design uses a different calculation.
This calculator assumes one treatment versus one control.
A long follow-up with many visits usually loses more participants than a short one. Adjust the slider accordingly.
Next step
A sample size is only useful once it sits inside a real study build: a visit schedule, eCRFs, randomization and enrollment tracking. Capture’s AI study builder reads a protocol and drafts the visit schedule and forms for you, so you go from this number to a working study the same day.

Free sandbox with every feature. No credit card, no sales call.
The two-proportion z-test for a two-arm superiority design, the standard approach for a binary outcome with equal allocation between arms.
No. It is a fast planning estimate. Any protocol going to a regulator or an IRB should have its final sample size confirmed by a biostatistician.
This tool does not cover that case. A continuous outcome (a mean difference between arms) uses a different formula; ask a biostatistician for the right one.
No. The calculation runs entirely in your browser. Nothing is saved, logged, or sent to a server.
Not directly. This calculator assumes one treatment arm compared with one control arm.
Yes. It runs on this page with no sign-up. Creating a free sandbox account is only needed if you want to build the actual study.
Keep exploring
Randomization list generator
The next planning tool once you know your enrollment target.
Clinical trial study builder software
Turn a protocol into a drafted study in minutes.
CRF builder for clinical trials
Where the eCRFs for this study get built.
Clinical trial randomization software
How allocation works once enrollment opens.
EDC for Phase 1 Clinical Trials
A common home for small, early-phase enrollment targets.
Free sandbox with every feature. No credit card, no sales call.