P-value to Z-score Calculator

Share calculator:
Embed this tool:

Enter a p-value, choose whether it is one-tailed or two-tailed, and the calculator returns the Z-score that corresponds to it on the standard normal curve.

What this calculator does

A p-value says how surprising a result is under a null hypothesis. A Z-score says the same thing in a different currency: how many standard deviations the result sits from the centre of a standard normal distribution. The two carry the same information, and for a test statistic that follows a normal curve you can move freely from one to the other.

This tool goes from the p-value to the Z-score, which is the inverse of what a table or a Z-score to p-value calculator does. It is handy for finding the critical Z behind a significance level, for reconstructing a test statistic from a published p-value, and for meta-analysis, where results are often combined on the Z scale.

How to use it

  1. Type the p-value in P-value as a decimal, for example 0.0231 (not 2.31%).
  2. Choose One-tailed if the p-value measures only one side of the distribution, or Two-tailed if it counts extreme results in both directions.
  3. Press Calculate Z-score. The result appears in the Z-score row, rounded to six decimals.
  • The tool returns the Z for which the upper tail has area equal to your p-value. A p-value below 0.5 therefore gives a positive Z, a p-value of exactly 0.5 gives 0, and a one-tailed p-value above 0.5 gives a negative Z.
  • For a two-tailed p-value the tool uses half of it for each tail, so the Z-score is always the positive cut-off point whose mirror image is −Z.
  • A p-value of zero or less, or a one-tailed p-value of 1 or more, has no usable Z-score on the normal curve. The calculator shows 0 for those inputs.
  • Exponent notation such as 1e-5 is not accepted; type 0.00001 instead.

How the conversion works

Let Φ be the cumulative distribution function of the standard normal distribution and Φ⁻¹ its inverse, the quantile function (also called the probit). For a one-tailed p-value in the upper tail:

Z = Φ⁻¹(1 − p)One-tailed p-value.

A two-tailed p-value splits the probability equally between the two tails, so each tail holds p ÷ 2:

Z = Φ⁻¹(1 − p ÷ 2)Two-tailed p-value; the other cut-off is −Z.

There is no closed form for Φ⁻¹, so software finds it numerically. This calculator takes a rational first estimate (Acklam's algorithm) and then applies one Halley correction step against the exact tail area, which leaves a result accurate to about 15 significant digits across the whole range, even for tiny p-values. The tail is measured directly from p rather than from 1 − p, so very small probabilities lose nothing to rounding.

P-value to Z-score conversion table

Z-scores for common p-values (rounded to four decimals)
p-valueOne-tailed ZTwo-tailed Z
0.200.84161.2816
0.101.28161.6449
0.051.64491.9600
0.0251.96002.2414
0.012.32632.5758
0.0052.57582.8070
0.0013.09023.2905
0.00013.71903.8906

The familiar cut-offs are all here. A two-tailed test at the 5% level rejects when |Z| exceeds 1.96, and a one-tailed test at the same level needs Z above 1.6449. At 1% the two-tailed cut-off is 2.5758 and the one-tailed one is 2.3263.

Worked examples

A published one-tailed p-value. A paper reports p = 0.0231 for a one-sided test. Then Z = Φ⁻¹(1 − 0.0231) = 1.9936. The result is just under 2, consistent with a p-value a little below 0.025.

The same number, two-tailed. If that 0.0231 had been a two-tailed p-value, each tail would hold 0.01155, so Z = Φ⁻¹(1 − 0.01155) = 2.2718. The two-tailed Z is larger because the same total probability is split across two ends of the curve and each end is smaller.

A weak result. For p = 0.3 (one-tailed) the Z-score is 0.5244, barely half a standard deviation from the centre. A one-tailed p-value of 0.8 gives −0.8416: the observed result lies on the opposite side of the null from the direction being tested.

A Z-score is only the right yardstick if the test statistic is approximately normal. For small samples with an estimated variance, a t-distribution is the usual choice, and its p-values do not convert to the same Z-scores.

Frequently asked questions

How do I convert a p-value to a Z-score?

Take the inverse of the standard normal cumulative distribution at 1 − p for a one-tailed p-value, or at 1 − p ÷ 2 for a two-tailed one. This calculator does that for you.

What Z-score corresponds to p = 0.05?

For a one-tailed p-value of 0.05 the Z-score is about 1.6449. For a two-tailed p-value of 0.05 it is about 1.96.

Why is my Z-score negative?

The tool reports the Z whose upper tail equals the p-value. A one-tailed p-value above 0.5 means the upper tail is larger than half the curve, which puts the cut-off to the left of zero.

Can I trust the Z-score for a very small p-value?

Yes. The conversion works from the tail probability itself, so even a p-value such as 0.0000000001 gives its Z-score (6.3613) to full double precision. Only p-values that are not valid probabilities, namely zero, negative values and one-tailed values of 1 or more, have no Z-score and show 0.

References

  1. Cody, W. J. (1969). Rational Chebyshev approximations for the error function. Mathematics of Computation 23(107), 631–637.
  2. Abramowitz, M., Stegun, I. A. (1964). Handbook of Mathematical Functions. National Bureau of Standards, chapter 26.

Cite this calculator and page

If you use this page in your work, you can cite it as:

Reeliy Editorial Team. (2026). P-value to Z-score Calculator. Reeliy. https://reeliy.com/calculators/p-value-to-z-score-calculator“P-value to Z-score Calculator.” Reeliy, 2026, https://reeliy.com/calculators/p-value-to-z-score-calculator.