Statistical power calculator

This statistical power calculator tells you how likely a study with two groups is to detect an effect of a given size. Enter Cohen's d, the number per group and the significance level to get the power, and the smallest effect the design can reliably detect.

Your numbers are calculated in your browser and are not sent or stored.

Statistical power calculatorOr describe it in Studio →

For two independent groups of equal size. d is the difference in means divided by the standard deviation: 0.2 small, 0.5 medium, 0.8 large.

Power

80.7%

At or above the usual 80% target.

Type II error (β)
19.3%
Critical z
1.96
Expected z
2.828
Smallest d at 80% power
0.495
n per group1020305064100200
Power20%35%49%71%81%94%100%

To report

Power = 80.7% to detect d = 0.5 with n = 64 per group at α = 0.05, two-tailed (normal approximation)

Check your result: with no real difference (d = 0) the power must equal alpha: d 0 and α 0.05 give 5%. Power rises with n: for d = 0.5 it is 52% with 32 per group and 81% with 64.
power for d = 0.5 with 64 per group
80.7%
power for d = 0.5 with 64 per group
smallest d detectable at 80% power with 64 per group
0.50
smallest d detectable at 80% power with 64 per group
per group for 80% power at d = 0.8 in this calculator
25
per group for 80% power at d = 0.8 in this calculator
  • Power from d, n and alpha
  • Means or proportions
  • Smallest effect at 80% power
  • Power across sample sizes
  • Runs in your browser, free

01

How power is calculated

power ≈ Φ(d × √(n ÷ 2) − z₁₋α⁄₂)

d is the standardised difference between the means, n the number in each group and Φ the standard normal distribution. This is the normal approximation to the two-sample t test. It runs slightly high: for d = 0.5 and α = 0.05, 80.7% against an exact 80.1% at n = 64, and 35.3% against 33.8% at n = 20. Software using the noncentral t distribution gives the exact figure.

To check a figure against exact software: R power.t.test() with n = 64 and delta = 0.5 gives 0.8015.

02

Worked example

A medium effect, d = 0.5, with 64 per group at α = 0.05, two-tailed.

d × √(n ÷ 2) = 0.5 × √32 = 2.828

power ≈ Φ(2.828 − 1.960) = Φ(0.868) = 0.807

n per groupPower for d = 0.5
2035%
3049%
5071%
6481%
10094%

03

What changes power

  • Sample size: more per group raises power. Halving the detectable effect takes four times the sample.
  • Effect size: with 64 per group, power is 20% for d = 0.2 and over 99% for d = 0.8.
  • Alpha: a stricter threshold, such as 0.01, lowers power.
  • Noise: a more precise measurement shrinks the standard deviation and so raises d.

04

Power calculation mistakes

  • Entering the total instead of the number per group. 64 people in total, 32 per group, give 52% power for d = 0.5, not 81%.
  • Planning for a large effect. 25 per group gives 81% power for d = 0.8; if the true effect is d = 0.5, the same study has 42% power.
  • Forgetting dropouts. Losing 20% of 64 per group leaves 51, and power for d = 0.5 falls from 81% to 71%.

Trust

How this page is checked

  • The calculation runs on code with automated tests against worked reference values. Every number in the examples on this page was produced by that same code, not typed by hand.
  • The formulas and conventions used are stated on the page, so you can reproduce the result yourself or compare it with your own software.
  • Last reviewed by the Sciloom team, Zebra Nine Studio Inc. It is a tool for research and teaching, not a substitute for a statistician, a validated lab method or medical advice.

Cite this page

Sciloom. (2026). Statistical power calculator. Zebra Nine Studio Inc. https://sciloom.si/statistical-power-calculator

Read the full methodology · Who makes Sciloom

Frequently asked questions

What is statistical power?

The probability that a study finds a significant result when the effect really exists. It equals 1 minus the type II error rate, β.

Why is 80% the usual target?

It is a convention from Jacob Cohen: a one-in-five chance of missing a real effect, set against the 5% chance of a false positive. Confirmatory trials often aim for 90%.

Should I calculate power after the study, from the observed effect?

No. Post hoc power computed from the observed effect is just a restatement of the p value and adds nothing. Use power for planning, and report confidence intervals afterwards.

How do I choose the effect size?

Use the smallest difference that would matter in practice, or an estimate from earlier studies. Cohen's labels of 0.2, 0.5 and 0.8 for small, medium and large are a fallback, not a substitute for subject knowledge.

Planning a study? The sample size calculator works back from the power you want.
Free to start, no sign-up.
Back to the tool ↑

More research tools