Canonical: https://toolipedia.app/a-b-test-calculator

# A/B Test Calculator

Compares the conversion rates of two variants with a z-test, gives the p-value, lift and confidence interval, and works out the visitors needed per variant before you start.

Breadcrumbs: Toolipedia > Online calculators > Maths and school calculators > A/B Test Calculator

## About A/B Test Calculator

Enter the visitors and conversions of the control (A) and the variant (B) to see whether the difference is statistically significant. The result shows both conversion rates, the absolute difference in percentage points, the relative lift, the pooled z-score, the p-value and a confidence interval for the difference. A second mode plans the test: from a baseline rate and the smallest lift worth detecting, it gives the visitors needed per variant. With 100 of 1000 versus 130 of 1000 conversions, z = 2.1027 and p = 0.0355; detecting 10 percent to 12 percent at 80 percent power needs 3,841 per variant.

## How to use A/B Test Calculator
1. Choose whether to test results or to plan a test.
2. For results, type the visitors and conversions of A and B; for planning, type the baseline rate, the effect to detect and the power.
3. Read the p-value and confidence interval, or the visitors needed in each version.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.

## Also known as
- a b test calculator
- ab test significance calculator
- ab test sample size calculator
- conversion rate significance calculator
- split test calculator
- two proportion z test calculator

## Frequently asked questions

### When can I stop an A/B test?

Decide the sample size before you start and stop when you reach it. Stopping early because the p-value dipped under 0.05 inflates false positives far above the stated 5 percent.

### What is the difference between absolute and relative lift?

Absolute lift is the difference in percentage points, such as 10 percent to 13 percent being 3 points. Relative lift divides that by the baseline, so the same change is a 30 percent lift.

### Does this tool work for small counts?

The z-test is reliable when each version has roughly ten or more conversions and ten or more non-conversions. With fewer, use an exact test such as the Fisher exact test.

### Is A/B Test Calculator free?

Yes. A/B Test Calculator on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

### Can I put A/B Test Calculator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

## Related tools

More free tools that go well with A/B Test Calculator:
- [Confidence interval calculator](https://toolipedia.app/confidence-interval-calculator)
- [Critical Value and P-Value Calculator](https://toolipedia.app/critical-value-and-p-value-calculator)
- [T-Test and Z-Test Calculator](https://toolipedia.app/t-test-and-z-test-calculator)
- [Test score calculator](https://toolipedia.app/grade-percentage-calculator)
- [Statistical Power and Sample Size for Means](https://toolipedia.app/statistical-power-and-sample-size-for-means)
