Power Analysis Calculator

Estimate statistical power or required sample size for a comparison of means or proportions with one or two groups.

Result
—

How to calculate

Set the rejection threshold from the null distribution and significance level. Calculate the probability of crossing that threshold under the specified alternative. For sample size, find the smallest group A count that reaches target power at the planned enrollment ratio.

Worked example

Use Calculate Required sample size · Design Two independent groups · Outcome type Difference of means with known standard deviation · Mean difference to detect 0.5 · Known standard deviation 1 · Group B size divided by size of group A 1 · Significance level 5% · Target power 80% · Test Two sided. The result is 63.

Input and result notes

Uses a normal approximation, independent observations, and the reported allocation ratio. Rare outcomes and small samples may need an exact calculation. Group B is rounded up for enrollment.

Penn State power and sample size examples

Related calculators