Free tool · Sample sizeUpdated October 6, 2026

Sample size calculator with dropout and attrition built in

You already know how many evaluable participants you need. This calculator tells you how many to enrol so that enough are left at the end, using the correct divide-by-retention formula rather than the common multiply-by-dropout shortcut.

  • Enrol N = ceil(N / (1 - d))
  • Dropout table, 5% to 30%
  • Runs in your browser

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

Evaluable N = 200: enrolment needed by dropout rate

Evaluable needed

200

Expected dropout

20%

Enrol

250

5% dropout211/286
10% dropout223/286
15% dropout236/286
20% dropout250/286
25% dropout267/286
30% dropout286/286
Illustrative. 200 / (1 - 0.20) = 250, not 240.

Free tool

Calculate how many to enrol

Enter the evaluable sample size you need and your expected dropout rate. It runs in your browser; nothing is saved or sent. A planning aid, not validated software.

%
Participants to enrol
151
23 extra to cover dropout

Dividing by (1 − dropout) gives 151. Simply adding 15% gives 148, which is too few because dropout applies to the enrolled number, not to the evaluable one.

DropoutEnrolExtra
5%135+7
10%143+15
15%151+23
20%160+32
25%171+43
30%183+55

Planning aid: confirm your final sample size with a statistician.

The short version

  • Enrol N / (1 - d), rounded up, where N is the evaluable number you need and d is the expected dropout proportion.
  • Multiplying by (1 + d) under-enrols. For N = 200 and 20% dropout it gives 240; 20% of 240 leaves only 192, short of 200.
  • The adjustment grows faster than the dropout rate: from 5% to 30% dropout the enrolment inflation rises from about 5% to about 43%.
  • Dropout adjustment protects power. It does not fix bias if people leave for reasons linked to treatment or outcome.
  • Start from the evaluable number given by your sample size calculation, not from a number that already includes an allowance.

The formula

Why the formula divides by retention

A sample size calculation tells you how many participants must contribute data to the primary analysis. Not everyone who is enrolled will. Some withdraw consent, move away, stop attending visits, are lost to follow-up, or have to be excluded because of a protocol deviation. If you expect a proportion d of your enrolled participants not to reach the analysis, then a proportion (1 - d) will. To end up with N evaluable participants you need enrolled participants E such that E x (1 - d) is at least N.

Solving for E gives E = N / (1 - d), rounded up to the next whole participant because you cannot enrol a fraction of a person. This is the formula the calculator uses. With N = 200 and d = 20%, E = 200 / 0.80 = 250. Check it: 20% of 250 is 50 who drop out, leaving exactly 200.

The shortcut that many people use, N x (1 + d), gives 240 for the same inputs. After 20% of 240 drop out (48 people), 192 remain, which is below the 200 the power calculation required. The shortcut always under-enrols, and the shortfall grows with the dropout rate. At 30% dropout, N = 200 would need 286 enrolled but the shortcut gives only 260. If you are reading a protocol that justifies its enrolment number this way, ask the statistician whether it was intended.

Worked example with the table

For 200 evaluable participants the table below shows the enrolment needed at each dropout rate. Notice that the cost of being wrong is not symmetrical: if you plan for 10% dropout (223 enrolled) and 25% leave, you finish with about 167 evaluable participants and a study that is underpowered by roughly a sixth of its intended sample.

Reference table

Enrolment needed for 200 evaluable participants

Calculated as ceil(200 / (1 - d)). The calculator produces this table for whatever N you enter.

Expected dropoutEnrolExtra versus 200Extra as % of 200
5%211115.5%
10%2232311.5%
15%2363618%
20%2505025%
25%2676733.5%
30%2868643%

The shortcut N x (1 + d) would give 210, 220, 230, 240, 250 and 260 for the same rows, all below what is needed.

Choosing the dropout rate

Where a realistic dropout number comes from

The formula is easy. The hard part is the number you put into it. Good sources are, in order of usefulness, your own pilot or earlier studies, published trials with a similar population, duration and visit burden, and registry or real-world data on adherence in your condition. Treat the figure as an assumption with a range, and look at the table to see how sensitive your enrolment is to it.

Several design features move dropout. Longer follow-up and more visits increase it. Burdensome procedures, such as repeated biopsies or imaging, increase it. Placebo arms in symptomatic conditions often lose more people when symptoms persist. Remote visits and short ePRO forms completed on a phone tend to reduce the burden, and early warning of missed visits lets sites act before a participant is lost. See patient diary software for the diary side of retention.

Separate dropout types if you can. People lost before randomization do not count against the evaluable set at all, so use the dropout rate that applies after randomization when your calculation is per randomized participant. Dropout due to treatment failure or adverse events may be handled in the analysis plan rather than treated as missing, and a statistician may define the analysis population differently from simple completers. The calculator assumes one overall dropout proportion applied equally to all arms.

Beyond the formula

Enrolling more is the expensive way to handle dropout

Inflating enrolment protects power on paper, but every extra participant costs screening, visits, monitoring and data cleaning. For a study with 200 evaluable participants and 20% expected dropout you pay for 50 extra participants. If a better retention plan cut dropout to 10%, you would need to enrol only 223, saving 27 participants. Put both numbers in the cost-per-patient calculator and compare: a retention programme often pays for itself.

Practical retention measures are mostly unglamorous. Keep visits short and combine procedures. Offer flexible visit times and reimburse travel. Collect questionnaires on the participant's own phone, with a link that opens directly and a reminder before the window closes. Watch missed visits in real time, so the site calls the participant the same week, not at the next monitoring visit. In Capture, real-time dashboards show enrolment and activity by site, and ePRO reminders go out by email or SMS. Record the reason whenever someone stops, in a structured field, because next time your dropout assumption will come from that data. If you are planning a small study, where each lost participant is a larger share of the total, see EDC for small clinical studies and the sample size calculator to check the power you are protecting.

Track enrolment and dropout against your target

Set up the study in the free sandbox, add participants and watch status by site. No credit card. You pay only when you go live.

Plan the study in the free sandbox

Assumptions and limits

When this calculator is enough, and when to involve a statistician

The calculator assumes a single, constant dropout proportion, applied equally in every arm, and that dropout is unrelated to outcome (missing completely at random). It does not account for unequal dropout between arms, dropout that depends on treatment response, time-to-event designs with staggered entry and censoring, cluster designs, or multiple imputation and mixed-model approaches that use partial data from people who leave. For time-to-event outcomes, see the survival analysis sample size calculator, which works with events rather than completers.

Ask a biostatistician when dropout is large (say above 20%), when it differs between arms, when your primary analysis will keep partial data from dropouts, when you have interim analyses, or when the protocol will be reviewed by a regulator. A statistician can also tell you whether an estimand framework changes what counts as an evaluable participant, for instance if treatment discontinuation is handled by a policy rather than by exclusion.

This is a demonstration and planning aid, not validated software. Share the inputs, not just the output, with the person who signs off the statistical analysis plan. For the underlying concept, see the glossary entry on sample size calculation.

Before you finalise

Checks for your enrolment target

Start from evaluable N

Use the number from the power calculation, with no allowance already added.

Dropout source stated

Pilot, similar trial or registry, written in the protocol.

Sensitivity checked

Look at the row above and below your assumed rate.

Evaluable defined

Analysis population defined in the SAP, not only "completers".

Retention plan

Visit burden, reminders and site follow-up for missed visits.

Statistician sign-off

Needed before the protocol is submitted.

FAQ

Questions teams ask before they switch

Something not covered here? Ask us directly.

Why not just add the dropout percentage to the sample size?

Because the dropout percentage applies to the enrolled number, not to the evaluable number. Adding 20% to 200 gives 240, but 20% of 240 leaves 192. Dividing by retention, 200 / 0.80 = 250, gives exactly 200 left.

Should I round up or down?

Always up. You cannot enrol a fraction of a participant and rounding down leaves you below the evaluable number you need.

What dropout rate should I assume?

Use a pilot, an earlier study or published trials with a similar population, duration and visit burden. Show the table and consider a range, because the result is sensitive to the assumption.

Does dropout adjustment fix biased results?

No. It restores the number of participants and therefore power, but it does not remove bias if people leave for reasons related to treatment or outcome. That needs design and analysis choices from a statistician.

Can I use this for time-to-event outcomes?

Not directly. Survival designs plan around the number of events and use censoring, so use the survival sample size calculator and discuss follow-up and dropout with a statistician.

Is the calculator free and private?

Yes. It runs in your browser, needs no sign-up, and nothing you enter is saved or sent anywhere. It is a planning aid, not validated software.

Plan the enrolment, then build the study

Free sandbox with every feature. No credit card. You pay only when you go live.

Plan the study in the free sandbox