Statistical Power & Sample Size (t-test)
Find the sample size per group needed for a two-sample t-test, or the power you achieve with a given sample size, free online.
About this calculator
For a two-sided, two-sample comparison with effect size d (Cohen's d): n per group โ 2(zโโฮฑ/โ + z_power)ยฒ รท dยฒ + zโโฮฑ/โยฒ รท 4. Power for a given n is ฮฆ(dโ(n/2) โ zโโฮฑ/โ) plus a small term for the opposite tail. Aim for 80% power or higher.