Statistical Power Calculator
- For two groups of 64 with a standardised effect of d = 0.5, the noncentrality parameter is delta = d x sqrt(n / 2) = 2.828.
- At alpha = 0.05 (two-tailed) the critical value is z = 1.960; power is the chance the test statistic clears it when the effect is real.
- Power = 80.7%: out of 100 identical studies with this true effect, about 81 would reach significance.
- To reach the conventional 80% power at the same effect and alpha you would need 63 per group; power grows with the square root of n, so doubling the sample does not double the power.
This statistical power calculator tells you how likely a study is to detect an effect of a given size, so you can judge a design before you collect data. Enter the effect size, the sample size per group, and the alpha level, and the calculator returns the power as a percentage. The results track the standard benchmarks. A medium effect of d = 0.5 with 64 per group at alpha 0.05 two-tailed gives 80.7% power, the classic Cohen benchmark design, whose noncentrality parameter is delta = 2.828 against a critical z of 1.96. A large effect of d = 0.8 needs only 25 per group for eighty percent power, and 26 per group gives 82.2%. Small effects are harder: d = 0.2 at the strict alpha of 0.01 has just 12.3% power with 100 per group, and that design would need 584 per group to reach the conventional power target.
The method behind these numbers is the accepted standard for power calculations because it works directly with the noncentrality parameter, which shifts the sampling distribution under the alternative hypothesis away from the null. That shift is what the calculator measures against the critical value, so the result reflects the actual geometry of the test rather than a rough rule of thumb. It also explains why power grows with the square root of the sample size: quadrupling n only doubles the noncentrality parameter. This page shows the formula, step-by-step workings, worked examples and sources, so you can check every figure yourself and see exactly how each percentage was produced.
Worked examples
Medium effect, classic 64 per group
(0.5 · 0.05 · 64 · Two-tailed)
| Statistical power (two-sample z test) | 80.7% |
| Noncentrality parameter delta | 2.828 |
| Critical z at this alpha | 1.960 |
| n per group needed for 80% power | 63 |
Large effect, 26 per group
(0.8 · 0.05 · 26 · Two-tailed)
| Statistical power (two-sample z test) | 82.2% |
| Noncentrality parameter delta | 2.884 |
| Critical z at this alpha | 1.960 |
| n per group needed for 80% power | 25 |
Small effect at strict alpha
(0.2 · 0.01 · 100 · Two-tailed)
| Statistical power (two-sample z test) | 12.3% |
| Noncentrality parameter delta | 1.414 |
| Critical z at this alpha | 2.576 |
| n per group needed for 80% power | 584 |
How statistical power is calculated
A statistical power calculator does not simply look up a number in a table. It builds a quantity called the noncentrality parameter, usually written delta, and compares that quantity with the critical value that defines statistical significance. For a two-group comparison of means, the formula is delta = d times the square root of n divided by 2, where d is the standardized effect size and n is the sample size in each group. The larger delta is, the more the true effect distribution sits beyond the critical z, and the greater the power.
The classic Cohen benchmark shows how the pieces fit together. Take a medium effect of d = 0.5 with 64 per group, tested at alpha 0.05 two-tailed. The critical z for that test is 1.96. Plugging the numbers in gives delta = 0.5 times the square root of 64 divided by 2, which equals 2.828. Comparing delta = 2.828 against the critical z of 1.96 yields 80.7% power. That is the familiar benchmark design, and it is why 64 per group is often quoted as the sample size needed to detect a medium effect at conventional power.
The same machinery explains why effect size matters so much. A large effect of d = 0.8 needs only 25 per group to reach eighty percent power, and 26 per group raises power to 82.2%. A small effect of d = 0.2 is far harder to detect: at the strict alpha of 0.01, 100 per group gives just 12.3% power, and reaching the conventional power target would require 584 per group. The effect size enters the formula directly, so halving it cuts delta in half and pushes the required sample size up sharply.
Sample size enters through a square root, which makes the relationship easy to remember. Power grows with the square root of the sample size, so quadrupling n only doubles the noncentrality parameter. That is why moving from a large effect to a small one demands so many more participants: the gain from adding subjects is real but gradual, and each additional participant buys less power than the one before.
To check a design by hand, follow the same steps the calculator uses: state d, n per group, alpha, and whether the test is one- or two-tailed; compute delta = d times the square root of n divided by 2; find the critical z for your alpha; and read off how much of the effect distribution lies beyond that critical value. Every benchmark above follows this procedure exactly, which is why the results line up with the published figures.
Worked examples
A worked example makes the numbers behind a statistical power calculator easier to trust. Start with the classic Cohen benchmark: a medium effect of d = 0.5, 64 per group, and alpha 0.05 two-tailed. This design yields 80.7% power. The noncentrality parameter for it is delta = 2.828, measured against a critical z of 1.96. That pairing of delta and critical z is what the power calculation turns on, and it is why the benchmark design lands just above the eighty percent line rather than well past it.
Now change the effect size while holding the goal steady. A large effect of d = 0.8 needs only 25 per group to reach eighty percent power. Bump that to 26 per group and power rises to 82.2%. The contrast with the medium-effect case is the practical lesson: a bigger effect buys the same power with far fewer participants, and a single extra person per group can move the result by more than a percentage point when the sample is small.
The small-effect case shows the opposite side. A small effect of d = 0.2 at the strict alpha of 0.01 has just 12.3% power with 100 per group. That is far below any conventional target, and it means a real effect of that size would usually go undetected in a study of this size. To reach the conventional power target, that same small-effect design would need 584 per group. The gap between 100 and 584 per group is the price of chasing a small effect under a strict alpha.
These examples also show why sample size cannot be scaled up casually. Power grows with the square root of the sample size, so quadrupling n only doubles the noncentrality parameter. Going from 100 to 584 per group is a large increase in cost and effort, and the gain in power follows that square-root relationship rather than a straight line. Anyone using a statistical power calculator should expect diminishing returns as they add participants.
Read together, the three examples bracket the range most studies face. The medium benchmark sits at 80.7%, the large effect at 26 per group reaches 82.2%, and the small effect at alpha 0.01 with 100 per group falls to 12.3%. Each figure comes from the same underlying calculation, with effect size, alpha, and group size doing the work. Running your own numbers through the calculator follows the same logic: fix the effect you care about, pick your alpha, and let the tool report the power your design actually has.
Planning a study: solving for n
Planning works best when you run the calculation backward: instead of asking what power a fixed sample gives you, ask how many participants each group needs to reach your target. A statistical power calculator handles this directly, and the required-n output is the number to build your study around. The answers vary enormously with effect size. At alpha 0.05 two-tailed, a medium effect of d = 0.5 requires 63 per group to reach the conventional power target, a large effect of d = 0.8 requires only 25 per group, and a small effect of d = 0.2 at the strict alpha of 0.01 requires 584 per group. Those three numbers — 63, 25 and 584 — tell you more about the cost of your study than any single power figure.
The medium-effect case is worth dwelling on because it is the classic Cohen benchmark design. With 64 per group at alpha 0.05 two-tailed, power comes out to 80.7%, just over the usual target. The underlying noncentrality parameter is delta = 2.828 against a critical z of 1.96, which is why the design clears the bar by a small margin rather than a large one. Notice that the calculator asks for 63 per group while the benchmark design uses 64: rounding up is not optional. Sample sizes come in whole people, and you should always round the required n upward, never down. Dropping from 64 to 63 would land you just under the target you set, and the whole point of planning is to guarantee the power you claim.
The large-effect case shows how quickly the requirement falls. A large effect of d = 0.8 needs only 25 per group for eighty percent power, and 26 per group gives 82.2%. One extra participant per group buys more than two points of power here, which is the kind of margin that disappears at smaller effect sizes. Compare that with the small-effect design at the strict alpha of 0.01: with 100 per group it has just 12.3% power, so it would need 584 per group to reach the conventional power target. The same 100-per-group study that looks generous for a large effect is barely better than a coin flip for a small one at a stringent alpha.
The reason for these gaps is the shape of the relationship. Power grows with the square root of the sample size, so quadrupling n only doubles the noncentrality parameter. Gains are front-loaded when n is small and increasingly expensive as you push toward high power, which is why the jump from 25 to 63 is modest but the jump from 100 to 584 is not.
When you plan a study, treat the required-n output as a floor. Round up, add a little for attrition if you expect dropout, and remember that the number depends entirely on the effect size and alpha you entered — change either and the requirement moves.
Alpha, tails and the power trade-off
Alpha is the line you draw for calling a result statistically significant, and where you draw it changes how much power you have. The familiar two-tailed critical z of 1.96 comes from alpha = 0.05. Tighten alpha to 0.01 and the critical z rises to 2.576, so a result has to clear a higher bar before it counts. That extra stringency is protection against false positives, but it is paid for in power — the chance of detecting a real effect when one exists. A statistical power calculator makes this trade-off visible before you commit to a design, because the same noncentrality parameter that produced comfortable power at 0.05 can fall well short at 0.01.
The size of the effect matters enormously here. A small effect of d = 0.2 at the strict alpha of 0.01 has just 12.3% power with 100 per group. In other words, even a real small effect would usually go undetected. To reach the conventional power target, that same small-effect design would need 584 per group — a sample far larger than the 100 per group that sounded generous. The lesson is that stringency and small effects compound: each one alone is manageable, but together they demand a study most researchers cannot afford.
The classic benchmark design shows what adequate power looks like when the pieces line up. A medium effect of d = 0.5 with 64 per group at alpha 0.05 two-tailed gives 80.7% power. That design's noncentrality parameter is delta = 2.828 against a critical z of 1.96 — enough separation between the null and the alternative to clear the threshold most of the time. Large effects are cheaper still: d = 0.8 needs only 25 per group for eighty percent power, and 26 per group gives 82.2%.
One-tailed tests buy some power back. Testing in a single direction lowers the critical z for the same alpha, so the gap between the null and your observed result is easier to clear. The gain is real but modest, and it comes with a condition: you must be willing to ignore effects in the other direction entirely, and that choice should be made before you look at the data. A one-tailed test chosen after seeing results is not a power fix; it is a different question.
Sample size is the other lever, but it works slowly. Power grows with the square root of the sample size, so quadrupling n only doubles the noncentrality parameter. Going from 100 to 584 per group is a large investment for a small effect at strict alpha, and it reflects exactly that square-root relationship. Before committing, use the statistical power calculator to compare alpha levels, tails and effect sizes side by side, so the cost of stringency is a deliberate choice rather than a surprise.
FAQs
What is statistical power?
Statistical power is the probability of detecting a real effect when one exists. It is the chance your study correctly flags a true difference rather than missing it. Higher power means fewer missed effects. For reference, the benchmark design on this page has 80.7% power, meaning it would detect the real effect about 80.7% of the time.
How many subjects do I need for a medium effect?
For a medium effect, d = 0.5, at alpha 0.05 two-tailed, you need 63 per group. The classic round number of 64 per group gives 80.7% power, just above the conventional 80% target. So 63 per group is the minimum, and 64 per group is the familiar planning choice.
Why is my power so low?
Small effects are expensive to detect. With d = 0.2 at alpha 0.01, 100 per group gives only 12.3% power, far below the usual 80% goal. To reach adequate power for that small effect, you would need 584 per group. Low power usually means the effect is small relative to your sample size.
What is the noncentrality parameter?
The noncentrality parameter is delta = d sqrt(n / 2). It combines effect size and sample size into one number that drives power. For the benchmark design it is 2.828, and for the small-effect design it is 1.414. Larger delta means more power, so bigger effects or bigger samples both raise it.
Does a one-tailed test raise power?
Yes. A one-tailed test raises power by lowering the critical z at the same alpha, so it is easier to reach significance in the direction you predict. The cost is that you give up detection in the other direction, so a real effect in the opposite direction would be missed entirely.
Is this a t-test power calculator?
This calculator uses the two-sample z approximation. For the group sizes here, 25 and up per group, it tracks t-test power closely. It is also the standard planning approximation, so it gives reliable guidance for designing studies while keeping the computation simple and transparent.