Statistical Power Calculator
Estimate the power of a two-group experiment or A/B test from effect size, sample size, and alpha. Supports tests on means and on proportions.
1. Choose test type
2A. Inputs for means
Example: control mean = 10, treatment mean = 12 → effect size = 2. SD is the common standard deviation.
3. Test settings
4. Results
Estimated power
—
Effect size (absolute)
—
Indicative n per group for 80% power
—
What is statistical power?
Statistical power is the probability that your test will detect an effect if the effect is really there. Low power → high chance of false negatives.
Key determinants of power
- Effect size: bigger differences are easier to detect.
- Sample size: more data → narrower standard error → higher power.
- Alpha: a higher alpha (e.g. 0.1) makes it easier to reject H0, increasing power.
- Variability: lower standard deviation → higher power.
Formula idea (z-approximation)
For a two-sample test on means (equal n), the test statistic roughly follows
z = (μ₂ − μ₁) / (σ √(2/n))We compare this to the critical value for the chosen α and tails, then compute the corresponding power as the probability the test statistic falls in the rejection region.
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\\]
','\
Formula (extracted text)
z = (μ₂ − μ₁) / (σ √(2/n))
Variables and units
- No variables provided in audit spec.
Sources (authoritative):
- NIST — Weights and measures — nist.gov · Accessed 2026-01-19
https://www.nist.gov/pml/weights-and-measures - FTC — Consumer advice — consumer.ftc.gov · Accessed 2026-01-19
https://consumer.ftc.gov/
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
- Initial audit spec draft generated from HTML extraction (review required).
- Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
- Confirm sources are authoritative and relevant to the calculator methodology.