A/B Test Calculator

A/B Test Calculator

Beta

The best A/B test calculator is one that helps you both plan and analyse experiments, not just calculate statistical significance.

Our calculator lets you estimate sample size, predict test duration, choose an appropriate Minimum Detectable Effect (MDE), perform power analysis, and analyse completed experiments using standard statistical methods.

All statistics run here in your browser. Your numbers are never uploaded or stored on a server.

What would you like to do?

Choose whether you are sizing a test, analysing results, or learning the concepts behind the numbers.

Set the playground assumptions

These controls feed the interactive guides below.

Confidence level
Tails
Statistical power

Explore the interactive guides

Use the playground and concept pages to build intuition for the statistics.

Interactive guide

Adjust the scenario

5.0%
5.5%
10,000

What the stats say

Not significant
p = 0.1129
z = 1.585
Control
5.00%
500 / 10,000
Variant
5.50%
550 / 10,000
Relative uplift
+10.00%

Relative uplift 95% CI: −2.23% to +23.76%

Each curve shows where the true rate could plausibly sit. More overlap = harder to tell variants apart.

At 95% confidence, the curves still overlap enough that this could be random noise. Try increasing visitors per variant or waiting for a larger gap.

Learn A/B testing concepts

Interactive guides on the law of large numbers, with more concept pages coming soon.

Law of large numbers

Why uplift looks noisy with few visitors and stabilises as your sample grows.

Open interactive guide →

Statistical power

Coming soon

How power, MDE, and sample size interact, and why under-powered tests miss real wins.

P-hacking

Coming soon

Why peeking and testing many metrics inflates false positives and makes noise look real.

Type I & Type II errors

Coming soon

How false alarms and missed wins trade off as you tighten your thresholds.

Simpson's paradox

Coming soon

Why segment results can disagree with the headline when traffic mix shifts.

Distribution types

Coming soon

Normal, binomial, and skewed revenue data, and when a t-test still holds up.

Frequently asked questions

What is an A/B test calculator?

An A/B test calculator is a tool that helps you design and interpret split tests. Before you launch, it works out how many visitors you need and how long to run the test. After you have results, it checks whether the difference between control and variant is statistically significant, and shows conversion rate, uplift, confidence intervals, and p-values without manual spreadsheet work.

How does this A/B testing calculator work?

Use Plan a test to estimate sample size and test duration from your baseline conversion rate, MDE, traffic, confidence level, and statistical power. When your test finishes, open Analyse results to check significance. Paste control and variant counts or upload revenue data to see p-values, uplift, and confidence intervals.

Is my A/B test statistically significant?

Enter visitors and conversions for your control group and each variant, or upload revenue data. The tool runs the right test (a z-test for conversion rate or Welch's t-test for revenue) and compares the p-value to your confidence level. You get a plain-English verdict and a confidence interval for the uplift.

What sample size do I need for A/B testing?

It depends on baseline conversion rate, minimum detectable effect, confidence level, statistical power, and how many variants you run. Plan a test returns visitors needed per variant, total traffic, and estimated weeks to reach that sample at your current volume.

How long should an A/B test run?

Run until you hit the sample size your plan requires. Stopping early inflates false positives. Ideally cover one to two full business weeks so weekday and weekend patterns are both represented. Plan a test estimates duration from your traffic.

What confidence level should I use in A/B testing?

Confidence level is how sure you want to be before calling a winner. 95% is the usual default (about a 1-in-20 false-positive risk). This calculator supports 90%, 95%, and 99%. Higher confidence needs more traffic but reduces false alarms.

What is a confidence interval in A/B testing?

A confidence interval is the range where the true uplift likely falls at your chosen confidence level. If the uplift interval excludes zero, the result is statistically significant. The interval also shows how large the effect might be, not just whether it cleared the bar.

What is statistical power in A/B testing?

Statistical power is the probability your test detects a real lift when one exists. At 80% power (the default here) there is roughly a one-in-five chance of missing a genuine winner. Set power alongside confidence level in Plan a test before you start.

What is the minimum detectable effect (MDE)?

The MDE is the smallest relative uplift you want the test to reliably spot. For example, 10% on a 2% baseline means detecting a move from 2.00% to 2.20%. Smaller MDEs need much larger samples. Pick an MDE based on the smallest change that would actually change your decision.

What is a p-value in A/B testing?

The p-value answers: if there were truly no difference between control and variant, how often would you see a gap at least this large just from randomness? If p-value is below your significance threshold (e.g. 0.05 at 95% confidence), the result is statistically significant.

One-sided vs two-sided test: which should I use?

A two-sided test asks whether the variant is different, better or worse. A one-sided test asks only whether it is better. Use one-sided only when a decrease in conversion rate would be treated exactly the same as no change. Two-sided is the default here.

Can this A/B testing calculator handle more than two variants?

Yes. Compare three or more variants against control at once. Holm-Bonferroni correction is applied automatically so your overall false-positive rate stays near your confidence level. You can also set unequal traffic splits.

Can I measure revenue, not just conversion rate?

Yes. Upload order-level revenue data to measure revenue per visitor (RPV) and average order value (AOV). Revenue is analysed with Welch's t-test for skewed data. You can cap outliers at the 90th, 95th, or 99th percentile before analysis.

What is a sample ratio mismatch (SRM)?

A sample ratio mismatch happens when actual traffic splits do not match the planned allocation, often pointing to a tracking or redirect bug. Eclipse flags mismatches in results so you can check your implementation before acting on the numbers.