P-value calculator
Enter a z-score and choose a two-tailed or one-tailed test. You get the p-value and see whether the result is significant at α = 0.10, 0.05 or 0.01.
- Checked against reference values
- Free, no sign-up
- Nothing leaves your browser
Parameters
The z statistic of your test, positive or negative
Assumptions and limitations
- Under the null hypothesis the z statistic follows the standard normal distribution (z-tests for proportions, or for means with a large sample).
- For a t statistic with few degrees of freedom this calculator gives a p-value that is too small: use a t-test calculator instead.
- Choose a one-tailed test only if the direction was fixed before you saw the data.
Collect real answers in a SurveyNinja survey and see them in charts in the report.
Use this template See the questions firstData is not stored — calculation runs in your browser.
Ready-made template
Do it with your own respondents
The “Likert scale survey” template already has the questions. Put in your company name, share the link and watch the answers come in.
- Copy the template: the questions are written
- Share it by link, QR code or a widget on your site
- Read the results in the report with charts
New accounts get 14 days of Premium features, no credit card.
What is a p-value?
A p-value is the probability of getting a result at least as extreme as the one observed if the null hypothesis were true. From a z-score, the two-tailed p-value is 2 × (1 − Φ(|z|)), where Φ is the standard normal distribution. A result is statistically significant when p falls below the level α set in advance, usually 0.05. For example, z = 2.5 gives p = 0.0124.
How the p-value is calculated from z
-
Formula
Two-tailed: p = 2 × (1 − Φ(|z|)). Right-tailed: p = 1 − Φ(z). Left-tailed: p = Φ(z). Φ is the cumulative distribution function of the standard normal distribution.
-
Significance level α
Pick α before the test. If p < α, reject the null hypothesis: the result is statistically significant at level α. If p ≥ α, the data do not give enough evidence against it.
-
Which tail
Two-tailed checks a difference in either direction and is the usual choice, for example in A/B tests. One-tailed checks only "greater than" (right) or only "less than" (left).
-
What p does not tell you
The p-value is not the probability that the null hypothesis is true and says nothing about the size of the effect. Report the effect and its confidence interval next to p.
Examples: z-score and p-value
-
z = 1.96 (two-tailed)
- The critical value for α = 0.05
p = 0.049996. Just below 0.05, so the result is significant at α = 0.05, with no margin to spare.
-
z = 2.5 (two-tailed)
- Stronger deviation
p = 0.012419. Significant at α = 0.05 but not at α = 0.01.
-
z = 3 (two-tailed)
- Very strong deviation from H0
p = 0.002700. Significant at α = 0.01: strong evidence against the null hypothesis.
-
z = 1.0 (two-tailed)
- Weak deviation
p = 0.317311. Not significant at α = 0.05: a deviation this large is common when there is no effect.
-
z = 2.576 (two-tailed)
- The critical value for α = 0.01
p = 0.009995. Significant at α = 0.01, a stricter level used for important decisions.
-
z = 1.65 (right-tailed)
- One-tailed test: only "greater than"
p = 0.049471. Significant at α = 0.05 one-tailed; the same z gives p = 0.098943 two-tailed.
-
z = 5 (two-tailed)
- Very large z
p = 5.73 × 10⁻⁷, shown as "< 0.000001" with the exact value in the details.
Critical z values and p-values
Values of the standard normal distribution, rounded.
| z | p, two-tailed | p, one-tailed | Two-tailed α |
|---|---|---|---|
| 1.645 | 0.100 | 0.050 | 0.10 |
| 1.960 | 0.050 | 0.025 | 0.05 |
| 2.326 | 0.020 | 0.010 | 0.02 |
| 2.576 | 0.010 | 0.005 | 0.01 |
| 3.291 | 0.001 | 0.0005 | 0.001 |
Next step
Collect the data for this analysis
Build the survey in SurveyNinja, share the link in your email or chat, or as a QR code, and export the answers to Excel, CSV or SPSS on every plan.
- Ready questions or AI from a description
- A link for your email or chat, a QR code or a widget on your site
- Charts in the report, export to Excel, CSV and SPSS
Frequently asked questions
What is a p-value?
The probability of obtaining the observed result, or a more extreme one, if the null hypothesis is true. The smaller the p-value, the stronger the evidence against the null hypothesis.
What does statistically significant mean?
That the p-value is below the significance level α set before the test, usually 0.05. It means the result would be unlikely if there were no real effect. It does not mean the effect is large or important.
When to use two-tailed vs one-tailed?
Two-tailed when any deviation matters, higher or lower; this is the usual choice in A/B tests. One-tailed only when the direction was fixed before the data were collected.
What is a z-score?
The distance from the expected value in standard errors: z = (estimate − value under H0) / standard error. z-tests for proportions and for means with a large sample produce it.
Why is 0.05 the usual threshold?
It is a convention that goes back to R. A. Fisher. With α = 0.05, about 5% of tests come out significant when there is no effect. For important decisions use 0.01 or lower, and set the threshold before the experiment.
Is p = 0.05 significant?
With the rule p < α it is not: p must be strictly below 0.05. Results this close to the threshold are weak evidence either way, so look at the effect size and the confidence interval too.
What is a p-value not?
It is not the probability that the hypothesis is true, not the effect size, and not a measure of practical importance. A low p-value only says the data are unlikely under the null hypothesis.
Why does the calculator show "< 0.000001"?
For very large |z| the p-value is tiny. The calculator still computes it accurately and shows the exact value in scientific notation in the result details, for example 5.73 × 10⁻⁷ for z = 5.
Can I use it for a t statistic?
Only with many degrees of freedom (roughly 100 or more), where t is close to z. For small samples use a t-test calculator, which takes the degrees of freedom into account.
Learn the method
Read how the method works and where its numbers come from.
Turn the numbers into a survey
Start from the “Likert scale survey” template: the questions are ready.
Cross-Sectional Study vs Longitudinal Study: Differences, Types and Survey Examples