Sample Size Calculators

Plan sample size for medical and health research. Browse by statistical question or study design below.

For education and preliminary planning. Review assumptions and results with a statistician before use in a study protocol.

Need help choosing a calculator?

Answer three questions about your research objective, outcome, and study design.

Find the right calculator

Browse calculators

Select a category to view calculators by statistical question or study design.

Outcomes & General Statistical Methods Browse by outcome type or general statistical analysis approach. 56 calculators

Continuous Outcomes & Means

9 calculators

Estimate a population mean within a specified margin of error.

Compare two related measurements, such as before-and-after values.

Compare means across more than two independent groups.

Plan a balanced study to test between-subject, within-subject, or group-by-measurement effects using univariate repeated-measures ANOVA.

Use for a two-arm trial with one baseline measurement and one primary follow-up, analysed using ANCOVA adjusted for baseline.

Binary Outcomes & Proportions

7 calculators

Distribution-Free / Non-parametric Methods

5 calculators

Plan approximate confidence-interval precision for one continuous population median.

Correlation

5 calculators

Regression

8 calculators

Reliability & Agreement

6 calculators

Estimate intraclass correlation reliability with desired confidence-interval width.

Diagnostic Accuracy

10 calculators

Estimate one ROC area under the curve with equal reference-standard-positive and reference-standard-negative groups.

Test whether a diagnostic test's anticipated ROC AUC is better than a prespecified minimum acceptable benchmark.

Estimate a diagnostic test's positive or negative likelihood ratio with a prespecified clinically acceptable confidence bound.

Time-to-Event & Survival

6 calculators
Clinical Trial Designs Browse calculators organized around the trial's randomization and treatment structure. 19 calculators

Parallel-Group Trials

6 calculators

Cluster-Randomized Trials

6 calculators

Crossover Trials

6 calculators

Pilot & Feasibility Studies

1 calculator
Longitudinal & Repeated-Measures Methods Browse model-based approaches for correlated outcomes collected over time. 15 calculators

General Repeated-Measures Designs

These general repeated-measures calculators are catalogued under Continuous Outcomes & Means and are linked here to help users compare approaches without duplicating their cards.

Linear Mixed Models

4 calculators

MMRM

4 calculators

Generalized Estimating Equations

7 calculators