Experimentation · Two-proportion test
A/B test calculator
Enter visitors and conversions for both variants. You get the p-value, a confidence interval on the actual lift, the smallest effect your sample could have detected — and a warning if you have been checking the dashboard too often.
Runs entirely in your browser. No upload, no account, no tracking.
Control
Variant
Advanced settings
Advanced settings
What the three numbers mean
Most A/B calculators return a single verdict: significant, or not. That binary is the least useful thing you can take from an experiment, because it collapses three separate questions into one word. This tool keeps them apart.
The probability of seeing a gap at least this large if there were no real difference. A p-value of 0.03 does not mean there is a 97% chance the variant works. It means that a world with no effect would produce data like yours about 3% of the time.
The range of effect sizes consistent with your data. A lift of +2.1 pp with an interval of −0.3 to +4.5 pp is a very different situation from +2.1 pp with an interval of +1.4 to +2.8 pp, even though both share the same point estimate. The interval is what you should argue about in a planning meeting.
The smallest true difference your sample could have caught at 80% power. This number is determined before you look at the result, by your traffic and baseline rate. If it is larger than the effect you care about, the experiment was never able to answer your question.
Why “p < 0.05” is not a finishing line
The most common way an A/B test goes wrong is not a maths error. It is the habit of checking the dashboard daily and shipping the moment it turns green. That habit quietly converts a 5% test into something much weaker.
If you look once, your false-positive rate is 5%. Look five times and stop at the first significant reading, and the chance of at least one false positive rises to roughly 23%. Look twenty times — a test running for three weeks, checked every weekday — and it approaches 64%. You are no longer running a 5% test. You are running a coin flip with extra steps.
The correction, and its limits
Enter how many times you have checked the test and the calculator applies a Bonferroni correction: the threshold becomes α ÷ k, and the adjusted p-value is p × k. It is deliberately conservative — it assumes your looks were independent, which they are not — so it under-reports significance rather than over-reports it. If your result survives it, that is a stronger claim than the raw p-value. It is not a licence to keep looking.
The better fix is procedural: fix the sample size before the test starts, then look once. The Plan a test tab computes that sample size. If you cannot wait for it, consider a sequential test designed for continuous monitoring rather than a fixed-horizon z-test with the brakes cut.
What a non-significant result does not tell you
“No significant difference” is routinely reported as “no difference”. Those are not the same claim, and the gap between them is where most bad product decisions come from.
- It may mean the effect is real but small. A 0.4 pp lift on a 3% baseline can be worth a lot of money at scale, and still be invisible at 20,000 visitors.
- It may mean the test was underpowered. Check the MDE. If the smallest detectable effect is larger than the change you would act on, the test could not have found it.
- It may mean the metric moved for everyone. A test and a seasonality shift look identical without a control. This calculator compares two groups; it cannot rescue a design with no proper control.
The practical rule: report the interval, not the verdict. “The variant is somewhere between −0.5 and +3.9 pp, and we need more traffic to narrow it” is an honest sentence. “The test failed” is not.
How to use this calculator
- Paste your counts. Visitors and conversions per group, taken from the same date range. Do not mix a partial day into one side.
- Read the verdict, then the interval. The verdict tells you whether the difference clears the noise floor; the interval tells you how much you still do not know.
- Be honest about the peeking. If you have looked at this test before, put the number in the advanced panel. It is the difference between a real result and a story.
- Plan the next one properly. Switch to Plan a test before you ship, and size the experiment against the lift you would actually act on — not the lift you hope for.
Frequently asked questions
What does a p-value of 0.05 actually mean?
It means that if there were no real difference between the two variants, you would see a gap at least this large about 5% of the time. It is the probability of the data under the null hypothesis, not the probability that the null hypothesis is true, and not the probability that your variant wins.
Why can a result be "not significant" even when the variant looks better?
Because the observed gap is smaller than what your sample can reliably resolve. With a few thousand visitors and a small baseline rate, differences of a few tenths of a percentage point are indistinguishable from random noise. The minimum detectable effect reported above tells you the smallest gap your current sample could have caught.
What is the minimum detectable effect (MDE)?
The smallest true difference your test could detect with 80% probability at your chosen confidence level. It is a property of your sample size and baseline rate, not of the result. If your observed lift is below the MDE, a non-significant result means "not measurable", not "no effect".
Why does checking the result repeatedly inflate false positives?
Each look is a fresh opportunity to cross the 5% threshold by chance. Across independent looks the chance of at least one false positive is 1 − (1 − α)^k. Five looks take it to roughly 23%, twenty looks to roughly 64%. The calculator applies a Bonferroni correction (α divided by the number of looks) so you can see whether the result survives.
Should I use a one-tailed or two-tailed test?
Two-tailed, in almost every product experiment. A one-tailed test assumes in advance that the variant can only help, which is rarely true and is a common route to overstated results. This calculator is two-tailed.
How is the Bayesian figure different from the p-value?
The p-value asks how surprising the data would be if there were no effect. The Bayesian figure asks, given the data, how likely it is that the variant is better. It does not depend on a threshold, so it stays informative when a result is inconclusive. It uses a uniform prior, which is deliberately conservative; a prior centered on "no effect" would push the number closer to 50%.
Does a 50/50 traffic split matter?
For the analysis, no: unequal group sizes are handled exactly. For planning, a 50/50 split needs the least total traffic to reach a given power. Skewing the split towards the control reduces risk but increases the total sample required.
How accurate are the numbers, and where is the data processed?
The p-value comes from a pooled two-proportion z-test and the interval uses an unpooled standard error, both standard practice for large-sample proportion tests. The Bayesian probability is a 20,000-draw Monte Carlo estimate with a fixed seed, so it is stable across reloads. All of it runs in your browser; no counts are uploaded anywhere.
Method and assumptions
Significance comes from a pooled two-proportion z-test; the interval uses an unpooled standard error, which is the more conservative choice when the two rates differ. The minimum detectable effect solves for the smallest detectable gap at 80% power, iterating because the variance depends on the effect size itself. The Bayesian figure is a Monte Carlo estimate from independent Beta posteriors with a uniform prior.
The full formulas, edge cases and the reasoning behind each choice are on the methodology page. If you find a discrepancy with another calculator, that page is the place to start.
One limit worth stating plainly: this is a large-sample normal approximation. Below a few hundred conversions per group, prefer an exact test, and treat everything here as indicative.