← Back to resources
Interactive tool · Free

Sample Size Calculator

Quickly estimate the number of subjects needed for your clinical study — proportions, means, group comparisons and non-inferiority tests. Sourced formulas, transparent calculation.

FR — Lire en français →
Study type
Survey, prevalence — a single measurement on a sample (e.g. % of patients responding to a treatment).
Method
Cochran: standard formula, recommended by default — precise and widely recognized in research. Slovin: simplified formula, faster but implicitly assumes a 50% proportion and a confidence level near 95% with no configuration — reserve for a very preliminary estimate, and requires a known finite population.
Estimated proportion
Your best estimate before the study (pilot study, literature, or 50% by default if you have no prior idea — this is the most conservative scenario, requiring the largest sample size).
%
Margin of error
Desired precision for your result. 5% is a standard in surveys. The smaller the margin, the larger the required sample.
%
Confidence level (α)
Probability of not being wrong if you conclude there is an effect. 95% is the standard in clinical research. 99% is stricter (safety study), 90% is more permissive (exploratory study).
Total population size
Leave blank if the population is very large or unknown (infinite population assumption). Only fill in if you are studying a closed, countable group (e.g. all patients at a given hospital).
Dropout / attrition rate
Percentage of participants you expect to lose during the study (withdrawal, unusable data). Base this on similar prior studies — 10-15% is common in multi-month clinical trials.
%
Final size to recruit
participants

Sources and methodology

Formulas from Cochran, W.G. (1977), Sampling Techniques, and Chow, S.C., Shao, J., Wang, H. (2008), Sample Size Calculations in Clinical Research — the standard reference work in clinical and regulatory biostatistics.

Need biostatistical validation?

Aigesis supports the definition and validation of your statistical analysis plans.

Let's talk about your project →