ToolsConductScience tool
Statistical PlanningFree in-browser calculator

Sample Size & Power Calculator.

Calculate sample size for t-tests, ANOVA, and proportion comparisons. Compute statistical power and generate power curves.

PrivateData stays in your browser
LiveNo sign-up required
Validated2026-04-05
CitableMethods and citation included

Calculator

Results update in place

When to use

  • Determine required sample size before starting a study (prospective power analysis)
  • Compare statistical power across different design choices (e.g., paired vs. independent samples)
  • Evaluate whether a published study was adequately powered (retrospective power analysis)
  • Generate power curves to visualize how sample size affects detection probability
  • Justify sample size in grant applications, IRB protocols, and pre-registration documents

Do not use for

  • As a post-hoc power analysis on your own completed study — observed power adds no information beyond the p-value
  • When you cannot specify a plausible effect size — garbage in, garbage out
  • For complex designs (repeated measures, mixed models, clustered data) that require simulation-based power analysis

Use the smallest clinically meaningful effect, not the expected effect

Power your study to detect the smallest effect that would change practice or conclusions. Powering for the expected effect risks being unable to detect a real but smaller effect.

Account for attrition in your final sample size

The calculator gives the number of analyzable observations needed. If you expect 20% dropout, recruit n / 0.80 participants. Always report both the calculated and enrolled sample sizes.

Two-sided vs. one-sided tests

This calculator uses two-sided tests by default, which is the standard for most research. One-sided tests require smaller samples but are only appropriate when the direction of the effect is known with certainty before data collection.

Cohen’s d conventions are guidelines, not rules

An effect of d = 0.2 can require 400 participants per group. Before defaulting to "medium effect," review the literature in your specific domain. Many real-world effects are smaller than d = 0.5.

1

Method

Normal approximation to sample size formulas using z-quantiles (Acklam’s rational approximation for the inverse normal CDF). Two-sample t-test: n = 2((z_{α/2} + z_β)/d)². Paired t-test: n = ((z_{α/2} + z_β)/d)². Proportions test: Fleiss’s continuity-free formula. These are normal approximations that match exact solutions within 1–2 subjects for practical sample sizes.

2

Validated

Last validated 2026-04-05. Calculations are designed for planning and documentation support; verify procurement decisions against manufacturer specifications or institutional SOPs.

3

How to cite

How to Cite

ConductScience Sample Size & Power Calculator (v1.0). ConductScience, Inc. 2026. Available at: https://conductscience.com/tools/sample-size-calculator

Cohen J. Statistical Power Analysis for the Behavioral Sciences. 2nd ed. Lawrence Erlbaum Associates; 1988.

Faul F, Erdfelder E, Lang AG, Buchner A. G*Power 3: A flexible statistical power analysis program. Behav Res Methods. 2007;39(2):175–191.

Power Analysis Fundamentals

Statistical power analysis links four quantities:

α (alpha) — significance level (Type I error rate), typically 0.05 • 1–β (power) — probability of detecting a true effect, typically 0.80 • Effect size — magnitude of the difference you want to detect • n (sample size) — number of observations per group

Given any three of these, the fourth can be computed. The most common use is to fix α\alpha, power, and effect size, then solve for the required sample size. This is a *prospective* (a priori) power analysis and should be done before data collection begins.

For a two-sample t-test, the formula is:

n = 2 ×\times ((z_{α/2} + z_β) / d)²

where d is Cohen’s d (standardized mean difference), z_{α/2} is the critical value for the two-sided significance level, and z_β is the z-value corresponding to the desired power.

Choosing Effect Sizes

The effect size is the most difficult and most important input to a power analysis. Three approaches:

Pilot data: Estimate from a small preliminary study. Be cautious — pilot studies typically overestimate effects. • Literature review: Use effect sizes reported in similar published studies. Prefer meta-analyses over individual studies. • Clinical significance: Define the smallest effect that would be practically meaningful. This is often the best approach for clinical trials.

Cohen’s conventions (small = 0.2, medium = 0.5, large = 0.8) should be used only as a last resort. A “medium” effect in one field may be unrealistically large in another. When in doubt, power for a smaller effect — the cost of over-sampling is usually less than the cost of an inconclusive study.

Frequently asked

325
Free tools
1,200+
Institutions
100%
Client-side
0
Uploads required