A/B Test Calculator
100% privateTells you whether to ship it — not just a p-value. Your traffic and conversion numbers never leave this tab.
A conversion is whatever you are counting — a purchase, a sign-up, a click. Use the same definition on both sides, and count visitors, not visits.
Every calculation happens in this tab. Your traffic and conversion numbers are never sent anywhere — which matters more here than on most tools, because together they give away your revenue.
Fill in visitors and conversions for both A and B.
Advanced options
How sure you want to be before calling a winner. 95% means you accept being wrong about one time in twenty.
Keep this two-sided unless you genuinely do not care about B being worse. One-sided reaches significance sooner, which is exactly why it is so often misused.
The chance of spotting a real improvement if there is one. Used for the “how much more traffic” answer and for planning.
This is what separates “call it a draw” from “keep testing”. Once we can rule out any change bigger than this, more traffic will not tell you anything new.
Checking usage…
The full numbers
What to watch out for
Step by step
How to work out if your A/B test result is real
Four steps, no account, no daily limit, and no sales call between you and the answer.
Pick what you need
Choose I have results if the test has been running and you need to decide what to do. Choose I’m planning one if you want to know how much traffic it will take before you start — which is the order it should really be done in.
Enter both variants
Visitors and conversions for A and for B. Visitors means unique people who saw each version, not page views; conversions means how many of them did the thing you care about. Use the same definition on both sides.
Read the verdict
You get one of four answers — ship B, keep A, keep testing or call it a draw — with the conversion rates, the lift and the odds that B is genuinely better beneath it.
Take it with you
One button copies the verdict and every number behind it as plain text, ready to paste into a ticket, a deck or a message to whoever has to sign the change off.
Private by design
Why your conversion numbers never leave this tab
Traffic volume and conversion rate, together, are close to a statement of your revenue. They are among the most commercially sensitive numbers a company has — and nearly every other A/B test calculator on the web is run by a conversion-optimisation vendor who would very much like to know them, and who also sells to your competitors. Typing them into a form on that vendor’s site is a bigger decision than it looks. Here there is no form and no server, and you can prove it in about ten seconds.
Nothing is uploaded
The calculator is downloaded to your browser once and then does every sum on your device. The numbers you type never enter a network request, so there is no copy of them for us to keep, lose, sell or be compelled to hand over.
Nothing is saved
We deliberately do not remember what you calculated, not even in your own browser’s storage. Close the tab and it is genuinely gone — there is no history of last quarter’s experiments sitting on a shared laptop.
No account, no sales call
No sign-up, no work email, no “book a demo to see your full results”, and no cap on how many tests you run. A calculator that runs on your own machine cannot meter you, and we are not trying to sell you testing software.
To be precise about what does leave your device — because “100% private” is easy to say and worth checking. Three things, none of them your numbers:
1. The first time you calculate something, this page sends one anonymous message to our counter saying “ab-test-calculator was used”. Not your visitors, not your conversions, not the verdict, nothing identifying you. It exists so the usage number in the panel is a real one rather than something we invented.
2. Google Analytics records the page view and that the tool was used, the same as on every other page of this site. It is told which of the two modes you used and which of the four verdicts came out — both picked from a fixed list, never a count, a rate or a lift. Block it and the calculator works exactly the same.
3. When the page first loads, the fonts it is set in are fetched from Google Fonts, which means Google sees your IP address at that moment — the same as on every other page of this site. Once the page has loaded, that request never happens again, which is why the offline test below works.
Your traffic and conversion figures are in none of them. They never enter a network request at all — and unlike a promise, that is something you can check. Turn off your wifi, reload this page and keep calculating. It still works. No server-side calculator can pass that test.
At a glance
Tool specifications
| Input | Visitors and conversions for two variants — or, in planning mode, a baseline rate and the improvement you want to detect |
|---|---|
| Output | A plain-English verdict, conversion rates, relative and absolute lift, confidence interval, p-value, z-score, the probability that B is better, and the sample size needed |
| Significance test | Two-proportion z-test on the pooled standard error, one- or two-sided |
| Confidence interval | Normal-approximation interval on the difference, using the unpooled standard error, at 90%, 95% or 99% |
| Probability B is better | Bayesian, with uniform Beta(1,1) priors. Computed exactly up to 20,000 conversions in B, and by a normal approximation of the posteriors above that, where the two agree to better than one part in a million |
| Sample size | Standard two-proportion formula with pooled variance under the null and unpooled under the alternative, no continuity correction. Reproduces Evan Miller’s published calculator |
| Split-ratio check | Chi-square goodness of fit at p < 0.0005, to catch a broken test before you read its result |
| Variants supported | Two — one control and one variation. Three or more needs a correction for multiple comparisons that this tool deliberately does not fake |
| Numerical accuracy | Full double precision. The normal distribution uses Hart’s algorithm and its inverse uses Acklam’s with a Halley refinement, rather than the low-precision approximation most calculators ship |
| Libraries used | None. No vendored bytes, no CDN, no third-party request |
| Rate limit | None. There is no server to rate-limit |
| Where processing happens | In your browser, on your device — nothing is uploaded |
| Saved anywhere | No. Not on a server, and not in your browser’s storage either |
| Works offline | Yes, once the page has loaded, including as an installed app |
| Sign-up | Not required, not offered |
| Price | Free |
Questions
A/B testing, answered
Are my conversion numbers uploaded or stored anywhere?
What does “statistically significant” actually mean?
My result isn’t significant. Should I keep running it or stop?
How many visitors do I need for an A/B test?
Can I stop the test as soon as it hits 95%?
Should I use a one-sided or two-sided test?
What is “chance B is better”, and why isn’t it just 100% minus the p-value?
Can I compare three or more variants, and is there a sign-up or a limit?
Keep it handy
Save it, share it, or tell us what’s missing
Come back to it
Bookmark the page, or pin it to your saved tools so it sits at the top of the tools list on this device.
A number look wrong?
If a figure here disagrees with your testing platform, or you need something this page does not do, tell us. The form opens with the tool already filled in, so you only have to describe what happened.
More free tools
Other things you can do here
Every one of these runs the same way — on your device, with nothing uploaded.