TOOL · 01 · CRO
60 SECONDS · NO SIGNUP

A/B Sample Size.

Plug in your baseline conversion rate and the lift you want to detect. Get the sample size per variant and the days you'll need to run.
INPUTSSTEP 1 OF 2
Current conversion rate on the page or step you're testing. Pull a stable 30-day window: weekday/weekend noise will mislead you on shorter periods.
%
MDE TYPE
Smallest lift you want to detect, relative to the baseline. e.g., baseline 5% with a 20% relative MDE means detecting a move to 6%. Tighter MDE = bigger sample.
% RELATIVE
Visitors who hit the tested page each day, for one variant. Half your daily traffic if it's a 50/50 split. Used to estimate days-to-detect.
VISITS
CONFIDENCE
POWER
RESULT · SAMPLE SIZESTEP 2 OF 2
PER VARIANT
8,158
5.00% → 6.00% (20% relative lift).
16K
TOTAL N
11
DAYS TO DETECT
+20.0%
MDE RELATIVE
METHOD

Two-tailed normal-approximation formula for two proportions, fixed-horizon test. Numbers assume independent observations and no peeking. If you run sequential or Bayesian tests, your effective n is different.

How it works

The calculator uses the standard two-proportion sample size formula for a fixed-horizon, two-tailed test:

n = (z(1-α/2) * sqrt(2 * p̄ * (1 - p̄)) + z(1-β) * sqrt(p1 * (1 - p1) + p2 * (1 - p2)))² / (p2 - p1)²

Here p1 is your baseline conversion rate, p2 is the rate you want to be able to detect, and p̄ is their average. Confidence sets α (95% means z = 1.96) and power sets β (80% means z = 0.84).

Relative or absolute effect

A 20% relative lift on a 5% baseline and a 1-point absolute lift describe the same target, 6%. Most testing tools quote relative lift, so that is the default. Switching modes converts your number so the target stays put.

Reading the result

The number is visitors per variant. Days to detect divides the total sample by daily traffic per variant. If that is longer than four to six weeks, test a bolder change or a higher-traffic page rather than running longer: seasonality and cookie churn creep in.

The maths assumes independent visits and no peeking. If you stop a test the first time it looks significant, your real false-positive rate is far higher than 5%.

NOTES · WEEKLY

The 7 most common A/B test failure modes.

A brief on why most CRO tests don't replicate, when sequential testing helps, why peeking wrecks your p-values, and how to set MDEs that aren't fantasy.

NO SPAM · UNSUBSCRIBE IN ONE CLICK
Need someone to actually run the program?

I run CRO sprints for DTC brands. Hypothesis stack, prioritization, build, readout. 4–8 clean tests per month.

BOOK A 20-MIN CALL
Book a 20-min call