Free tool

A/B test calculator

Plan the test before you run it, and read the result after. Sample size, duration, significance and a sample-ratio check, all on one page.

Confidence level
Test direction
%
Where the control sits today.
%
Smallest lift worth catching, as a share of the baseline.
Statistical power
Two arms is a plain A/B.
Visitors a day across the funnel.
%
How much traffic you route in.
Sample per arm
31,234
Visitors needed in each arm.
Total sample
62,468
Across all 2 arms.
Estimated duration
63 days (9 weeks)
At the traffic and split above.

Sample size uses a two-proportion test with a pooled null. Run at least one full business cycle so weekday and weekend traffic both count, even when the number here is reached sooner.

All the maths runs in your browser. Your numbers never leave this page.

How to use it

Plan first, then analyse

Size the test before you start, then bring the counts back to read whether the difference is significant.

Plan a test

Enter your baseline rate, the smallest lift worth catching, and your traffic. You get the sample each arm needs and how long that takes to reach.

Analyse results

Drop in visitors and conversions for control and variant. You get the uplift, the p-value, whether it is significant, a confidence interval and a sample-ratio check.

Explore concepts

Power, MDE, p-values and significance in plain words, each with a worked example.

FAQ

Questions

Do my numbers get sent anywhere?
No. Every calculation runs in your browser with client-side JavaScript. Nothing you type is uploaded, logged or stored.
Which significance test does it use?
A two-proportion z-test with a pooled null for the p-value, and an unpooled standard error for the confidence interval on the absolute difference. Sample size uses the same two-proportion basis.
What is a sample ratio mismatch check?
A chi-square test on the visitor counts against your intended split. If the split that landed is too far from even, it flags a likely bucketing bug before you trust the verdict.
Should I use one-sided or two-sided?
Two-sided unless you have a firm reason to ignore the chance the variant is worse. A one-sided test reaches significance sooner but only answers whether the variant is better.

More on how optimiser.pro reads a test on the how it works section, or see the workspace preview.

Beyond the rate

Run it on your own experiments

This page stops at whether the rate moved. Optimiser.pro carries it through to the payment data: which arm earned more per acquired customer, not only which one converted.