Method document
Achieved power for two independent means
Calculates the probability that an equal-size, two-sample t-test rejects its null hypothesis for a specified per-group sample size, mean difference, standard deviation, significance level, and test direction.
https://statwisely.com/methods/power-two-sample-mean/
When to use it
- Assess the sensitivity of a planned equal-allocation comparison of two independent means.
Not for
- Unequal allocation, paired observations, and clustered designs require different variance and degrees-of-freedom calculations.
Notation
- Participants in each group.
- Difference between group means.
- Common population standard deviation.
- Degrees of freedom, 2n − 2.
Formulas
Standardized effect and noncentrality
n is the size of each group. The alternative distribution is a noncentral t with ν degrees of freedom [1].
Power from the rejection region
One-sided tests use the upper rejection tail. Two-sided tests split α equally between both tails.
Parameters
Sample size per group
Values: Integer, at least 2
Enter the participants available in each group.
Mean difference
Values: Any finite value in outcome units
Difference between the expected group means.
Common standard deviation
Values: Positive
Assumed equal in both populations.
Significance level
Values: Between 0 and 1
The type I error rate for the specified test.
Test direction
Values: 1 or 2
One-sided tests use the upper rejection tail. Two-sided tests split α equally between both tails.
Assumptions
- The groups are independent, equally sized, and share the specified population standard deviation.
- One-sided tests use the upper rejection tail. Two-sided tests split α equally between both tails.
Worked examples
A worked input set
With 30 participants per group, a mean difference of 5, common standard deviation 10, α = 0.05, and a two-sided test, use d = 0.5 and 58 degrees of freedom.
Group 1: 30 · Group 2: 30 · Total: 60
Open this example in the calculatorValidation
- The calculation evaluates the noncentral-t rejection probability directly, using 2n − 2 degrees of freedom.
How to cite
StatWisely. Achieved power for two independent means. Method document, engine version 1.0.0, reviewed 2026-10-03. https://statwisely.com/methods/power-two-sample-mean/
Cite the original references for the formulas your design uses as well.
References
- 1.Cohen J. Statistical Power Analysis for the Behavioral Sciences. 2nd ed. Hillsdale, NJ: Lawrence Erlbaum Associates; 1988.