JESUS CHRIST IS THE ONLY TRUE GOD
Statistics calculator

Power Analysis Calculator

Estimate sample size for a two-sided one-sample mean test using a normal approximation and standardized effect size.

Your calculationPrivate in your browser
Report a result

Start with a worked example

Open the worked example for Approximate required sample size. The example starts with Standardized effect size |d| = 0.5, Significance level α = 0.05, Target power = 0.8.

Power Analysis Calculator formula

n≈[(z₁₋α/2+z_power)/d]².

Inputs and units

Inputs and example values for Power Analysis Calculator
InputFormat / rangeExample
Standardized effect size |d|min 1e-060.5
Significance level αmin 1e-06, max 0.50.05
Target powermin 0.500001, max 0.9999990.8

Worked example

The values listed in Inputs and units give 32 for Approximate required sample size.

Approximate required sample size
32
Unrounded n
31.395519
z(1−α/2)
1.959964
z(power)
0.841621

Results and assumptions

Normal-approximation planning formula for a standardized one-sample mean effect.

Change Standardized effect size |d| from 0.5 to 0.6 and keep the other example inputs fixed. The updated answer is 22 (Approximate required sample size).

Fix an input or unexpected result

Standardized effect size |d| is required. Enter standardized effect size |d| using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.

See how to check a result or report an issue.