Skip to content

P-Value Calculator

Enter your z test statistic and choose a two-tailed, left-tailed or right-tailed test to get the p-value: the chance of a result at least this extreme if the null hypothesis were true.

Calculator Details

P-value:0.04999579See results ↓

Z-score and percentile, a confidence interval, a sample size, a margin of error or a p-value

The z value from your hypothesis test

Two-tailed for "different from", left or right for "less than" or "greater than"

Your Results

P-value: 0.04999579

P-value

0.04999579

Two-tailed (≠)

Significant at 5%?

Yes (p < 0.05)

Significant at 1%?

No (p ≥ 0.01)

Normal curve

-3-2-10123
Tail area for z = 1.96 (shaded; horizontal axis in standard deviations).

The two-tailed p-value for z = 1.96 is 0.05.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

P-value from a z statistic
QuantityValue
Z statistic1.96
TestTwo-tailed (≠)
P-value0.0499957903
Significant at 5%?Yes
Significant at 1%?No

How This Calculator Works

How It’s Calculated

P-value from a z statistic with your numbers. Φ is the standard normal cumulative distribution, evaluated to about 15 decimal places (no table lookup or rounding of z).

p = 2 × (1 − Φ(|1.96|)) = 0.0499957903

Frequently Asked Questions

When should I use a one-tailed instead of a two-tailed p-value?

Use a one-tailed test only when you decided before seeing the data that an effect in the other direction would not matter, for example a check that a new process is not slower. A one-tailed p-value is half the two-tailed one when the statistic points the way you predicted, so choosing it after the fact makes results look stronger than they are.

Does p = 0.05 mean there is a 5% chance the null hypothesis is true?

No. The p-value is computed assuming the null hypothesis is true; it is the probability of data this extreme under that assumption, not the probability of the hypothesis. The American Statistical Association's 2016 statement lists this as the most common misreading.

My test gives a t statistic, not a z. Can I use this page?

Only with a large sample, where the t distribution is close to the normal. For small samples the t-based p-value is larger, because the t curve has heavier tails; use the t-test calculator, which uses the degrees of freedom. Chi-square statistics need the chi-square calculator.

What p-value counts as significant?

Whatever threshold (alpha) you set before the test. 0.05 is the convention in many fields, 0.01 in others, and particle physics asks for about 0.0000003 (five sigma). Report the p-value itself rather than only significant or not, so readers can judge it.

Included: z-scores and percentiles, z confidence intervals for a mean, Cochran sample sizes and margins of error for a proportion (with the finite population correction), one- or two-tailed p-values from a z statistic, and the 68–95–99.7 empirical rule ranges with the exact normal shares beside the rounded ones. Φ and Φ⁻¹ are computed to about 15 digits.

Left out: Student’s t intervals for small samples with unknown σ, intervals for differences between groups, design effects for clustered samples, and non-response adjustments. Sample sizes are rounded up. The empirical rule describes a normal distribution only; it does not test whether your data are normal (Chebyshev's bound for any distribution is not shown).

P-Value Calculator: From a Z-Score to a P-Value

By FindMySum · Last reviewed

A p-value calculator turns the test statistic from a hypothesis test into the probability of seeing a value at least that far from zero by chance alone. This one works from a z statistic, which is what you get from a test on a proportion, a mean with a known standard deviation, or any large-sample test. The smaller the p-value, the harder the data are to explain with the null hypothesis.

Worked example

Suppose a test gives z = 1.96 and you are testing in both directions (two-tailed). The p-value is the area under the standard normal curve beyond +1.96 plus the area below −1.96:

  • the area to the right of 1.96 is 0.025 (more precisely 0.024998);
  • doubling it for the two tails gives p ≈ 0.05 (0.049996).

That is no accident: 1.96 is the critical value of a two-sided test at the 5% level, so a statistic of exactly 1.96 sits right on the line. Switch the same z to a right-tailed test and p halves to 0.025; switch to left-tailed and p becomes 0.975, because almost all of the curve lies to the left of +1.96.

Reading the result

Compare p with the significance level you chose in advance. If p is below it, the result is called statistically significant and you reject the null hypothesis; if not, the data are consistent with it, which is not the same as proving it. A z of 2.576 gives a two-tailed p of 0.01, and a z of 1.645 gives 0.10, the other two thresholds you will see in tables.

Statistical significance says nothing about size. With a big enough sample a trivial difference produces a tiny p-value, so report an effect size or a confidence interval alongside it; the z-score calculator builds the interval, and the critical value calculator goes from a probability back to z. For small samples, use the t-test calculator.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy