A/B test significance calculator
Enter visitors and conversions for each variant. You find out whether the difference between the two conversion rates is statistically significant, with the z-score and p-value.
- Checked against reference values
- Free, no sign-up
- Nothing leaves your browser
Enter the test results
Assumptions and limitations
- Two-sided z-test for two proportions with a pooled standard error.
- Visitors are split between the variants at random, and each visitor is counted once.
- At least 5 conversions and 5 non-conversions in each variant. With fewer the calculator warns you: Fisher's exact test is more reliable then.
Collect real answers in a SurveyNinja survey and see them in charts in the report.
Use this template See the questions firstData is not stored — calculation runs in your browser.
Ready-made template
Do it with your own respondents
The “Market research survey” template already has the questions. Put in your company name, share the link and watch the answers come in.
- Copy the template: the questions are written
- Share it by link, QR code or a widget on your site
- Read the results in the report with charts
New accounts get 14 days of Premium features, no credit card.
What does statistical significance mean in an A/B test?
An A/B test result is statistically significant when the gap between two conversion rates is too large to be explained by chance alone. The test computes a p-value, the probability of a gap at least this large if both variants converted equally; below 0.05 the result is significant at 95% confidence. For example, 10% vs 13% with 1,000 visitors each gives p = 0.0355.
How the significance test works
-
Formula
z = (p_B − p_A) / √(p × (1 − p) × (1/n_A + 1/n_B)), where p_A and p_B are the conversion rates and p is the pooled rate of both variants together. The p-value is the two-sided tail of the standard normal distribution beyond |z|.
-
How to read the p-value
The p-value is the probability of seeing a difference at least this large if both variants really converted at the same rate. Below 0.05 the result is significant at the 95% level, below 0.01 at the 99% level.
-
Points and percent
From 10% to 13% is a difference of 3 percentage points and a relative change of +30%. When variant A has 0% conversion the relative change is undefined, so only the points are shown.
-
Higher or lower is better
For sign-ups and purchases a higher rate is better. For cart abandonment, bounces or complaints choose "Lower is better" so the verdict names the right winner.
A/B test examples
-
Conversion: variant A vs B
- Variant A: 100 conversions from 1,000 visitors (10%). Variant B: 130 from 1,000 (13%).
+3 percentage points, +30%. z = 2.103, p = 0.0355: significant at 95%, not at 99%.
-
CTA clicks
- Variant A: 45 clicks from 500 (9%). Variant B: 52 from 500 (10.4%).
+1.4 points. z = 0.748, p = 0.4545: not significant. This sample is far too small to detect a difference of this size.
-
Sign-ups
- Variant A: 80 from 2,000 (4%). Variant B: 120 from 2,000 (6%).
+2 points, +50%. z = 2.902, p = 0.0037: significant at 95% and at 99%.
-
Cart abandonment (lower is better)
- Control: 200 abandoned carts from 1,000 (20%). New checkout: 150 from 1,000 (15%). Choose "Lower is better".
−5 points, −25%. z = −2.942, p = 0.0033: significant, and variant B is better because fewer people abandon the cart.
-
Newsletter sign-up
- Variant A: 30 sign-ups from 600 (5%). Variant B: 42 from 600 (7%).
+2 points, +40%. z = 1.459, p = 0.1447: not significant. The lift may be real, but 600 visitors per variant cannot confirm it.
-
Purchase conversion
- Old landing page: 25 purchases from 500 (5%). New landing page: 35 from 500 (7%).
+2 points, +40%. z = 1.332, p = 0.1830: not significant. Keep the test running to the planned sample size before deciding.
What to avoid
-
Stopping the test early
Wait for the planned sample size. Checking the p-value every day and stopping at the first p < 0.05 (peeking) inflates the share of false positives.
-
Comparing many groups without a correction
The more pairwise comparisons, the higher the chance that one of them is significant by luck. Fix one primary metric before launch, or correct for multiple comparisons.
-
Confusing statistical and practical significance
A difference can be significant and still too small to matter for the business. Look at the size of the difference, in points and in percent, not only at the p-value.
-
Not planning the sample size before launch
Work out the sample size you need with the minimum sample size for comparison calculator. Otherwise the test may be too small to detect a real effect.
Next step
Collect the data for this analysis
Build the survey in SurveyNinja, share the link in your email or chat, or as a QR code, and export the answers to Excel, CSV or SPSS on every plan.
- Ready questions or AI from a description
- A link for your email or chat, a QR code or a widget on your site
- Charts in the report, export to Excel, CSV and SPSS
FAQ about A/B test significance
What is statistical significance?
A result is statistically significant when its p-value is below the level you chose: 0.05 for 95% confidence. That means a difference this large would be unlikely if the variants really converted equally. It does not mean there is a 95% probability that B is better than A.
How many visitors or conversions does a test need?
It depends on the baseline conversion rate and on the smallest difference you want to detect: the smaller the difference, the larger the sample. Work it out before launch with the minimum sample size for comparison calculator.
What if the result is not significant?
Either the difference is too small to detect with this sample, or there is no difference. If you have not reached the planned sample size, keep the test running; if you have, treat the variants as equivalent for now.
What is test power?
The probability of detecting a real effect of a given size if it exists. 80% is the usual convention. With low power you may miss a real improvement; a larger sample raises power.
Can I stop the test early if I see a difference?
Not with this test. Repeated checks with a stop at the first significant result give false positives far more often than 5%. Set the sample size in advance, or use sequential methods designed for interim checks.
What does p-value = 0.05 mean?
If the variants were equal, a difference at least this large would appear in 5% of tests. It is not the probability that B is better than A: the p-value describes the data assuming no difference, not the hypotheses.
What test does the calculator use?
A two-sided z-test for two proportions with a pooled standard error. It suits conversion data when each variant has enough conversions and non-conversions. For very small counts, Fisher's exact test is preferred.
Where can I run an A/B survey test?
In SurveyNinja an A/B test shows two versions of a question's wording to different respondents on any plan, and from Standard the report marks the version more people complete with its confidence level. To compare other numbers, export the data and check significance here.
Learn the method
Read how the method works and where its numbers come from.
Agent skills
Do this with your AI assistant
Free agent skills for Claude Code, Codex, Cursor and Gemini CLI that do this job in your SurveyNinja account.
All agent skills
Turn the numbers into a survey
Start from the “Market research survey” template: the questions are ready.
Cross-Sectional Study vs Longitudinal Study: Differences, Types and Survey Examples