P-Value: What It Means and How to Interpret It in Survey Results
Research methods
Mike Taylor Dec 1, 2026 Reading time ≈ 20 min
Contents
- What is a p-value?
- How to calculate a p-value: a survey A/B example
- How to interpret a p-value: what p = 0.05 means
- What a p-value does not tell you
- One-tailed vs two-tailed p-values
- P-value vs effect size: same gap, different p
- How to report a p-value
- Multiple comparisons: why slicing a survey by segments inflates false positives
- Common mistakes with p-values in surveys
- How to test your survey results in SurveyNinja
- Frequently asked questions
A p-value is the probability of getting a result at least as extreme as yours if the null hypothesis were true, that is, if there were no real difference or effect. A small p-value is evidence against that no-effect world, but it does not tell you how likely your hypothesis is or how large the effect is. This guide works through a survey A/B test step by step and covers how to read p = 0.05, one- and two-tailed tests, effect size and multiple comparisons.
Key points
- The p-value measures how compatible your data are with "no difference". It is not the probability that the null hypothesis is true.
- Set the significance level (alpha, usually 0.05) before you look at the data, then compare p with it.
- In the example, 52% of people who saw wording B finished the survey against 44% with wording A: p = 0.024, with a 95% confidence interval for the gap of 1.1 to 14.9 points.
- The same 8-point gap gives p = 0.42 with 50 people per group. A 2-point gap with 5,000 per group gives p = 0.044. Report the size of the difference next to p.
What is a p-value?
A p-value answers one narrow question: if nothing were going on, how often would chance alone produce a difference at least as large as the one you see? The "nothing is going on" world is the null hypothesis, H0. Our guide to the research hypothesis explains how to write H0 and H1; here you only need the idea that H0 is the claim of no difference.
The NIST/SEMATECH e-Handbook of Statistical Methods defines it as the probability of the test statistic being at least as extreme as the one observed, computed under H0. Every test turns your data into a statistic (z, t, χ²) and compares it with the distribution that statistic would have if H0 were true. The p-value is the area of that distribution beyond your result.
A small p-value means a result like yours would be rare without a real effect, so you have evidence against H0. A large p-value means a result like yours is common even with no effect, so the data give you no reason to reject H0. It never proves H0. A survey of 80 people can miss a real difference simply because 80 answers are too few to tell it from noise.
How to calculate a p-value: a survey A/B example
For two percentages, such as two completion rates, the usual test is the two-proportion z-test. Here it is on example data from a wording test.
A shop tests two wordings of the opening question of its feedback survey. Version A asks "How would you rate our service?" and version B asks "How did we do today?" Each version is shown to 400 people, assigned at random. Of those who saw A, 176 finish the survey (44%). Of those who saw B, 208 finish (52%). Is an 8-point gap something chance would produce often?
| Version | Saw it | Finished | Rate |
|---|---|---|---|
| A | 400 | 176 | 44% |
| B | 400 | 208 | 52% |
| Both | 800 | 384 | 48% |
- State the hypotheses and alpha before the data come in. H0: both wordings have the same completion rate. H1: the rates differ, in either direction (a two-tailed test). Alpha = 0.05.
- Pool the two groups. Under H0 there is one shared rate: 384 / 800 = 0.48.
- Compute the standard error of the difference under H0. SE = √(0.48 × 0.52 × (1/400 + 1/400)) = √0.001248 = 0.0353.
- Compute z. z = (0.52 − 0.44) / 0.0353 = 2.26. The observed gap is 2.26 standard errors away from zero.
- Turn z into p. For a two-tailed test, p = 2 × (1 − Φ(|z|)), where Φ is the standard normal distribution: the area beyond ±2.26 is 0.024, about 1.2% in each tail.
- Compare with alpha. 0.024 is below 0.05, so you reject H0. The data are hard to square with "both wordings perform the same".
The formula for z with a pooled proportion is the one in the NIST handbook section on comparing two proportions. To check the arithmetic, open the A/B test significance calculator, enter the people who saw each wording as visitors (400 and 400) and those who finished as conversions (176 and 208), and keep the 95% confidence level, which matches alpha = 0.05. It runs the same pooled two-sided z-test and shows z = 2.265 and p = 0.0235, a gap of +8 points and a relative lift of +18.2%. If your software gives you only a z statistic, the p-value calculator converts it: z = 2.265, two-tailed, gives p = 0.023513.
The test assumes each person is counted once, in one group, and assigned to a version at random. Each group also needs enough people who finished and enough who did not; our calculator warns when any of the four counts is below 5, a common rule of thumb for this normal approximation. With smaller counts, Fisher's exact test is the safer choice.
Which test gives the p-value for your survey question
The p-value is the last step; the test before it depends on the type of data. Nominal answers get counts and shares, never a mean. A 1–10 rating is ordinal: a mean and a t-test treat its steps as equal distances, and if you cannot assume that, a rank test such as the Mann–Whitney test avoids it.
| What you compare | Example | Test that gives p |
|---|---|---|
| Two percentages from independent groups | Completion rate of two wordings | Two-proportion z-test (A/B calculator) |
| Two mean scores | Satisfaction 1–10, new vs returning customers | t-test |
| Two categorical questions | Plan type by preferred contact channel | Chi-square test |
| A z statistic you already have | z from another tool or a paper | p-value calculator |
How to interpret a p-value: what p = 0.05 means
Compare the p-value with the significance level alpha you chose in advance. If p is below alpha, the result is statistically significant at that level and you reject H0; if p is equal to or above alpha, you do not reject it. NIST calls deciding the threshold before the test good practice and lists 0.10, 0.05 and 0.01 as the common choices.
Alpha = 0.05 means that when H0 is true, you will wrongly call a result significant in about 5% of tests. A smaller alpha, such as 0.01, lowers that risk and makes real effects harder to detect with the same sample. Pick it from the cost of a wrong call: a wording change that costs nothing to roll back can live with 0.05, a decision that is expensive to reverse deserves a stricter level.
Read the number with these habits:
- p = 0.024 at alpha 0.05: significant. Say "the data give evidence of a difference", then report how big it is.
- p = 0.06 at alpha 0.05: not significant. Don't call it "almost significant" or a "trend". The honest reading is that this sample cannot separate the gap from noise.
- p = 0.42: a gap this size is common with no real effect. That is different from showing there is no effect: the confidence interval tells you how large an effect the data still allow.
- p below 0.001: report it as p < .001 rather than "p = 0.000", which no test can produce.
What a p-value does not tell you
A p-value tells you how incompatible the data are with H0, and nothing more. In 2016 the American Statistical Association published a statement on p-values with six principles (Wasserstein and Lazar, The American Statistician), many of them aimed at common misconceptions and misuse. Here is how they apply to survey results.
| Common reading | What is actually true |
|---|---|
| "p = 0.024, so there is a 2.4% chance H0 is true." | p is computed assuming H0 is true. It cannot give the probability of H0 itself (ASA principle 2). |
| "There is a 2.4% probability that the result is due to chance." | The same error in other words, which principle 2 also names. |
| "p is tiny, so the effect is big." | p mixes effect size with sample size. A trivial effect reaches a tiny p with enough data (principle 5). |
| "p = 0.30, so the wordings perform the same." | Not rejecting H0 is not evidence for it. The sample may be too small. |
| "p crossed 0.05, so we ship it." | Decisions should not rest only on whether p passes a threshold (principle 3). Cost, size of the gap and how well the test was run matter as much. |
In an A/B test, random assignment makes the comparison of the two wordings fair; who took the survey decides how far the result carries. Our guide to non-probability sampling explains what convenience and opt-in samples can and cannot support.
One-tailed vs two-tailed p-values
A two-tailed test looks for a difference in either direction; a one-tailed test looks in one direction only. For a symmetric statistic such as z, the one-tailed p-value is half the two-tailed one when the result goes the predicted way.
In the example, the two-tailed p is 0.024. If you had stated in advance that only "B finishes more often than A" mattered, the one-tailed p would be 0.012 (the p-value calculator gives 0.011756 for z = 2.265, right-tailed). The NIST handbook on statistical tests describes a two-sided alternative as one that guards against departures in both directions. That is what most survey comparisons need: if the new wording made completion worse, you would want to know.
The one-tailed test is legitimate only when the direction was fixed before data collection and a result in the other direction would lead to the same decision as no difference. Switching to one tail after seeing a two-tailed p of 0.07 halves the p-value on paper and nothing else. Our A/B calculator always runs two tails.
P-value vs effect size: same gap, different p
A p-value depends on two things at once: how big the difference is and how many people you asked. That is why the size of the effect has to be reported separately. For two percentages, the effect size is simply the difference in points with its confidence interval.
Keep the example's gap, 44% vs 52%, and change only the number of people per wording:
With 50 people per wording, p = 0.42 and the 95% interval for the gap runs from −11.5 to +27.5 points: the data allow anything from B being 11 points worse to B being 27 points better. With 400 per wording, p = 0.024 and the interval is 1.1 to 14.9 points. With 5,000 per wording, p is below 0.000001 and the interval narrows to 6.0 to 10.0 points. The gap is the same in every row; only your ability to tell it from noise changed.
Now the reverse. With 5,000 people per wording, a gap of 2 points (44% vs 46%) gives p = 0.044, which is significant at 0.05. The interval runs from 0.1 to 3.9 points. Whether two extra completions per hundred respondents justify a change is a business question that the p-value cannot answer. Our article on the confidence interval shows how to compute and read these intervals, and the glossary entry on effect size covers Cohen's d for means.
The interval for the main example uses the standard error of each group separately: √(0.44 × 0.56 / 400 + 0.52 × 0.48 / 400) = 0.0352. The margin is 1.96 × 0.0352 = 0.069, so the gap is 8 ± 6.9 points.
How to report a p-value
Report the exact p-value with the test, the statistic and the effect size. In APA style, which many theses follow, p has no leading zero and is given to two or three decimals; values below 0.001 are written p < .001.
For the example, a ready sentence:
Completion was higher with wording B (52%, 208 of 400) than with wording A (44%, 176 of 400), a difference of 8 percentage points, 95% CI [1.1, 14.9], z = 2.26, p = .024, two-tailed.
Name the alpha you set and the number of tails. If you ran several comparisons, say how many and how you adjusted for them.
Multiple comparisons: why slicing a survey by segments inflates false positives
Each test at alpha = 0.05 carries a 5% risk of a false positive when there is no real difference, and across many tests these risks accumulate. Slicing one survey by device, country, plan and traffic source is running many tests.
Suppose the two wordings truly perform the same, and you compare them in 10 independent segments. The chance that at least one segment shows p < 0.05 is 1 − 0.95¹⁰ = 40%. With 20 segments it is 64%. Any segment that clears the bar in that situation looks like a discovery and is noise.
The simplest guard is the Bonferroni correction: divide alpha by the number of tests. With 10 segments, each one has to reach p < 0.005 instead of 0.05. The NIST handbook's page on Bonferroni's method shows the idea for a set of planned comparisons: splitting alpha this way keeps the joint confidence level at 1 − alpha or higher. Because that guarantee is a floor, the correction errs on the strict side: each segment needs much stronger evidence, so a real effect is easier to miss. That is the price of fewer false alarms.
Two habits help more than any correction. Decide which comparison is the main one before you collect data and treat the rest as exploration to confirm in a new survey. And report every test you ran, not only those that came out significant; the ASA statement calls full reporting and transparency a condition of valid inference (principle 4).
Common mistakes with p-values in surveys
Check these before a result goes into a report or a thesis.
- Choose the test by data type: shares for nominal answers, a t-test or a rank test for scores, chi-square for two categorical questions.
- State alpha, the test and one or two tails before the data come in.
- Report the effect size with its confidence interval next to every p-value.
- Do not stop an A/B test the first time p drops below 0.05. Stopping at the first significant look raises the false-positive rate, as simulations by Stefan and Schönbrodt (Royal Society Open Science, 2023) show; fix the sample size in advance with the sample size calculator.
- Do not run a z-test or t-test when the assumptions fail: tiny counts, the same person in both groups, or answers that are not independent.
- Do not generalize from an opt-in sample as if it were random.
For the full methods chapter of a thesis, including which tests to name and why, see our guide to the statistical treatment of data.
How to test your survey results in SurveyNinja
To test wordings, turn on the A/B test of a question, available on every plan including Free. Each respondent sees one variant, and the variant goes into the response export as a column. The report shows how many people saw each variant and how many finished, and marks a leader from 80% confidence; this completion comparison needs the Standard plan or higher. The leader tag is a quick signal. For a decision at the alpha you set in advance, enter the four counts into the free A/B test significance calculator and compare its p-value with alpha. The A/B testing feature page shows the setup step by step.
For other comparisons, export the responses to CSV, XLSX or SPSS, which every plan includes, build the counts or the two columns of scores, and run the matching test from the table above in our free calculators. They work without an account. To collect the data first, create a survey for free: sign-up asks only for an email and a password.
Frequently asked questions
What does a p-value of 0.05 mean?
It means that if there were no real difference, a result at least as extreme as yours would appear in about 5% of samples. With alpha set at 0.05, a result needs p below 0.05 to count as significant, so p = 0.05 exactly sits on the line and is at most weak evidence against H0. Look at the effect size and its confidence interval.
Is a p-value of 0.03 significant?
Yes, at alpha = 0.05, because 0.03 is below 0.05. It is not significant at a stricter alpha of 0.01. Significance only says the data are hard to explain with no difference. It does not say the difference is large or useful, so report the gap and its confidence interval, for example 8 points, 95% CI 1.1 to 14.9.
What does a high p-value mean?
A high p-value, such as 0.42, means a result like yours is common even when there is no real effect, so you cannot reject the null hypothesis. It does not prove there is no difference. With 50 people per group, the 8-point gap in our example gives p = 0.42 because the sample is too small to separate it from noise.
What is the difference between the p-value and alpha?
Alpha is the threshold you choose before the test, usually 0.05: the false-positive risk you accept when there is no real effect. The p-value is computed from your data after the test. You compare the two: if p is below alpha, the result is statistically significant at that level. Alpha stays fixed, while p changes with every new sample.
Should I use a one-tailed or two-tailed p-value?
Use two-tailed in most survey comparisons, because a change in either direction matters. A one-tailed p-value is half the two-tailed one for z, so it is tempting, but it is legitimate only when the direction was fixed before data collection and the opposite result would not change your decision. Never switch tails after seeing the data.
Does a small p-value mean the result is important?
No. A p-value mixes the size of the effect with the size of the sample. With 5,000 people per group, a 2-point gap in completion gives p = 0.044, which is significant but may be too small to matter. Judge importance from the effect size, its confidence interval and the cost of acting on it.
Published: Dec 1, 2026


