A/B test calculator
Enter the visitors and conversions of each version: you will know whether the difference is real or due to chance, and how many visitors you need to conclude.
Results
How to use the A/B test calculator
Check whether the difference between two versions of a page is statistically significant and calculate how many visitors you need to draw a conclusion.
-
Enter both versions
Visitors and conversions for A (control) and B (variant).
-
Choose the confidence level
95% is the standard; two-sided test unless you have a directional hypothesis.
-
Read the results
Key metrics, alerts and a visual breakdown, with the formulas used.
About the A/B test calculator
An A/B test compares two versions of a page to see which converts better. With few visitors, a difference of a few conversions can be down to chance: the significance test (a two-proportion z-test) calculates the probability that the observed gap is accidental.
A p-value below the chosen threshold (0.05 for 95%) indicates a significant difference. The confidence interval shows the likely size of the effect, and the sample size calculation keeps you from stopping a test too early.
Frequently asked questions about the A/B test calculator
How long should an A/B test run?
Until it reaches the planned sample size, and at least one to two full weeks to smooth out day-to-day variation.
Can I stop the test as soon as it becomes significant?
No: watching results continuously and stopping at the first favorable result multiplies false positives. Set the sample size in advance.
Two-sided or one-sided?
A two-sided test detects a difference in either direction and is the default choice. A one-sided test only looks for an improvement of B and needs fewer visitors, but ignores a possible decline.
Are my numbers saved?
No. Calculations run in your browser; nothing is sent to our servers. Only the shareable link contains your values, if you choose to copy it.