Statistical Power Calculator
Statistical power is the probability that your test detects an effect that really exists: 1 − β. An underpowered study misses that effect most of the time and ends with "no significant difference found" — a result that is evidence of an inadequate study, not of an absent effect. Power depends on three quantities — sample size, effect size, and significance level — and once all three are known it can be computed as a single number.
This calculator returns the power and the Type II error probability (β) for comparisons of two independent groups as well as for one-sample and paired designs; it uses the normal (z) approximation instead of the noncentral t distribution and says so explicitly in the results. It produces a power curve showing how power grows with the sample, a second curve showing power against effect size, and a power table, then judges the result against the 80% benchmark used in the literature.
Statistical Power (Normal Approximation)
Two independent groups: δ = d · √(n / 2) (n = per group) One sample / paired: δ = d · √n Two-tailed power: 1 − β = Φ(δ − z₍α/₂₎) + Φ(−δ − z₍α/₂₎) One-tailed power: 1 − β = Φ(δ − z₍α₎) Type II error: β = 1 − (1 − β) Inverse solution: n = 2 · (z₍α/₂₎ + z₍β₎)² / d² (two groups, per group) Effect size: d = (μ₁ − μ₂) / σ
Power is computed with the standard normal (z) approximation rather than the noncentral t distribution. This is a deliberate simplification: the approximation overstates power by a few points in small samples, and the difference vanishes as n grows. For publications that need exact decimals, verifying the result with G*Power or the pwr package in R is recommended.
How to Calculate
- Choose your study design: two independent groups, or a one-sample / paired measurement?
- Enter the sample size — in a two-group design write the number of observations PER GROUP, not the total.
- Enter the effect size (d) you want to detect; d = the difference considered meaningful / the standard deviation.
- Set the significance level (α) and the test direction; a two-tailed test is the standard choice.
- Read the power (1 − β) and the Type II error probability (β); if the power falls below the 80% benchmark, take the warning seriously.
- Use the power curve to see how enlarging the sample raises power, and pick the n needed for 80% power from the table.
Worked Examples
A typical underpowered study (30 per group)
In the very common design of 30 people per group, a medium effect (d = 0.50) gives δ = 0.50 · √15 = 1.9365 and a power of only 49.07%. In other words, if a real medium effect exists, the study misses it roughly as often as a coin toss (β = 0.5093); reaching 80% power would require 63 people per group.
Statistical power (1 − β): 49.07% · Type II error probability (β): 0.5093 · Noncentrality parameter (δ): 1.9365
Cohen's classic scenario (64 per group)
In the design of 64 people per group, treated as the standard for a medium effect in the literature, δ = 0.50 · √32 = 2.8284 and the power is 80.74%; the Type II error drops to β = 0.1926. Under the normal approximation the 80% threshold is already crossed at 63 people per group, so 64 is the rounded, safe-side design.
Statistical power (1 − β): 80.74% · Type II error probability (β): 0.1926 · Noncentrality parameter (δ): 2.8284
Paired measurement, 25 pairs
In a before-after design with 25 pairs and d = 0.60, δ = 0.60 · √25 = 3.0000 and the power is 85.08%, with a Type II error of β = 0.1492. For the same effect, a paired design reaches adequate power with far fewer observations than two independent groups: 22 pairs are enough for 80% power.
Statistical power (1 − β): 85.08% · Type II error probability (β): 0.1492 · Noncentrality parameter (δ): 3.0000