Enter each group
For each group, type how many people answered and how many said yes, bought or clicked. Or switch to percentages.
Free tools / Statistical Significance Calculator
Free tool
Compare two groups, or two versions of an A/B test. Enter how many people answered and how many said yes, and see whether the difference is real or could be chance.
Your two groups
Change any number. The result updates as you type.
Group A
Group B
Result
Significant
p = 0.0308Group B's 24.0% is higher than Group A's 20.0%, and at 95% confidence the difference is real. If the two groups were truly the same, a gap this big would turn up by chance about 3 times in 100 (p = 0.0308).
How to use it
For each group, type how many people answered and how many said yes, bought or clicked. Or switch to percentages.
95% is the research standard. Use 99% when a wrong call is expensive and 90% for early tests.
Significant means a gap this big would rarely appear by chance. Under it you get the p-value and the range of the difference.
What the result means
A difference is significant when it would rarely turn up by chance if the two groups were really the same. The p-value says how rarely: below 0.05 means less than 5 times in 100.
The same 4-point gap can be noise with 200 people per group and real with 1,000.
With very large samples, tiny gaps become significant. Check the size of the difference before you act on it.
When a gap isn't significant, the calculator says how many responses per group would prove a gap that size.
The test assumes each person is counted once and the two groups are different people, picked the same way. For the same people before and after, use a paired t-test.
The math
z = (p₂ − p₁) ÷ √(p × (1 − p) × (1/n₁ + 1/n₂))
p₁ and p₂ are the two results, n₁ and n₂ the group sizes, and p the result of both groups together. The p-value is the chance of a z this far from 0 if the groups were the same. Worked example: 200 of 1,000 against 240 of 1,000 gives p = 0.22, z = 2.16 and a two-tailed p-value of 0.031.
Starting from a result of 20%, with 80% power: the chance of catching a gap that is really there.
| Gap | 90% confidence | 95% confidence | 99% confidence |
|---|---|---|---|
| 20% vs 22% | 5,128 | 6,510 | 9,687 |
| 20% vs 23% | 2,318 | 2,943 | 4,379 |
| 20% vs 24% | 1,326 | 1,683 | 2,504 |
| 20% vs 25% | 862 | 1,094 | 1,628 |
| 20% vs 30% | 231 | 294 | 437 |
What does statistically significant mean?
A difference is statistically significant when it would rarely appear by chance if the two groups were really the same. At 95% confidence, rarely means less than 5 times in 100, which is a p-value below 0.05.
What p-value counts as significant?
Below 0.05 is the common standard, the same as 95% confidence. Use 0.01 when a wrong call is expensive and 0.10 for early, exploratory tests. Pick the level before you look at the results.
Can I use this for an A/B test?
Yes. Enter the visitors and conversions for each version and the calculator compares the two conversion rates. Run the test to the sample size you planned: stopping the moment it turns significant makes false wins more likely.
Why is my difference not significant?
Usually the groups are too small for the size of the gap, and the calculator shows how many responses per group you would need. A result that isn't significant doesn't prove the groups are the same. It means the data can't tell them apart yet.
Is this a one-tailed or two-tailed test?
Two-tailed: it checks for a difference in either direction, which is the safe default. A one-tailed test halves the p-value, but only counts a difference in the direction you named before the test.
What if my results are averages, not percentages?
Use the t-test calculator. This one is for yes or no results, such as said yes, bought or clicked. Averages, such as a rating from 1 to 5 or money spent, need a t-test.
Keep going
SegmentOS writes the survey from one sentence. Send it to your own list or to a verified audience.
Free to start. No card needed.
Free calculators
Templates
Learn