Statistics guide

How to Find a P-Value From a Z-Score: One- and Two-Tailed Examples

Convert a z-test statistic to a p-value for left-, right-, or two-tailed tests, with z-table steps, three worked examples, and practice answers.

A bell curve with both outer tails shaded in contrasting colors

To find a p-value from a z-test statistic, choose the test's tail before looking at the result, then use the standard normal curve. If Φ(z)\Phi(z) is the area to the left of zz, a left-tailed p-value is Φ(z)\Phi(z), a right-tailed p-value is 1−Φ(z)1-\Phi(z), and a two-tailed p-value is 2[1−Φ(∣z∣)]2[1-\Phi(|z|)].

For example, z=1.96z=1.96 has Φ(1.96)≈0.9750\Phi(1.96)\approx0.9750. Its right-tailed p-value is 0.02500.0250; its two-tailed p-value is about 0.05000.0500. A number called a “z-score” is not automatically a hypothesis-test result: the null hypothesis, valid test conditions and alternative direction also matter.

Choose the tail first

The alternative hypothesis tells you which outcomes count as evidence against the null. Do not choose the tail after seeing which p-value is smaller.

Alternative Tail area counted P-value from a z statistic
“Less than” Left of observed zz p=Φ(z)p=\Phi(z)
“Greater than” Right of observed zz p=1−Φ(z)p=1-\Phi(z)
“Different from” Both tails as extreme as $ z

Here Φ\Phi is the cumulative distribution function for a standard normal variable ZZ. The two-sided formula is equivalent to 2min⁡(Φ(z),1−Φ(z))2\min(\Phi(z),1-\Phi(z)). It accounts for equally extreme results on either side of zero.

This page focuses on converting a valid z-test statistic to a tail probability. The broader hypothesis-testing guide shows how to formulate hypotheses, check assumptions and calculate the statistic in the first place. OpenStax's hypothesis-test examples show those steps in context.

If the data are counts in categories rather than a z statistic for a mean or proportion, the relevant procedure may instead be a chi-square test of independence.

How to read a z-table

First identify what your table reports. Many classroom tables give Φ(z)\Phi(z), the area to the left. Others give the area between zero and zz; those require an extra add or subtract step.

For a left-area table and z=1.64z=1.64, read row 1.6 and column 0.04 to obtain about 0.9495. That is P(Z≤1.64)P(Z\leq1.64). The right-tail area is 1−0.9495=0.05051-0.9495=0.0505. For negative scores, use the table's negative rows or symmetry: Φ(−1.64)=1−Φ(1.64)=0.0505\Phi(-1.64)=1-\Phi(1.64)=0.0505.

Continuous normal probabilities are unaffected by whether the endpoint is written << or ≤\leq. Round the final p-value, rather than rounding zz early near a decision threshold.

Example 1: a right-tailed test

Problem: A preselected alternative says the population mean is greater than the null value. A valid z test gives z=1.64z=1.64. Find the p-value.

“Greater” means the right tail. From a left-area table, Φ(1.64)≈0.9495\Phi(1.64)\approx0.9495, so

p=P(Z≥1.64)=1−0.9495=0.0505.p=P(Z\geq1.64)=1-0.9495=0.0505.

Answer: p≈0.0505p\approx0.0505. At a prespecified α=0.05\alpha=0.05, this is just above the threshold, so the standard decision is fail to reject the null. That decision says nothing by itself about practical importance.

Example 2: a negative z in a left-tailed test

Problem: The alternative says the population mean is less than the null value. The z test gives z=−2.00z=-2.00.

The p-value is the left-tail area. Symmetry and a left-area table give Φ(−2.00)=1−Φ(2.00)≈1−0.9772=0.0228\Phi(-2.00)=1-\Phi(2.00)\approx1-0.9772=0.0228.

p=P(Z≤−2.00)≈0.0228.p=P(Z\leq-2.00)\approx0.0228.

Answer: About 2.28%2.28\%. Do not change the negative sign to positive and use 0.97720.9772 as the p-value; that is almost the entire curve on the wrong side.

Example 3: a two-tailed test

Problem: The alternative says the mean is different from the null value. The z test gives z=0.80z=0.80.

The left area is Φ(0.80)≈0.7881\Phi(0.80)\approx0.7881. The area at or above 0.800.80 is 1−0.7881=0.21191-0.7881=0.2119. Double that smaller tail:

p=2(0.2119)=0.4238.p=2(0.2119)=0.4238.

Answer: p≈0.4238p\approx0.4238. A result as far from zero in either direction is not unusual under this model. “Fail to reject” does not prove the null is true.

Quick checks that catch errors

  • A p-value must be between 00 and 11. If doubling a tail gives more than 11, you doubled the larger tail.
  • For the same nonzero zz, a symmetric two-sided p-value is twice the smaller one-sided tail.
  • At z=0z=0, the two-sided p-value is 11, because every standard-normal value is at least as far from zero as zero.
  • The α\alpha threshold is chosen before looking at the data. Do not change the tail or threshold to manufacture significance.

The z-score calculator can calculate a standard score from a value, mean and standard deviation. It does not return a hypothesis-test p-value or check whether a z test is appropriate. The Statistics Solver can help you examine a full word problem, but verify the tail choice and assumptions yourself. More tutorials are in statistics resources.

Practice with answers

1. z = 1.96 in a right-tailed test. What is p?

Φ(1.96)≈0.9750\Phi(1.96)\approx0.9750, so p=1−0.9750=0.0250p=1-0.9750=\mathbf{0.0250}.

2. z = −1.28 in a left-tailed test. What is p?

p=Φ(−1.28)≈0.1003p=\Phi(-1.28)\approx\mathbf{0.1003}.

3. z = −2.00 in a two-tailed test. What is p?

The smaller one-sided tail is 0.02280.0228, so p=2(0.0228)=0.0456p=2(0.0228)=\mathbf{0.0456}.

Further reading: OpenStax's standard normal distribution lesson explains z areas and symmetry.