FreeRuns in your browserNo sign-up

Significance test calculator

Is the gap between two survey numbers real, or just sampling noise? Compare two percentages, two means, or a whole crosstab row and get the answer in plain words.

Your numbers

95% is the usual standard; 99% is stricter.
Group 1
Group 2

WORKING

Reading your numbers…

Show the full statistics

01How to use this calculator

Pick a tab for the test you need. For percentage questions (yes/no, top-2-box, brand consideration) use Two proportions. For rating or scale means use Two means. For a whole crosstab row where you want to see which columns are significantly higher than which, use Crosstab row. Type your base sizes and values straight from your banner table. Everything recalculates as you type. Nothing is uploaded; the maths runs in your browser.

02How it is calculated

Two proportions. Under the null hypothesis the two groups share one true proportion, so we pool them to estimate it. With x1=n1p1 and x2=n2p2:

p = (x1 + x2) / (n1 + n2)
SE_pooled = sqrt( p (1 − p) (1/n1 + 1/n2) )
z = (p1 − p2) / SE_pooled
p-value = 2 · (1 − Φ(|z|))

The confidence interval of the difference uses the unpooled standard error, because the interval is about the difference itself and makes no null assumption:

SE_unpooled = sqrt( p1(1−p1)/n1 + p2(1−p2)/n2 )
CI = (p1 − p2) ± z* · SE_unpooled

Two means (Welch). When variances may differ, Welch's t-test is the honest choice:

SE = sqrt( s1²/n1 + s2²/n2 )
t = (m1 − m2) / SE
df = (s1²/n1 + s2²/n2)² / ( (s1²/n1)²/(n1−1) + (s2²/n2)²/(n2−1) )

The Student-t CDF here is computed from the regularized incomplete beta function evaluated with a Lentz continued fraction, so p-values and critical values are accurate to many decimals without needing a table.

03Worked example

Suppose column A has a top-2-box of 45% on a base of 200 and column B has 35% on a base of 200. Pooled proportion is 0.40, pooled SE is √(0.24·0.01) = 0.04899, so z = 0.10 / 0.04899 = 2.041 and the two-tailed p-value is 0.0412. That is below 0.05, so A is significantly higher than B at 95%. The unpooled SE for the interval is √(0.45·0.55/200 + 0.35·0.65/200) = 0.04873, giving a 95% confidence interval of the difference of +0.4 to +19.6 percentage points. In a banner table A would get an uppercase B next to it.

04Reading sig letters in a crosstab

Each column is given a letter (A, B, C …). Under a column's percentage, you see the letters of the columns it is significantly higher than. Uppercase means the test cleared the 95% level, lowercase means it only cleared 90%. The letters are read from the column you are looking at, outwards; a column never prints its own letter. The pairwise comparisons here are stand-alone two-proportion z-tests; they do not apply a multiple-comparison correction by default, which matches how most banner table software behaves.

05Common mistakes

Dependent samples. If both columns come from the same respondents (say pre and post), a two-sample test is wrong. You want a paired test, usually McNemar's for proportions. Multiple comparisons. Running many pairwise tests inflates the chance of a false positive. For a wide crosstab, treat anything that is only borderline significant as directional. Tiny bases. If n·p or n·(1−p) is below 5, the normal approximation breaks down; the calculator warns you. Consider Fisher's exact test or wider confidence intervals. Weighting and design effect. Always test on the effective base (weighted base divided by the design effect), not the raw weighted base, or you will overstate significance.

Questions people ask

What is the difference between 90% and 95% confidence?

A 95% test is stricter. It requires stronger evidence before calling a difference real, so you will see fewer significant differences but you are less likely to be fooled by noise. A 90% test is more lenient and useful for flagging directional reads in exploratory tables, which is why banner tables often show 95% in UPPERCASE letters and 90% in lowercase letters.

Why use the pooled standard error for the test but unpooled for the confidence interval?

The null hypothesis says the two proportions are equal, so under the null we should estimate one common proportion by pooling both groups. That gives the most accurate standard error for the test statistic. The confidence interval describes the difference itself with no such assumption, so it uses each group's own proportion in an unpooled standard error.

What if my base size is small?

The normal approximation underlying the z-test becomes unreliable when any of n·p or n·(1−p) is below 5. The calculator warns you in that case. With very small bases, prefer an exact test such as Fisher's exact test, and treat the numbers as directional only.

What does the p-value actually mean?

The p-value is the probability of seeing a difference at least as large as the one you observed, if the two groups actually had the same underlying percentage. A small p-value means the data would be surprising under "no real difference", which is why we take it as evidence that a real difference exists.

Can I use weighted bases?

Yes, but with care. Enter the effective base size, not the raw count. The effective base is the weighted base divided by the design effect from your weights. Using the raw weighted base will overstate significance because it ignores the loss of precision from weighting.

Does this work for top-2-box or NPS-style scores?

For top-2-box or any percentage-based summary (yes to a statement, buy intent top-2, brand consideration), use the two proportions tab: enter the percentage and the base of each column. For mean ratings on a scale, use the two means tab with the mean, standard deviation and base. NPS as a net score has its own variance; a two-proportion test on promoters alone is often a safer practical approach.

More free tools