Calculate the number of participants your study needs. Supports t-tests, ANOVA, chi-square, correlation, regression, two proportions, and animal studies. No install, no account required.
Loading calculator...
The effect size you enter is the single most consequential input in a power analysis. It determines your required sample size more than any other parameter. Choosing "medium" by default is tempting but rarely defensible.
| Test | Metric | Small | Medium | Large |
|---|---|---|---|---|
| t-tests | Cohen's d | 0.2 | 0.5 | 0.8 |
| ANOVA | Cohen's f | 0.10 | 0.25 | 0.40 |
| Chi-square | Cohen's w | 0.10 | 0.30 | 0.50 |
| Correlation | r | 0.10 | 0.30 | 0.50 |
| Regression | f2 | 0.02 | 0.15 | 0.35 |
Remember: these benchmarks describe what Cohen observed across the behavioral sciences in the 1960s. Your field may be different. An effect of d = 0.2 might be negligible in one context and transformative in another.
References: Cohen, J. (1988). Statistical Power Analysis for the Behavioral Sciences (2nd ed.). Lakens, D. (2022). Sample size justification. Collabra: Psychology, 8(1).
Need help choosing? Read our guide to understanding effect sizes for worked examples across different study designs.
Post-hoc power (also called observed power or retrospective power) computes "the power your study had" using the observed effect size after data collection. It sounds useful but is mathematically uninformative.
Post-hoc power is a one-to-one function of the p-value. When your p-value is non-significant (p > 0.05), post-hoc power is always less than 50%. When your p-value is significant, post-hoc power is always greater than 50%. It cannot tell you anything the p-value doesn't already tell you.
As Hoenig and Heisey (2001) demonstrated, observed power calculated from the study's own data is essentially a transformation of the test statistic. Gelman (2019) was more blunt, calling post-hoc power calculations uninformative for the same reason.
If your study produced a non-significant result and you want to understand whether you lacked power:
This calculator supports sensitivity analysis mode — switch to it using the analysis mode toggle to determine the minimum detectable effect for your sample size.
References: Hoenig, J. M., & Heisey, D. M. (2001). The abuse of power: The pervasive fallacy of power calculations for data analysis. The American Statistician, 55(1), 19–24. Gelman, A. (2019). Don't calculate post-hoc power using observed estimate of effect size. Annals of Surgery, 269(1).
Grant applications, ethics reviews, and journal submissions expect a clear power analysis in your methods section. Here is what to include and how to format it.
For a two-group comparison:
"An a priori power analysis was conducted using [software] to determine the required sample size for an independent-samples t-test. With an expected effect size of d = [value] (based on [justification]), significance level of α = .05 (two-tailed), and power = .80, the required sample size was n = [value] per group (N = [total]). Accounting for an expected attrition rate of [X]%, we plan to recruit [adjusted N] participants."
For ANOVA:
"A power analysis using [software] indicated that to detect a medium effect (f = [value]) in a one-way ANOVA with [k] groups, α = .05, and power = .80, a minimum of n = [value] per group (N = [total]) would be required."
Use the Copy APA snippet button in the results to get a pre-formatted methods paragraph you can paste directly into your manuscript. For help reporting your ANOVA results, see our guide to reporting ANOVA results in APA format.
Animal research presents unique challenges for power analysis. Ethics committees (IACUCs) require justification that you are using the minimum number of animals necessary to achieve scientifically valid results while minimizing animal use — the "reduction" principle of the 3Rs (Replace, Reduce, Refine).
When effect size estimates are unavailable or unreliable (common in early-stage animal research), the resource equation method provides a practical alternative to traditional power analysis. It uses the error degrees of freedom (E) of the planned ANOVA design:
For example, with 4 treatment groups, you need 14–24 total animals (3.5–6 per group, typically rounded to 4–6).
| Method | Best for | Requirements |
|---|---|---|
| Traditional power analysis | Studies with prior effect size estimates | Effect size, alpha, power |
| Resource equation | Exploratory studies, novel endpoints, no prior data | Number of groups only |
| Pilot study | Generating effect size estimates for the definitive study | Minimum viable sample |
This calculator supports the resource equation method — select "Animal study (resource equation)" in the test selection flowchart to calculate the recommended range of animals per group.
Reference: Mead, R. (1988). The Design of Experiments. Cambridge University Press. Festing, M. F. W., & Altman, D. G. (2002). Guidelines for the design and statistical analysis of experiments using laboratory animals. ILAR Journal, 43(4), 244–258.
This calculator supports sample size and power calculations for nine statistical methods. Each method addresses a different research question.
| Test | Use when | Effect size metric |
|---|---|---|
| Independent t-test | Comparing the means of two separate groups (e.g., treatment vs. control) | Cohen's d |
| Paired t-test | Comparing two measurements from the same subjects (e.g., before vs. after) | Cohen's d |
| One-sample t-test | Comparing a sample mean to a known population value | Cohen's d |
| One-way ANOVA | Comparing means across three or more groups | Cohen's f |
| Chi-square test | Testing association between two categorical variables | Cohen's w |
| Pearson correlation | Testing whether two continuous variables are linearly related | r |
| Multiple regression | Testing whether a set of predictors explains variation in an outcome | f2 |
| Two proportions | Comparing success/failure rates between two groups | Arcsine-transformed difference |
| Animal study (resource equation) | Planning animal experiments when effect size is unknown | Error degrees of freedom (E) |
Not sure which test to use? Our guide to choosing a statistical test walks through the decision based on your research question and data type.