The A/B Test Pre-Planning Calculator determines the required sample size and estimated test duration before running an experiment. It ensures tests have sufficient statistical power to detect meaningful effects. The formula is Sample Size = (Z-alpha + Z-beta)^2 x (p1(1-p1) + p2(1-p2)) / (p2-p1)^2. A good benchmark is to use 80% statistical power and 95% confidence as standard. PM Toolkit's free A/B test planning calculator helps product managers plan experiments with automatic duration estimation based on daily traffic and minimum detectable effect.
What is A/B Test Planning?
A/B test planning determines the sample size and duration needed before running an experiment. Proper planning prevents underpowered tests that waste time and overpowered tests that waste traffic.
Sample Size Formula
n = (Z_alpha + Z_beta)^2 x 2 x p(1-p) / MDE^2
Where: Z_alpha = z-score for significance level (1.96 for 95%), Z_beta = z-score for statistical power (0.84 for 80%), p = baseline conversion rate, MDE = minimum detectable effect
Test Duration Formula
Duration (days) = Required Sample Size / Daily Traffic per Variant
Planning Benchmarks
| Parameter | Standard | Conservative |
|---|---|---|
| Significance Level | 95% (alpha=0.05) | 99% (alpha=0.01) |
| Statistical Power | 80% | 90% |
| Minimum Test Duration | 1 week | 2 full business cycles |
Ask Claude, Cursor, or ChatGPT to run this calculator.
Install once. 23 web calculators · 17 in your AI · 12 PM workflows
A/B Test Sample Size Calculator
Plan sample size and duration before you launch. Underpowered tests waste time; overpowered tests waste traffic.
Updated
Looking for: 5% → 5.75%
Not sure? Start with Standard for most A/B tests. Use Quick Test for rapid iterations, and High Confidence for changes affecting revenue or user experience.
Sample size per variant
- Total
- 27,068
- Duration
- 28 days
- Target
- 5.75%
Slow — consider larger MDE to shorten timeline
Why this matters
Per variant
Total sample
Target conversion
Duration
Control Group
13,534
Variant Group
13,534
= n: 13,534 per variant · p: 5% · MDE: 15%
Two-proportion z-test. Higher confidence and power require larger samples.
Rate this calculator: