80% power is a social norm
The famous 0.80 power “standard” traces to Jacob Cohen’s 1988 book—not math necessity. Some fields now push for 0.90+ when stakes are high.
This scientific sample size calculator is a quick, practical guide for planning studies that compare two independent groups. It estimates how many observations you need in each group to reliably detect a meaningful difference in means. In other words, it helps you answer a common research question: "How many samples do I need for my study to have enough statistical power?"
The calculation is based on a two-sample mean test with equal group sizes and equal variances, using a standard normal approximation commonly taught in introductory statistics and power analysis. You specify the minimum difference you want to detect (Delta), an estimate of the standard deviation, your chosen significance level (alpha), and the desired power (1 minus beta). The calculator then returns the minimum sample size per group, along with helpful supporting values like Cohen's d and the Z-scores used in the formula.
Sample size planning is essential in scientific research, product testing, and A/B experiments because too few observations can miss real effects, while too many can waste time and resources. This calculator is useful for planning clinical trials, lab experiments, psychology studies, and quality control comparisons where two independent groups are analyzed.
Keep in mind that this is a simplified two-sample design. It assumes equal group sizes and equal variances, and it does not model paired designs or more complex ANOVA settings. For those cases, you would use a specialized power analysis tool. As a fast planning reference, though, it provides a reliable starting point for determining a reasonable sample size.
Yes. If you know d, set Δ = d × σ or set σ = 1 and enter Δ = d.
This calculator uses a two-tailed test (Z1−α/2). For a one-tailed test, replace Z1−α/2 with Z1−α.
No. All computations run locally in your browser.
The famous 0.80 power “standard” traces to Jacob Cohen’s 1988 book—not math necessity. Some fields now push for 0.90+ when stakes are high.
Doubling n does not halve your standard error—it shrinks by √2. Big gains come early; later gains are pricier.
A 2:1 allocation saves budget but bumps required totals. The effective sample size scales with the harmonic mean of group sizes.
Underpowered pilots tend to underestimate σ, making follow-up studies underpowered too. Add a cushion or use priors/meta-data.
Power ∝ (Δ/σ)2: halving SD or doubling Δ cuts required n roughly four-fold. Sometimes better measurement beats more participants.