Z Test Calculator

P value to z score calculator

=—
—
—
P-value to z score visualizationCumulative normal curve read from the p-value back to the z score

    The working, step by step

      In plain words

      Assumption check

        What Does Converting a P-Value to a Z-Score Mean?

        Converting a p-value to a z-score finds the z value whose tail area under the standard normal curve equals that p-value. The conversion uses the inverse normal function Φ⁻¹, known as the normal quantile function or invNorm. A one-tailed p-value of 0.05 matches z = 1.645, and a two-tailed p-value of 0.05 matches z = 1.96. Researchers convert p-values to z-scores to combine studies in a meta-analysis and to express results on a common scale. Run a full z-test with the Z Test Calculator, and go from z back to p with the z-to-p converter.

        Formulas

        There are 2 formulas, one for each kind of p-value.

        One-Tailed: z = Φ⁻¹(1 − p)

        z = Φ⁻¹(1 − p)

        A one-tailed p-value of 0.01 gives z = Φ⁻¹(0.99) = 2.326. For a left-tailed test, the z-score is negative: z = Φ⁻¹(p) = −2.326.

        Two-Tailed: z = Φ⁻¹(1 − p/2)

        z = ±Φ⁻¹(1 − p/2)

        A two-tailed p-value splits between two tails, so p = 0.05 puts 0.025 in each tail and gives z = ±1.960.

        How to Use the P Value to Z Score Calculator

        To use the p value to z score calculator, follow 2 steps:

        1. Enter the p-value (between 0 and 1).
        2. Choose left-tailed, two-tailed or right-tailed.

        The calculator reads the answer off the cumulative normal curve: a horizontal line at the target area meets the S-shaped curve, and a vertical line drops to the z-score. The cards list the left-tailed, right-tailed and two-tailed z-scores and the percentile. Drag across the chart to see the p-value for any z.

        Common P-Values and Their Z-Scores

        p-valueOne-tailed zTwo-tailed z
        0.101.282±1.645
        0.051.645±1.960
        0.0251.960±2.241
        0.012.326±2.576
        0.0052.576±2.807
        0.0013.090±3.291

        Examples

        There are 2 worked examples below.

        Example 1: p = 0.03, Two-Tailed

        Convert a two-tailed p-value of 0.03 to a z-score.

        1. Area per tail
          0.03 / 2 = 0.015
        2. Area to the left
          1 − 0.015 = 0.985
        3. Z-score
          z = Φ⁻¹(0.985) = ±2.170

        Example 2: Percentile 90 to a Z-Score

        Find the z-score at the 90th percentile.

        1. Area to the left
          0.90
        2. Z-score
          z = Φ⁻¹(0.90) = 1.2816
        3. Meaning
          90% of a normal distribution lies below 1.28 standard deviations above the mean.

        Converting P-Values to Z for Meta-Analysis (Stouffer's Method)

        Stouffer's method combines k one-tailed p-values by converting each one to z and computing Z = Σz / √k. Samuel A. Stouffer introduced the method in 1949. For 3 studies with one-tailed p-values of 0.04, 0.10 and 0.03:

        Combine p = 0.04, 0.10 and 0.03 (all one-tailed, same direction).

        1. Convert
          z₁ = 1.751, z₂ = 1.282, z₃ = 1.881
        2. Combine
          Z = (1.751 + 1.282 + 1.881) / √3 = 2.837
        3. Combined p
          1 − Φ(2.837) = 0.0023

        Keep the sign of each z-score, so a study pointing the other way pulls the total down. A weighted version multiplies each z by √n or by a study weight.

        P to Z vs. Finding a Z Critical Value

        Converting a p-value to z and finding a z critical value use the same inverse normal function, but start from different inputs. P to z starts from an observed p-value, while a critical value starts from the chosen significance level α. Find cut-offs for any α or confidence level with the z critical value calculator.

        FAQs

        Why does the same p-value give two different z-scores?

        The same p-value gives two z-scores, since a one-tailed p puts all the area in one tail while a two-tailed p splits it between two. p = 0.05 gives z = 1.645 one-tailed and z = 1.96 two-tailed. Match the conversion to the test that produced the p-value.

        How do I keep the sign (direction) of the z-score?

        Give the z-score the sign of the observed effect. A two-tailed p-value hides the direction, so attach a minus sign when the effect went the other way, such as a mean below μ₀. For one-tailed p-values, use z = Φ⁻¹(p) for a left-tailed test, which is already negative.

        How do I convert p to z in Excel with NORM.S.INV?

        Use =NORM.S.INV(1 − p) for a one-tailed p-value and =NORM.S.INV(1 − p/2) for a two-tailed p-value. =NORM.S.INV(0.975) returns 1.96. In R, use qnorm(1 - p), and in Python, scipy.stats.norm.ppf(1 - p).

        What z-score matches p = 0.05?

        A one-tailed p = 0.05 matches z = 1.645, and a two-tailed p = 0.05 matches z = ±1.96. These two values are the most common cut-offs in statistics.

        Can I convert a p-value from a t-test to a z-score?

        Yes, you can convert a t-test p-value to a z-score with the same inverse normal formula. The z-score then has the same tail area as the t statistic, which puts studies with different sample sizes on one scale. t = 2.4 with 18 degrees of freedom (two-tailed p = 0.0274) converts to z = 2.21. Get the p-value of a t statistic first with the p value calculator, or find normal probabilities on any scale with the probability calculator.