Free tools / Statistical Significance Calculator

Free tool

Statistical Significance Calculator

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

Confidence level

Result

Significant

p = 0.0308
Group A
20.0%
Group B
24.0%

Group 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).

Group A result
20.0%
Group B result
24.0%
Difference
+4.0 pts
Range of the difference (95%)
+0.4 to +7.6 pts
Relative change
+20%
z score
2.16
p-value (two-tailed)
0.0308

You have the number. Now ask the question.

Say it in a sentence. SegmentOS writes the survey, and real people answer it.

Free to start. No card needed.

How to use it

Two groups, one answer.

Group A
People who answered1,000
Said yes200
Result20.0%
01

Enter each group

For each group, type how many people answered and how many said yes, bought or clicked. Or switch to percentages.

Confidence level95%
90%95%99%
Counts as significantp < 0.05
02

Pick a confidence level

95% is the research standard. Use 99% when a wrong call is expensive and 90% for early tests.

ResultSignificant
Difference+4.0 pts
Range (95%)+0.4 to +7.6 pts
p-value0.031
03

Read the verdict

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

Real difference, or noise?

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.

20% against 24% at 95%
200 per groupp = 0.33
500 per groupp = 0.13
1,000 per groupp = 0.031

Sample size decides

The same 4-point gap can be noise with 200 people per group and real with 1,000.

10,000 per group
Group A20.0%
Group B21.2%
p-value0.036

Significant is not the same as big

With very large samples, tiny gaps become significant. Check the size of the difference before you act on it.

To prove 20% against 24%
At 90%1,326 per group
At 95%1,683 per group
At 99%2,504 per group

Plan the sample before the test

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

How the test works

The two-proportion z test

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.

Responses per group to prove a gap

Starting from a result of 20%, with 80% power: the chance of catching a gap that is really there.

Gap90% confidence95% confidence99% confidence
20% vs 22%5,1286,5109,687
20% vs 23%2,3182,9434,379
20% vs 24%1,3261,6832,504
20% vs 25%8621,0941,628
20% vs 30%231294437

Questions

About statistical significance

Planning a test? Find your sample size

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

Related studies and tools

Get two groups worth comparing.

SegmentOS writes the survey from one sentence. Send it to your own list or to a verified audience.

Free to start. No card needed.