Sample size with power analysis
Why 80% power, how to justify the effect size, and how many people each analysis needs.
It is an awkward moment at a proposal review when someone asks:
"So why that sample size?"
"That's about what people usually use…" is not much of an answer, and installing G*Power and clicking around often stalls at not knowing which values to enter. Here is how to set a sample size with power analysis, step by step from the start.
What power analysis is
Power analysis works out how many people you need so that a real effect is not missed. Four values are tied together, so fix three and the fourth follows.
| Value | Meaning |
|---|---|
| Significance level α | Chance of claiming an effect that is not there (usually .05) |
| Power 1 − β | Chance of finding an effect that is there (usually .80) |
| Effect size | Size of the difference or relationship you want to detect |
| Sample size n | Computed once the other three are set |
Why 80%?
Power of .80 means you can still miss a real effect 20% of the time. That 20% is the Type II error, β.
It is a convention proposed by Cohen: it tolerates misses (β = 20%) a little more than false positives (α = 5%) in exchange for a realistic sample. Studies that must not miss an effect sometimes raise it to .90, at the cost of more participants.
How to choose the effect size
The effect size is the most important and the hardest value in a power analysis, because the whole calculation rests on it.
- An effect size reported in prior studies
- A value from a pilot study
- The smallest difference that matters in practice
Fall back on Cohen's conventions only when there is truly no basis.
| Analysis (index) | Small | Medium | Large |
|---|---|---|---|
| t-test (d) | 0.2 | 0.5 | 0.8 |
| ANOVA (f) | 0.10 | 0.25 | 0.40 |
| Correlation (r) | 0.1 | 0.3 | 0.5 |
| Chi-square (w) | 0.1 | 0.3 | 0.5 |
An example
Say you compare correct answers on a concentration task between students who studied with music and students who studied in silence.
- Analysis — independent-samples t-test (two-sided)
- Effect size — d = 0.5, based on prior studies
- Significance level — α = .05
- Power — .80
With these inputs you need 64 per group, 128 in total. The computed 63.77 is always rounded up. Allowing for 10% dropout, set a recruitment target of 141.
Different analyses need different numbers
Even for the same "medium effect", the number you need depends on the analysis. (α = .05, power .80)
| Analysis | Effect size | Needed |
|---|---|---|
| Independent-samples t-test | d = 0.5 | 64 per group (128 total) |
| Paired-samples t-test | d = 0.5 | 34 pairs |
| One-way ANOVA (3 groups) | f = 0.25 | 53 per group (159 total) |
| Correlation | r = 0.3 | 85 |
| Chi-square test (df 2) | w = 0.3 | 108 |
Measuring the same people twice, the paired design gets by with far fewer participants.
Small effects need much bigger samples
| Effect size | Needed per group |
|---|---|
| d = 0.8 | 26 |
| d = 0.5 | 64 |
| d = 0.3 | 176 |
| d = 0.2 | 394 |
Halve the effect size and the sample grows about fourfold. That is why it is safer to plan with a conservative (smaller) effect size.
A priori vs post-hoc power
An a priori power analysis sets the sample size before data collection, and it is the standard method to report in a thesis.
By contrast, post-hoc power — "after a non-significant result, we computed power from the observed effect and it was low" — is considered meaningless. It is just the p-value expressed differently, so a large p always comes with low power. (At p = .05, post-hoc power is always about 50%.)
So once a study is done, report the effect size and its confidence interval instead, or state "the smallest effect this sample could have detected".
How to write it up
The required sample size was determined by power analysis. Assuming an effect size of d = 0.50 based on prior studies, α = .05 (two-sided) and power of .80, an independent-samples t-test required 64 participants per group (128 in total); allowing for 10% attrition, 141 participants were recruited.
Example sentence · the numbers are illustrative
Always state where the effect size comes from (which prior study). It is the first thing reviewers ask.
In Skari
In Skari's statistics workspace, Exploration → Power Analysis runs the calculation right in the browser, with no G*Power to install.
First pick the test. There are seven: one-sample, independent-samples and paired-samples t-tests, one-way ANOVA, correlation, two-proportion test and chi-square test. Then choose what to solve for — sample size, effect size, significance level or power — and enter the other three.

The report opens with the statistically required sample and the recruitment target with 10% attrition. It also says how far power drops if the true effect is smaller than assumed: in the example, if d were 0.375 (three quarters of the assumption), power would fall to 55.6%.

Size your own study
Opens Exploration → Power Analysis
The required n for each effect size and the power at each sample size are laid out in tables.

In Exploration Simulation → Design Exploration, drag the sample size slider and switch the effect size and significance level to see how power changes right away.

Download the report as Word and the tables as Excel, ready for your proposal.
Wrapping up
The heart of power analysis is choosing an effect size you can justify and calculating before you collect data. If you can say "64 per group, for d = 0.5 and power .80" instead of "that's what people usually use", review questions get much less scary.
Want the theory behind it?The Academy's Statistical Errors and Power chapter covers Type I and II errors and effect sizes in depth →