Sample Size Calculators

Choose a calculator to determine the required sample size for your study.

Two-Sample T-Test

PopularFree

Compare means between two independent groups with equal or unequal variances.

Comparing Means

Two Proportions (Chi-Square)

PopularFree

Compare proportions between two independent groups using chi-square or Fisher's exact test.

Comparing Proportions

Paired T-Test

Free

Compare paired or matched observations (before/after, crossover first period).

Comparing Means

One-Sample Proportion

Free

Test a single proportion against a known or hypothesized value.

Comparing Proportions

Log-Rank Test (Survival)

PopularFree

Compare survival curves between two groups using Schoenfeld or Freedman methods.

Survival Analysis

Non-Inferiority (Means)

PopularPro

Demonstrate that a new treatment is not worse than standard by a pre-specified margin.

Equivalence & Non-Inferiority

Non-Inferiority (Proportions)

Pro

Non-inferiority test for binary outcomes using Farrington-Manning method.

Equivalence & Non-Inferiority

One-Way ANOVA

Pro

Compare means across three or more independent groups using F-test.

Comparing Means

Correlation (Pearson)

Pro

Test whether a correlation coefficient is significantly different from zero or another value.

Comparing Means

Cluster Randomized Trial

PopularPro

Account for intracluster correlation in group-randomized designs (schools, clinics).

Complex Designs

2×2 Crossover Design

Pro

Two-period crossover where each subject receives both treatments sequentially.

Complex Designs

McNemar's Test

Pro

Compare paired proportions (matched case-control, before/after binary outcomes).

Comparing Proportions