Home · Statistics · Inference & Tests · Power Analysis Calculator
Power Analysis Calculator
Statistical power for a test of a mean, or the sample size a target power requires, using the normal (z) approximation for a two-sided test.
What this calculator does
Statistical power for a test of a mean, or the sample size a target power requires, using the normal (z) approximation for a two-sided test. Every figure on this page is computed from the standard definition stated below — the same definition used in textbooks and reference tables — with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
This is a normal-approximation (z) power calculation for a two-sided test at level α — quick and standard for planning, slightly optimistic versus an exact t-based calculation at small n.
One-sample mode treats n as the single sample size; two-sample mode treats n as the size of each group and assumes equal group sizes and a common σ.
In n mode the equation is inverted for the target power and the result is rounded up to a whole number.
Worked example
With the example inputs this page opens with (effect size δ (mean difference) 5, standard deviation σ 10, sample size n (per group if two-sample) 25, significance level α 0.05), the result is 0.7054. Change any figure and the result updates with the same formula.
Quick reference
| Effect size δ (mean difference) | Result |
|---|---|
| 2.5 | 0.2395 |
| 4 | 0.5160 |
| 5 | 0.7054 |
| 6.25 | 0.8780 |
| 7.5 | 0.9633 |
| 10 | 0.9988 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
What does a power of 0.71 mean?
If the true effect really is δ = 5 with σ = 10, a study of this size detects it (rejects the null at α = 0.05, two-sided) about 71% of the time. The other 29% of identical studies would miss a real effect — a Type II error.
Why do planners usually target 80% or 90% power?
Those are conventions balancing cost against the risk of wasting the whole study on a miss. Nothing in the mathematics forces 0.8; a confirmatory study where a miss is expensive argues for 0.9 or higher.
How does the Power Analysis Calculator work?
Statistical power for a test of a mean, or the sample size a target power requires, using the normal (z) approximation for a two-sided test. Mode · Test type · Effect (mean difference) · SD · n or target power · α → Power (or required n). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Power Analysis Calculator need?
Mode · Test type · Effect (mean difference) · SD · n or target power · α → Power (or required n). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.