Experiment planning

A/B test sample size and duration calculator

Calculate required sample per variant and estimated duration from baseline conversion, MDE, significance, power, and daily traffic.

No CSVNo sign-upRuns in your browser
YOUR ASSUMPTIONSChange a number. The answer updates immediately.
CALCULATED ANSWER
Sample per variant31,235
Estimated duration63 days

Fix sample and duration before reading results to reduce early-stopping errors.

FORMULANormal approximation for two proportions · two-sided test
Continue to experiment design
HOW TO READ IT

Use the answer as a decision boundary

Smaller MDE

Detecting a smaller change requires sharply more observations.

Higher power

Reducing missed effects requires more observations.

FAQ

Questions before using this number

What is MDE?

The minimum change worth detecting, fixed before the test. Changing it after seeing results breaks the design.

Can I stop as soon as significance appears?

Repeated peeking inflates false positives. Fill the planned sample unless you use a sequential design.