A sample size calculation answers one question: how many participants do I need so that, if the effect I care about is real, my study has a good chance of detecting it? The calculation itself takes a minute. The work, and what examiners look at, is the justification of the numbers you put in.
1. The four inputs
| Input | Usual choice | What it means |
|---|---|---|
| Significance level (α) | 0.05, two-tailed | The accepted risk of a false positive. Use a one-tailed test only if a result in the other direction would genuinely not matter, and say so in a preregistration. |
| Power (1 − β) | 0.80, or 0.90 | The chance of detecting the effect if it is real. At 0.80, one real effect in five is missed. |
| Effect size | Justified from evidence (see section 2) | The smallest effect that matters, or the effect the literature supports. This input drives the result most. |
| Design and test | The test you will actually run | Two groups, a correlation and a regression need different calculations. |
How strongly the effect size drives the answer (two-tailed α = .05, power = .80):
| Design | Small effect | Medium effect | Large effect |
|---|---|---|---|
| Two independent groups (Cohen's d) | d = 0.2: 394 per group | d = 0.5: 64 per group | d = 0.8: 26 per group |
| Correlation (r) | r = 0.1: 782 | r = 0.3: 84 | r = 0.5: 29 |
Numbers are participants analysed, before adding for dropout. Values for groups follow the t-test calculation, values for correlations follow G*Power's exact bivariate-normal method.
2. Choosing the effect size
Use the first option that applies, and write down why:
- The smallest effect that would matter. If you can say which effect would be too small to be useful (for example, a change smaller than what patients notice), power the study for that. This is the strongest justification.
- A meta-analysis. Use the pooled estimate from the most relevant recent meta-analysis, ideally for your population and comparison. Published effects tend to be inflated by publication bias, so prefer an estimate adjusted for it, or plan for a somewhat smaller effect than the pooled one.
- Several similar studies. Take a conservative value, not the largest one.
- Cohen's conventions (0.2, 0.5, 0.8 for d; 0.1, 0.3, 0.5 for r). Use these only as a last resort; they were never meant as defaults for every field.
Avoid powering a study on a pilot study's effect size. Small pilots estimate effects very imprecisely, and their estimates are often too large. Use the pilot to test feasibility (recruitment, retention, procedures), not to set the effect.
Match the comparison. An effect against a waiting list is usually much larger than against an active control. If your study uses an active control, use an effect from studies with active controls.
3. G*Power settings for common designs
G*Power is free and widely accepted. Choose Type of power analysis: A priori, then:
Two independent groups (for example, intervention versus control)
- Test family: t tests, Statistical test: Means: Difference between two independent means (two groups)
- Tail(s): Two · Effect size d: your value · α err prob: 0.05 · Power: 0.80 · Allocation ratio N2/N1: 1
- Example: d = 0.5 gives 64 per group, 128 in total.
Before and after in the same people
- Test family: t tests, Statistical test: Means: Difference between two dependent means (matched pairs)
- The effect size here is dz, which depends on the correlation between the two time points, so it is not the same as d for two groups. With dz = 0.5 you need 34 participants.
- A single group measured twice cannot separate the effect of the intervention from time, practice or regression to the mean; add a control group if that matters for your question.
Correlation between two measures
- Test family: Exact, Statistical test: Correlation: Bivariate normal model
- Tail(s): Two · Correlation ρ H1: your expected r · Correlation ρ H0: 0 · α: 0.05 · Power: 0.80
- Example: r = 0.3 gives 84; r = 0.2 gives 193.
Multiple regression: does one predictor add beyond the others?
- Test family: F tests, Statistical test: Linear multiple regression: Fixed model, R² increase
- Effect size f²: your value (f² = R²change / (1 − R²full)) · Number of tested predictors: 1 · Total number of predictors: all predictors in the final model
- Example: f² = 0.02 (a small added effect) with one tested predictor needs about 395 participants. Small added effects need large samples, which is why "beyond the covariates" questions are demanding.
4. Dropout and clustering
Dropout. G*Power gives the number you need to analyse. Divide by the proportion you expect to keep: with 128 needed and 15% expected dropout, recruit 128 / 0.85 = 151. Base the dropout rate on similar studies in the same population.
Clustering. If participants are grouped (for example, classes, clinics or therapy groups) and you randomise or analyse by group, outcomes within a group are correlated. Multiply the sample size by the design effect, 1 + (m − 1) × ICC, where m is the average group size and ICC is the intraclass correlation. Even a small ICC with large groups can double the sample size.
5. When your sample is fixed
If you can only recruit a set number (for example, one cohort of 120 students), do not pretend the study was powered for a chosen effect. Run a sensitivity analysis instead: in G*Power choose Type of power analysis: Sensitivity, enter your N, α and power, and report the smallest effect your study can reliably detect. Then say honestly whether effects of that size are plausible for your question.
6. How to report it
Examiners look for every input and the reason for each. A complete statement looks like this:
"An a priori power analysis (G*Power 3.1) indicated that 128 participants (64 per group) were needed to detect a between-group difference of d = 0.50 with 80% power at a two-tailed α of .05. The effect size was based on the pooled estimate for active-control comparisons in [meta-analysis]. Allowing for 15% attrition, as observed in comparable online studies, we will recruit 151 participants."
Before you commit, confirm the calculation with your supervisor or a statistician, especially for complex designs (mixed models, mediation, multilevel data), where simulation is often a better approach than a formula.
Where Perquira helps
When Perquira proposes a study, it calculates the sample size from the evidence it has read, states the assumed effect and where it came from, adds dropout, and gives the G*Power settings so you can check it yourself. Like any planning estimate, it should be confirmed with a statistician.
Last updated 28 November 2026. Related guides: How to write a good research question · How to find a research gap.