Statistical Significance Calculator for A/B Tests and Surveys
Compare two conversion rates or survey percentages and see whether the difference is larger than chance would explain.
What the calculator tests
Enter, for each group, how many people did the thing you are measuring (clicked, bought, answered “yes”) and how many were in the group. The calculator compares the two rates with a two-sided z-test for independent proportions.
It reports:
- the difference in percentage points (B − A) with a confidence interval;
- the relative lift, the difference as a share of A's rate;
- the p-value, and whether it falls below the threshold set by your chosen confidence level.
Example: 120 of 1,000 people convert with version A (12%) and 150 of 1,000 with version B (15%). The difference is +3.0 points, the relative lift is 25%, and the p-value is about 0.05, right at the conventional threshold.
How to read the p-value
The p-value is easy to misread. The American Statistical Association's statement (Wasserstein & Lazar, 2016) sets out six principles. The ones that matter most here:
- A p-value does not measure the probability that the studied hypothesis is true, or that the data were produced by chance alone.
- Business decisions should not be based only on whether a p-value passes a threshold such as 0.05.
- A p-value does not measure the size or importance of an effect. A tiny difference can be significant in a very large sample, and a large difference can fail the test in a small one.
That is why the calculator puts the difference and its interval first. If the interval runs from −0.1 to +6.1 points, your data are consistent with no improvement and with a sizeable one. The honest conclusion is to collect more data, not that B “lost”.
Use it correctly
- Fix the sample size in advance. Checking results every day and stopping as soon as p drops below 0.05 means choosing when to report based on the result, which the ASA statement says severely compromises interpretation. Use the sample size calculator before you start.
- Report every comparison you ran. The ASA statement warns that reporting only the significant results makes the p-values uninterpretable.
- Compare independent groups. The test assumes different people in A and B. For the same people measured twice, a paired test is needed.
Frequently asked questions
What does a p-value of 0.05 mean?
If there were no real difference and the test's assumptions held, a difference at least this large would appear about 5% of the time. It does not mean there is a 95% chance that B is better.
Can I use this for survey results?
Yes, for comparing a percentage between two independent groups, such as two customer segments or two waves with different respondents. For changes in NPS or CSAT between waves, compare the underlying proportions.
How do I test media variants before spending on traffic?
A synthetic media A/B review can show how simulated audiences react to two creatives and why. It is a rehearsal, not a measured conversion rate, so confirm the winner with a live test. See pricing.
Sources and editorial method
The calculation is a standard two-proportion z-test with an unpooled confidence interval for the difference. The example is illustrative. The interpretation follows the ASA statement, which did not evaluate this calculator.
- Wasserstein, R. L., & Lazar, N. A. (2016). The ASA's statement on p-values: Context, process, and purpose. The American Statistician, 70(2), 129–133. DOI: 10.1080/00031305.2016.1154108.