Sampling size calculator
Estimate required A/B test sample size per variant from baseline conversion rate and absolute percentage-point MDE at α = 0.05 and 80% power — with transparent assumptions.
Enter baseline CVR and MDE to estimate visitors per variant.
Next step after running this check
Runs locally in your browser with zero pasted content sent to SerpVI servers.
Size your A/B sample before writing a single line of variant code
Stopping an underpowered experiment early because the chart briefly touched p < 0.05 is one of the fastest ways to ship regressions disguised as wins. Computing your required n per variant upfront tells you whether a test is realistic on your current traffic — or whether you need a bolder hypothesis.
Quick sample-size reference table (α = 0.05, 80% power)
| Baseline CVR | Absolute MDE | Relative lift | Approx. n / variant |
|---|---|---|---|
| 2.0% | +0.5 pp (to 2.5%) | +25% | ~12,300 |
| 5.0% | +1.0 pp (to 6.0%) | +20% | ~7,460 |
| 5.0% | +0.5 pp (to 5.5%) | +10% | ~29,830 |
| 10.0% | +2.0 pp (to 12.0%) | +20% | ~3,530 |
Worked calculation
Worked example — Binary signup conversion test (5% baseline CVR):
Inputs: p = 0.05 (5.0% baseline), absolute MDE = 0.01 (+1.0 pp → 6.0% target), α = 0.05, power = 80%
z_(α/2) = 1.96, z_β = 0.8416 → (1.96 + 0.8416)² ≈ 7.849
Variance term: 2 × 0.05 × 0.95 = 0.095
n per variant ≈ (7.849 × 0.095) ÷ (0.01)² ≈ 7,457 clean visitors per arm (14,914 total across A + B)Need runtime days & relative MDE sensitivity?
Plug your daily eligible human traffic into our Experiment MDE Calculator to convert sample size into exact calendar runtime days and see what lift is detectable inside fixed 14- or 28-day windows.
Related tools
- Experiment MDE Calculator — Compute A/B test minimum detectable effect (MDE), required sample per variant, runtime days, and 14/28-day sensitivity tables.
- Percent change calculator — Compute period-over-period percent change from two numbers with the same formula serpvi uses in analysis (undefined when previous is zero).
- SaaS NDR & MRR Waterfall Calculator — Calculate monthly and annualized Net Dollar Retention (NDR), Gross Dollar Retention (GDR), MRR waterfall, and SaaS Quick Ratio in your browser.
- SEO ROI Calculator — Free SEO ROI calculator: estimate traffic, revenue, cost, and break-even month from your assumptions. Transparent formula, no signup.
Questions
- Is the MDE input here absolute percentage points or relative lift?
- Absolute percentage points. Entering 5% baseline CVR and 1% MDE sizes the test to detect a move from 5.0% to 6.0% (a +20% relative lift). If you prefer working in relative lift % and daily runtime days, use our Experiment MDE Calculator.
- Which statistical formula powers this estimate?
- The standard two-sided two-proportion z-test sample size approximation: n per variant ≈ 2 × (z_(α/2) + z_β)² × p(1 − p) ÷ MDE², defaulting to α = 0.05 (95% confidence) and 80% statistical power.
- Why should I still enforce a minimum of 100 clean visitors per arm?
- Normal approximations break down at tiny sample sizes and small counts are easily skewed by one power user or bot burst. Even for huge absolute lifts, keep a floor of >=100 clean human visitors per variant and run at least 1–2 full weekly cycles.
- Does halving MDE double or quadruple required sample size?
- Quadruple! Because MDE is squared in the denominator, narrowing MDE from 2.0 pp to 1.0 pp increases required visitors per variant by 4×.
- Are any inputs uploaded?
- No. Everything computes locally inside your browser.