A/B Test Calculator
Find out whether the difference between two versions of an ad, page or email is real or just luck, and plan how many visitors a fair test needs.
Result
Plan a test: sample size and duration
How to use it
- Enter visitors and conversions for each version from the same date range.
- Read the verdict, the p-value and the uplift interval. If the interval crosses zero, the test has not proven a winner.
- Before your next test, use the planner to find how many visitors you need, then do not stop early.
Methods
Significance uses a two-sided z-test for two proportions with a pooled standard error. The uplift interval uses the log of the ratio of the two rates. Chance to beat uses a normal approximation of the two Beta posteriors with a flat prior. Sample size uses the standard two-proportion formula.
Questions
What p-value means my A/B test is significant?
Most teams use 0.05, which matches 95 percent confidence. A p-value below your chosen level means a difference this big would be unlikely if both versions really converted the same.
Can I stop the test as soon as it turns significant?
No. Checking again and again and stopping at the first significant result makes false winners far more likely. Decide the sample size first and stop when you reach it.
How many visitors do I need?
It depends on your current conversion rate and the smallest lift you care about. Lower conversion rates and smaller lifts need far more visitors.