Premium Writing, Design & Advisory · Dubai, UAE

How to plan sample size with an a priori G*Power analysis

An a priori G*Power analysis estimates the sample needed for a specified test, effect size, significance level and desired power. Start with the outcome and analysis you intend to use. Justify the inputs, check how uncertainty changes the result and distinguish the analysable sample from the number you need to recruit.

Two equal stacks of white cards beside a drafting divider and a notebook
  • Match the test and experimental unit to the design before choosing a G*Power menu.
  • Base the target effect on a meaningful difference and a defensible measure of variability.
  • Repeat the calculation for realistic alternatives and preserve the settings.

Start with the primary analysis and unit of observation

Write the primary comparison in the language of your protocol. Include who will be compared, the outcome, when it will be measured and the planned model. For a study that measures independent groups once, one person may contribute one analysable observation. Paired observations come from a different design, and participants within the same class or clinic may share features. A sample-size calculation that counts them as independent can give a misleading result.

Find the G*Power option that matches the planned test. A covariance-adjusted model, a comparison of proportions and a two-group comparison of means require different assumptions. Even when the same outcome appears in two models, the required inputs can change. If the intended model is unavailable or the design is more complex, use an appropriate planning method or simulation with a documented rationale. The official G*Power documentation describes its supported test families.

Define the role of each input. The significance level controls the stated false-positive probability under the null and the test assumptions. Power is the probability of rejecting the null under a specified alternative and assumed design. It does not describe the chance that your study hypothesis is true. An allocation ratio of one specifies equal group sizes. Write down how those quantities relate to the question before entering them.

Justify the assumed effect before pressing Calculate

Use the original units where possible. A difference that matters to a decision is easier to explain in those units than as an unexplained standardised value. Show where the estimated variability comes from and whether it reflects the intended measure, population and follow-up. When using previous studies, consider uncertainty and whether their settings are comparable. An estimate from a small pilot might be more helpful for understanding measurement and recruitment than for selecting a single precise effect value.

Distinguish a smallest worthwhile difference from an optimistic prior estimate. A result that is large enough to interest you may still be unlikely or difficult to measure. Show how the conclusion changes if the assumptions differ. If a prior study reports a standardised effect, check the denominator and analysis it used before transferring the value. A paired standardised difference and a standardised difference between independent groups need different inputs.

Work through one independent-groups design

Suppose a fictional study will compare a continuous score between two independent groups of equal size. The researcher decides in advance that a three-point difference would be meaningful and uses a plausible within-group standard deviation of six points. Their planning effect size is therefore Cohen’s d = 3 ÷ 6 = 0.50. Both values are hypothetical. In a real study, justify the smallest effect worth detecting and the expected variability with appropriate evidence for the population, outcome and context.

In G*Power, choose the t tests family, then Means: Difference between two independent means (two groups). Select the A priori calculation, set the test to two tails, enter d = 0.50, α = 0.05, desired power = 0.80 and allocation ratio = 1. This setup assumes a conventional pooled-variance two-sample t test and independent observations. If the planned analysis uses clustering, repeated measurements, a different test or an unequal allocation, revisit the calculation rather than carrying the number over unchanged. Official G*Power documentation · Faul and colleagues’ original paper.

The minimum balanced analysable sample is 128, with 64 in each group. Power at that size is approximately 0.8015 under the stated assumptions. With 63 per group, it is approximately 0.7952. Record both the minimum and the achieved power after rounding. If you expect 10% of recruited participants per group to lack analysable data, 64 ÷ 0.90 rounds up to 72 recruits per group, for a total target of 144. Treat this as a planning allowance. Check whether missingness could differ between the groups or require a different analysis.

Assumed standardised differenceMinimum analysable participants per groupTotal analysable sample
0.40100200
0.5064128
0.604590

A table like this shows how sensitive the recruitment requirement is to assumptions. Use a defensible range. If a smaller effect would be important but the sample is infeasible, explain the trade-off. Consider whether a more precise measure, a different design or a narrower primary question could help. Avoid choosing a larger effect solely to reduce the recruitment target.

Adapt the planning result to your actual recruitment constraints

Round group sizes to whole numbers before deriving the recruitment target. Keep the planned allocation visible if the groups cost different amounts to recruit. Where you expect unequal loss to follow-up, consider more than one scenario. Equal proportional inflation is an illustration and does not correct bias caused by a selective pattern of missingness. Explain whether the analysis will use incomplete records and what the assumptions are.

Count units at the level used in the calculation. A trial recruiting by classroom may need a sufficient number of classrooms as well as students. If measurements are collected repeatedly, determine whether the design and covariance among repeated measurements enter the planned procedure. Check whether the method depends on an assumed correlation or randomness in cluster sizes. When power is driven by a parameter your evidence cannot fix, make the range and consequences explicit.

If the design cannot recruit the planned number, revisit the decision openly. Reducing the outcome variance through a more precise measure might help, provided the measure still answers the question. Narrowing the question or adopting an estimation objective may also be appropriate. A feasibility study can provide evidence about process or measurement without promising a definitive test of an effect. Discuss the trade-offs with your supervisor or methods adviser before collecting the data.

Settings for other common dissertation analyses

Keep the analysis type set to a priori when you are planning sample size from a target effect, α and power. Change the test family and statistical test to match the primary hypothesis. The G*Power manual explains how each test defines its effect-size input.

G*Power settings for four common analyses
Primary analysisTest family and optionEffect-size input
Overall multiple regressionF tests → Linear multiple regression: Fixed model, R² deviation from zerof² for the full model
One-way ANOVAF tests → ANOVA: Fixed effects, omnibus, one-wayf, with the number of groups
Pearson correlationExact → Correlation: Bivariate normal modelPopulation correlation ρ under the alternative, with the null value and tails specified
Chi-square test for categorical frequenciesχ² tests → Goodness-of-fit tests: Contingency tablesw for the difference between the assumed null and alternative cell probabilities, with degrees of freedom specified

Suppose a researcher wants to test whether five predictor terms jointly explain variation in a continuous outcome. With α = 0.05, target power = 0.80 and f² = 0.15, the fixed-model omnibus calculation needs 92 analysable observations. Achieved power is approximately 0.804 at 92 and 0.799 at 91. The latter rounds to 0.80 at two decimal places but falls short of the target. For this overall test, f² = R²/(1 − R²). The illustrative f² of 0.15 corresponds to R² = 0.15/(1 + 0.15), approximately 0.130.

Count estimated predictor terms rather than column labels in your conceptual model. A categorical predictor represented by several indicator terms contributes more than one term. If the research question asks whether a new block improves prediction after baseline covariates, select the R² increase test and enter both the number of tested predictors and the total number of predictors. The omnibus calculation above cannot justify that incremental test.

The chosen f² is illustrative. A conventional “medium” value does not establish what your study needs to detect. Use a defensible smallest effect of interest, credible prior evidence or a sensitivity analysis across plausible values. State what changes in the decision if the required sample is unaffordable. Lakens’ guide to sample-size justification describes ways to connect that choice to the study’s purpose.

Write a methods paragraph someone can reproduce

Include the test family, exact test, tail choice, significance level, target power, effect size and its justification, and allocation ratio. State the software and version. Report the minimum analysable sample and the recruitment target separately, with any allowances and limitations. Store the input record with the protocol so the result can be recalculated. If your assumptions or primary test change, explain why and retain the earlier calculation.

Do not use the observed effect from the completed study to justify the original sample retrospectively. Instead, report the study’s estimates, intervals and actual design limitations. If your protocol specifies multiple primary comparisons, consider how error control changes the calculation. A single-test example should not be copied into a multiple-testing plan without adjustment.

Check the result against a second calculation

Re-enter the settings independently rather than starting with a screenshot of the answer. Check that both calculations refer to the same group sizes, significance level, variance assumption and statistical test. If one output gives the sample per group and the other gives the total, make the conversion explicit. Small differences near the threshold can come from rounding or from software that solves for a continuous sample size before rounding to an integer.

For the worked example, compare 63 and 64 participants per group. The target lies between their achieved powers, which explains the larger integer result. Repeat the check for alternative effect sizes and make sure you change only the intended input. If the calculation is being used to justify a funded or registered design, have another team member inspect the inputs and retain the reviewed version. A reproducible calculation helps reviewers distinguish a disagreement about the evidence behind an input from a disagreement about the arithmetic.

Common questions about a priori power

Is a sample-size calculation the same as a recruitment target?

The calculation usually refers to analysable units under stated assumptions. The recruitment target accounts for realistic losses, exclusions or incomplete observations. Show the arithmetic and consider whether those losses also affect interpretation.

Do I choose a one-tailed test to reduce the sample size?

Choose the tail based on the scientific question and defensible decision rules before seeing data. If a difference in either direction would matter, a two-tailed test may reflect the question better. A smaller required sample is not by itself a methodological reason.

What if I cannot justify the expected effect size?

Show a range grounded in available evidence and meaningful differences, and state what remains uncertain. If the feasible sample is fixed, a sensitivity analysis can show what effects the design could detect under stated assumptions.

For feedback on your own design and power assumptions, see research data analysis support or contact Labeeb through WhatsApp or direct enquiry. The researcher remains the author and is responsible for all analysis and claims.

Sources

Official G*Power documentation · Faul and colleagues’ original paper.

Talk to LabeebMon–Sat, 9 AM–9 PM Dubai time. Closed Sunday.