Power Analysis Calculator

Two-sample mean test (Z approximation) • Compute power or required sample size

Settings

Use Compute Power when n is already known. Use Required Sample Size to estimate the smallest n per group needed to reach target power.
Two-sided tests for differences in either direction. One-sided tests for a positive effect only.

Inputs

Used only in Compute Power mode. Enter a whole number.
Must be between 0 and 1. Default is 0.05.
Outcome variability. Must be greater than 0.
Expected difference in means. Enter a positive value.

Action

Results stay hidden until Calculate is clicked. If you change any input after calculating, the old result is hidden until you calculate again.

Use this Power Analysis Calculator to estimate statistical power or required sample size for a balanced comparison of two group means.

Calculation Method

This calculator uses a two-sample z-approximation with equal group sizes.

Power = 1 − β

The standard error of the difference is:

SE = σ × √(2/n)

Standardized effect size:

d = Δ ÷ σ

An approximate two-sided sample-size formula is:

n ≈ 2 × [(z1−α/2 + zpower) × σ ÷ Δ]²

Example

Suppose you want:

80% power
α = 0.05
Standard deviation = 10
Minimum detectable difference = 4
Two-sided test

d = 4 ÷ 10 = 0.40

The approximate requirement is about 99 observations per group, or approximately 198 total observations.

Important Note

This calculator is specifically an approximate balanced two-group mean model. It is not a general power calculator for proportions, regression, ANOVA, clustered designs, unequal allocation, survival analysis, or other study designs.

Power results depend strongly on the assumed effect size and standard deviation, so planning values should come from prior research, pilot data, or a meaningful target effect when possible.

Source

More of our calculators...

Percentile Calculator

Use our Percentile Calculator to find percentile values from a data set with nearest rank or linear interpolation. Supports raw numbers and value:count input.

Confidence Interval Calculator

Use our Confidence Interval Calculator to find confidence intervals for a mean or proportion with standard error, critical value, margin of error, and lower and upper bounds.

p-value Calculator

Use our P-value Calculator to calculate one-tailed or two-tailed p-values for Z, t, chi-square, and F test statistics.

Standard Deviation Calculator

Use our Standard Deviation Calculator to find sample or population standard deviation from a data set. Get variance, mean, range, and sorted values fast.

t-test Calculator

Use our T-Test Calculator to compute t statistic, p-value, confidence interval, and conclusion for one-sample, Welch, pooled, or paired t-tests.

Outlier Calculator (Tukey Fences)

Use our Outlier Calculator to find low and high outliers with Tukey fences and the IQR method. Get Q1, Q3, IQR, fences, counts, and sorted data fast.

Z-test Calculator

Use our Z-Test Calculator to compute z statistic, p-value, standard error, and critical z for one-sample or two-sample mean tests when sigma is known.

Median Calculator

Use our Median Calculator to find the middle value of any data set. Supports raw numbers, value:count input, sorted preview, and instant live results.

IQ PERCENTILE CALCULATOR

Use our IQ Percentile Calculator to convert an IQ score into percentile rank, percent above, and percent below using SD 15 or SD 16 normal-distribution scales.