Start with the required analyzable sample
The input “required complete cases” is the number of participants or units the analysis needs after expected loss. It should come from the study’s design, outcome, precision or power target, and prespecified analysis—not from the attrition tool itself. The second input is the expected attrition percentage over the relevant follow-up period.
Attrition can mean withdrawal, loss to follow-up, unusable records, or another planned exclusion, but the study team must define the term. The simple adjustment treats the specified percentage as an average loss from the initial recruited group. It does not model when people leave or whether loss differs by treatment or outcome.
Apply the inflation formula
If C complete observations are required and r is the attrition fraction, the unrounded recruitment target is C ÷ (1−r). When r is entered as a percentage q, use C ÷ (1−q/100). The calculator rounds that target up to the next whole participant so the plan does not fall short solely because a fraction cannot be enrolled.
The adjustment is not the same as adding the attrition percentage to C. For a 20% loss, dividing by 0.80 is necessary because the loss applies to the larger recruited group. Multiplying C by 1.20 would recruit too few to retain C after 20% attrition.
Enter a realistic loss assumption
Enter a positive whole number of required complete cases and an expected attrition rate from zero up to, but not including, 100%. A zero rate leaves the target unchanged. As the rate approaches 100%, the required recruitment count grows rapidly; values near that boundary signal that the follow-up design or assumptions may need review.
Use a rate supported by comparable studies, pilot information, or operational experience, and consider more than one scenario when uncertainty is material. Different follow-up durations and participant populations can produce different loss rates. The calculator does not validate a rate against evidence or account for replacements.
Interpret the rounded recruitment target
The result is the number to recruit under the stated average-loss assumption. The value before rounding can be fractional, but the recruitment target is an integer rounded upward. For practical allocation, site capacity, group balance, stratification, or cluster design may require additional adjustments that are outside this two-input calculation.
The actual final sample can still fall below the desired complete-case count. Attrition is uncertain, and losses may be uneven. Monitor enrollment and retention, predefine how missing data will be handled, and avoid treating the calculated target as a guarantee of adequate power after withdrawals.
Do not replace study design with inflation
The formula adjusts a sample size that has already been justified. It does not calculate power, confidence-interval precision, an effect size, or the number needed for a complex design. Clustered observations, repeated measures, unequal allocation, expected nonresponse at more than one stage, and subgroup goals may require design-specific calculations.
For medical or other regulated research, follow the protocol, ethics review, and reporting standards. Document the source of the attrition assumption and the target after rounding. If the expected rate changes, recalculate before recruitment decisions rather than changing the original analysis goal after observing losses.
Worked examples
The target is rounded upward after division by the expected retention fraction.
Plan for one-fifth expected loss
Inputs: Required complete cases = 250; expected attrition = 20%.
Calculation: Unrounded recruitment target = 250 ÷ (1 − 0.20) = 312.5; rounded target = ceil(312.5) = 313 participants.
Recruiting 313 leaves an expected 250.4 completers at 20% average loss, just above the required 250; actual retention will vary.
A larger study with lower expected loss
Inputs: Required complete cases = 420; expected attrition = 15%.
Calculation: Unrounded recruitment target = 420 ÷ (1 − 0.15) = 494.1176; rounded target = ceil(494.1176) = 495 participants.
The rounded target reflects the anticipated average loss only. It does not add allowances for site imbalance, design effects, or uncertain follow-up.