P-value
Glossary Nov 18, 2026 Reading time ≈ 6 min
- Topic
- Data analysis and statistics
- Calculator
- P-value calculator
Contents
A p-value is the probability of getting a result at least as extreme as the one you observed if there were really no effect or difference (the null hypothesis). A small p-value, such as 0.01, means your data would be unusual in a world with no effect. A large one, such as 0.40, means the data fit that world well enough.
In survey research, p-values appear when you compare two groups, two waves or two versions of a survey: is a 4-point gap in satisfaction between two regions real, or the kind of gap random sampling produces all the time? The p-value is one input to that answer, not the whole answer.
What a p-value means in plain language
P-value: assuming the null hypothesis is true, the probability of seeing data as extreme as yours, or more extreme, just because of which people happened to end up in the sample.
Three parts of this definition matter:
- "Assuming the null hypothesis is true." The calculation starts from a world with no effect: both groups are equally satisfied, both subject lines get the same response rate. How the null and alternative hypotheses are set up is explained in hypothesis testing.
- "As extreme or more extreme." The p-value is not the probability of your exact result. It covers every result at least as far from "no effect" as yours.
- It describes the data, not the hypothesis. A p-value says how compatible the data are with "no effect". It does not say how likely "no effect" is to be true.
How to read a p-value
Before collecting data, you choose a significance level, called alpha (α). The usual choice is 0.05. Stricter work uses 0.01, and quick business checks sometimes use 0.10. After the test, you compare the p-value with it:
| Result | What you can say at α = 0.05 |
|---|---|
| p ≤ 0.05 | The difference is statistically significant at the 5% level: data like these would be unusual if there were no real difference. You reject the null hypothesis. |
| p > 0.05 | Not significant at the 5% level: the data do not give enough evidence against "no difference". You do not reject the null hypothesis, which is not the same as proving there is no difference. |
Report the exact value (p = 0.031) rather than only "p < 0.05". A p-value of 0.049 and one of 0.051 carry almost the same evidence, even though they fall on different sides of the line. How to choose the threshold is covered in statistical significance.
Worked example: two invitation subject lines
An online store sends its satisfaction survey with two email subject lines, 1,000 invitations each. Version A gets 200 responses (20%), version B gets 240 (24%). Is the 4-point gap real?
- Null hypothesis: both subject lines have the same response rate.
- Pooled response rate: (200 + 240) ÷ 2,000 = 0.22.
- Standard error of the difference: √(0.22 × 0.78 × (1/1,000 + 1/1,000)) ≈ 0.0185.
- z = (0.24 − 0.20) ÷ 0.0185 ≈ 2.16.
- Two-tailed p-value for z = 2.16: about 0.031.
Reading: if the two subject lines really performed the same, a gap of 4 points or more in either direction would show up in about 3% of tests this size. At α = 0.05 the difference is statistically significant.
Now take the same 20% against 24% with 200 invitations per version (40 and 48 responses). The z-score falls to about 0.97 and the p-value rises to about 0.33. Same gap, different verdict: the p-value depends on the sample size as much as on the size of the effect. The A/B test significance calculator runs these steps for your own counts, and the p-value calculator turns any z-score into a one-tailed or two-tailed p-value.
What a p-value does not mean
Most of these warnings appear in the American Statistical Association's 2016 statement on p-values:
- It is not the probability that the null hypothesis is true. p = 0.03 does not mean "a 3% chance that there is no difference".
- It is not the probability that the result is due to chance, and 1 − p is not the probability that version B is better. "We are 97% sure B wins" is a wrong reading of p = 0.03.
- It does not measure the size or importance of an effect. With 10,000 respondents per group, a 0.1-point difference on a 0–10 rating (standard deviation 2) gives p ≈ 0.0004, and nobody would change a product over it. Look at the effect size and the confidence interval as well.
- p > 0.05 does not prove there is no effect. Often the sample was too small to detect it, as in the 200-invitation example above.
- 0.05 is a convention, not a law of nature. It is a widely used line, not a border between true and false.
Where p-values come from in survey analysis
| Question | Usual test | Tool |
|---|---|---|
| Do two groups differ in a share (satisfied, completed, clicked)? | Two-proportion z-test | A/B test significance calculator |
| Do two groups differ in a mean score (a 1–10 rating, an index)? | Welch's t-test | T-test calculator |
| Are two categorical answers related (plan and satisfaction)? | Chi-square test | Chi-square test calculator |
| Are two numeric answers related? | Test of Pearson's r | Pearson correlation calculator |
| You already have a z-score | Normal distribution | P-value calculator |
One-tailed or two-tailed? A two-tailed p-value counts extreme results in both directions (B better or worse than A) and is the default. For the same z-score a one-tailed p-value is half as large, and it is justified only if you decided before seeing the data that a difference in the other direction does not interest you.
Common mistakes with p-values in surveys
- Testing every segment and reporting the "winners". With 20 independent comparisons at α = 0.05 and no real differences anywhere, you should expect about one significant result by chance, and the probability of at least one is about 64%. Choose the key comparisons in advance, or make α stricter: the Bonferroni correction divides it by the number of tests.
- Stopping a test when p first drops below 0.05. Checking a running test every day and stopping at the first significant reading inflates false positives. Fix the sample size before you start with the two-group sample size calculator.
- Computing p-values for a convenience sample. The calculation assumes random sampling or random assignment. When the answers come from a link posted in one channel, the p-value says little about the wider population.
- Reporting p without the numbers behind it. Write "24% vs 20%, 1,000 invitations per version, p = 0.031", not just "significant".
For a longer walkthrough of which test to choose and how to describe the results in a thesis or a report, see Statistical treatment of data.
Published: Nov 18, 2026
Google Forms Limits: Responses, File Uploads, Timers and Logic, With Workarounds
Mike Taylor