Statistical power
Power is the probability that a test rejects the null hypothesis when an effect of the size you specify is really there. Its complement, β = 1 − power, is the chance of missing that effect. Convention treats 0.8 as adequate, which is already a one-in-five chance of missing a real difference — worth remembering before treating it as a comfortable standard.
This page answers the question for the sample I have. If you are still planning the study, the proportion sample size calculator answers the other direction: how many observations a target power needs.
The effect size is Cohen's h, not a difference in proportions
For proportions the effect size is h, the difference between the two values after the arcsine transform:
h = 2·arcsin(√p₁) − 2·arcsin(√p₂)
Cohen's conventions are 0.2 small, 0.5 medium and 0.8 large. Use the Calculate h button if you would rather enter two proportions and let the page do the transform.
The transform matters, and this is the part readers most often find surprising: the same gap between two proportions is a bigger effect near 0 or 1 than it is near 0.5. Going from 0.05 to 0.10 is h = 0.191, while going from 0.50 to 0.55 is only h = 0.100 — both are five percentage points, but the first is twice the effect. A proportion near 0.5 simply varies more from sample to sample, so a small shift there is harder to see.
Why n₁ and n₂ do not simply add up
With two groups the power depends on the effective sample size n₁n₂/(n₁+n₂), not on the total. Two groups of 100 give an effective 50; so do groups of 50 and 5000. That is the honest reason a badly unbalanced design wastes data: past a point, adding to the larger group barely moves the power, because the smaller group is what limits it. The results table reports the effective n so you can see this directly.
How to read the H₀ vs H₁ chart
The dashed curve is the distribution of the test statistic when the null is true; the solid curve is its distribution when the effect you entered is real. The critical values cut the axis into regions: α is the null curve beyond them (a false positive), β is the alternative curve inside them (a miss), and power is the alternative curve beyond them. Moving the sample size slides the two curves apart, which is the whole mechanism the power curve below summarises.
What the answer assumes
The power comes from a normal approximation — the arcsine transform is what makes it work, by holding the variance roughly constant across the range of p. Where it can drift is at very small samples, or with proportions very close to 0 or 1. A useful check: the expected number of both outcomes, np and n(1−p), should be at least about 10 in every group.
Post-hoc power, and when not to use it
Computing power after a test came out non-significant, using the effect you happened to observe, tells you nothing new: it is a re-expression of the p-value, and it will always look low. Power analysis earns its keep when the effect size comes from somewhere else — what would matter practically, what earlier work found, what the smallest worthwhile difference is. Use this page with an effect size you chose, not one your data handed you.
Related calculators
- Proportion sample size calculator — how many observations a target power needs.
- One sample proportion test — run the test itself on your data.
- Two sample proportion test
- Effect size calculator
- All power calculators
- What statistical power means