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

View Sponsored Offers →

Related Tools

IQR (Interquartile Range) Calculator

Use our IQR Calculator(Interquartile Range) to find Q1, Q3, median, and interquartile range from a data set. Supports raw numbers, value:count input, and two quartile methods.

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.

Margin of Error Calculator

Use our Margin of Error Calculator to find margin of error for a mean or proportion from sample size, confidence level, and z value.

Mean Median Mode Calculator

Use our Mean Median Mode Calculator to find the average, median, and mode from any data set. Supports raw numbers, value:count input, and sorted preview.

Chi-Square Calculator

Use our Chi-Square Calculator to run goodness-of-fit and independence tests, or find right-tail p-values and critical χ² values from df and alpha.

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.

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.

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.

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.