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.

Configure your statistical settings

Pick your metric, then set confidence, tails, goal direction, and power.

Which metric would you like to use with the sample size calculator?

Confidence level
Tails
Goal direction
Statistical power

Enter your planning inputs

Enter your baseline and target uplift to estimate sample size and duration.

Traffic split

Sample size results

Fill in your test details and select calculate to see your results here.

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.

Other calculators

Bayesian A/B testing, sequential sampling, false discovery rate control, and specialised significance tests, coming soon.

Sequential testing

Coming soon

Plan interim looks and efficacy boundaries for sequential sampling. Stop a test early without inflating Type I error on the null hypothesis.

Poisson means test

Coming soon

Compare count rates per unit of exposure with a chi-squared-style check: errors per day, orders per 1,000 sessions, or tickets per user-week.

Survival curves

Coming soon

Compare time until churn, activation, or purchase with Kaplan-Meier curves and a log-rank test when test duration matters more than conversion rate alone.

FDR / TDR control

Coming soon

Control false discovery rate when testing many metrics or variants. Estimate how many significant results are real vs Type I errors.

Bayesian A/B test

Coming soon

Bayesian A/B testing: combine prior beliefs with control and variant conversions to estimate the probability the variant beats control.

Sample ratio mismatch

Coming soon

Check whether actual visitor counts match your planned traffic split. Flag sample ratio mismatches before trusting A/B test results.

Chi-square test

Coming soon

Run a chi-square test on conversion or count data across variants. Test whether observed differences are beyond what random variation would explain.