Loading…

Sample Size for Power Calculator

Math Probability • Statistical Inference and Hypothesis Testing

View all topics

Plan a study by estimating the minimum sample size needed to reach a target power \((1-\beta)\) for one-sample or two-sample mean tests, using Cohen’s \(d\), \(\alpha\), and tail choice.

Effect size (Cohen’s d): \(d=\dfrac{|\mu_1-\mu_0|}{\sigma}\) (one-sample) or \(d=\dfrac{|\mu_1-\mu_2|}{\sigma}\) (two-sample, pooled \(\sigma\)).
This tool uses standard planning approximations and reports achieved power at the returned integer \(n\).
Ready

Power curve vs. sample size (animated)

The plot shows achieved power as \(n\) increases. The vertical line marks the smallest \(n\) reaching the target.

Enter values and click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.