Z-score to P-value Calculator - calculates P from Z (Z to P) (2024)

Use this Z to P calculator to easily convert Z-scores to P-values (one or two-tailed) and see if a result is statistically significant. Z-score to percentile calculator (p-value from Z score) for both one-sided and two-sided p-values.

Quick navigation:

  1. Using the z-score to p-value calculator
  2. What is a "p-value"
  3. How to interpret a low p-value (statistically significant result)
  4. Common misinterpretations of p-values
  5. Z score to P-value conversion table
  6. One-tailed vs. two-tailed p-values

Using the z-score to p-value calculator

If you obtained a Z-score statistic from a given set of data and want to convert it to its corresponding p-value (percentile), this Z to P calculator is right for you. Just enter the Z-score that you know and choose the type of significance test: one-tailed or two-tailed to calculate the corresponding p-value using the normal CPDF (cumulative probability density function of the normal distribution). If you want to make directional inferences (say something about the direction or sign of the effect), select one-tailed, which corresponds to a one-sided composite null hypothesis. If the direction of the effect does not matter, select two-tailed, which corresponds to a point null hypothesis.

Since the normal distribution is symmetrical, it does not matter if you are computing a left-tailed or right-tailed p-value: just select one-tailed and you will get the correct result for the direction in which the observed effect is. If you want the p-value for the other tail of the distribution, just subtract it from 1.

What is a "p-value"

The p-value is used in the context of a Null-Hypothesis statistical test (NHST) and it is the probability of observing the result which was observed, or a more extreme one, assuming the null hypothesis is true 1. It is essentially the proportional area of the Z distribution cut off at the point of the observed Z score. In notation this is expressed as:

p(x0) = Pr(d(X) > d(x0); H0)

where x0 is the observed data (x1,x2...xn), d is a special function (statistic, e.g. calculating a Z-score), X is a random sample (X1,X2...Xn) from the sampling distribution of the null hypothesis. This can be visualized in this way:

Z-score to P-value Calculator - calculates P from Z (Z to P) (1)

In terms of possible inferential errors, the p-value expresses the probability of committing a type I error: rejecting the null hypothesis if it is in fact true. The p-value is a worst-case bound on that probability. The p-value can be thought of as a percentile expression of a standard deviation measure, which the Z-score is, e.g. a Z-score of 1.65 denotes that the result is 1.65 standard deviations away from the arithmetic mean under the null hypothesis. Therefore, one can think of the p-value as a more user-friendly expression of how many standard deviations away from the normal a given observation is.

How to interpret a low p-value (statistically significant result)

Saying that a result is statistically significant means that the p-value is below the evidential threshold decided for the test before it was conducted. For example, if observing something which would only happen 1 out of 20 times if the null hypothesis is true is considered sufficient evidence to reject the null hypothesis, the threshold will be 0.05. In such a case, observing a p-value of 0.025 would mean that the result is statistically significant.

Let us examine what inferences are warranted when seeing a result which was quite improbable if the null was true. Observing a low p-value can be due to one of three reasons [2]:

  1. There is a true effect from the tested treatment or intervention.
  2. There is no true effect, but we happened to observe a rare outcome. The lower the p-value, the rarer (less likely, less probable) the outcome.
  3. The statistical model is invalid (does not reflect reality).

Obviously, one can't simply jump to conclusion 1.) and claim it with one hundred percent certainty, as this would go against the whole idea of the p-value. In order to use the p-value as a part of a decision process you need to consider external factors, which are a part of the experimental design process, which includes deciding on the significance threshold, sample size and power (power analysis), and the expected effect size, among other things.

If you are happy going forward with this much (or this little) uncertainty as is indicated by the p-value, then you have quantifiable guarantees related to the effect and future performance of whatever you are testing. For a deeper take on the p-value meaning, interpretation, and common misinterpretations, see our article on the p-value in statistics.

Common misinterpretations of p-values

There are several common misinterpretations of p-values and statistical significance and no calculator can save you from falling for them. The most common errors are mistaking a low p-value with evidence for lack of effect or difference, mistaking statistical significance with practical significance, as well as treating the p-value as a probability, related to a hypothesis, e.g. a p-value of 0.05 means that the probability the null hypothesis is true is 5%, or that the probability that the alternative hypothesis is true is 95%. >More details about these misinterpretations.

Z score to P-value conversion table

Below are some commonly encountered standard scores and their corresponding p-values and percentiles, assuming a one-tailed hypothesis.

Standard score to p-value and percentile
Standard score (Z)P-valuePercentile
0.84160.200080%
1.28160.100090%
1.64490.050095%
1.96000.025097.5%
2.05370.020098%
2.32630.010099%
3.09020.001099.9%
3.29050.000599.95%

The above table can be used to obtain a p-value from z-score for some values of Z, but for accurate results a calculator like ours which uses the normal distribution CDF to compute exact p-values is indispensible.

One-tailed vs. two-tailed p-values

There are wide-spread misconceptions about one-tailed and two-tailed tests, often referred to as one-sided and two-sided hypotheses, and their corresponding p-values [4]. This is not surprising given that even the Wikipedia article on the topic gets it wrong by stating that one-sided tests are appropriate only if "the estimated value can depart from the reference value in just one direction". Consequently, people often prefer two-sided tests due to the believe that using one-tailed tests results in bias, and/or higher than nominal error rates (type I errors), as well as that it involves more assumptions (about the direction of the effect).

Nothing could be further from the truth. There is no practical or theoretical situation in which a two-tailed test is appropriate since for it to be appropriate, the inference drawn or action taken has to be the same regardless of the direction of the effect of interest. That is never the case.

"A two-sided hypothesis and a two-tailed test should be used only when we would act the same way, or draw the same conclusions, if we discover a statistically significant difference in any direction." [3]. Doing otherwise leads to a host of issues, including reporting higher error rates than actual, and uncontrolled type III errors.

On the other hand, "A one-sided hypothesis and a one-tailed test should be used when we would act a certain way, or draw certain conclusions, if we discover a statistically significant difference in a particular direction, but not in the other direction." [5] which describes all practical and scientific applications of p-values and tests of significance in general. If you carefully formulate your hypotheses, you will find that you always want to state something about the direction of the null and alternative hypothesis, meaning you want to to get a one-sided p-value from a z score.

So, not only do one-tailed tests answer the question you are actually asking, but they are also more efficient, assuming the same significance threshold is used, resulting in %20-%60 faster experiments [3]. There is no good reason to use two-tailed tests as this results in 20-60% slower tests that answer a question one did not ask. A more in-depth reading and explanations: One-tailed vs Two-tailed Tests of Significance and reference #3 below. When obtaining a p-value from a z-score, it is important to choose the correct null hypothesis - one-sided or point null, depending on circ*mstances, and in most cases the correct p-value would be the one-sided / one-tailed one.

References

1 Fisher R.A. (1935) – "The Design of Experiments", Edinburgh: Oliver & Boyd

2 Georgiev G.Z. (2017) "Statistical Significance in A/B Testing – a Complete Guide", [online] https://blog.analytics-toolkit.com/2017/statistical-significance-ab-testing-complete-guide/ (accessed Apr 27, 2018)

3 Georgiev G.Z. (2017) "One-tailed vs Two-tailed Tests of Significance in A/B Testing", [online] https://blog.analytics-toolkit.com/2017/one-tailed-two-tailed-tests-significance-ab-testing/ (accessed Apr 27, 2018)

4 Hyun-Chul Cho Shuzo Abe (2013) "Is two-tailed testing for directional research hypotheses tests legitimate?", Journal of Business Research 66:1261-1266

Our statistical calculators have been featured in scientific papers and articles published in high-profile science journals by:

Z-score to P-value Calculator - calculates P from Z (Z to P) (2024)

FAQs

How to turn z-score into p-value? ›

If you have found a positive z value (z≥0 z ≥ 0 ): Find the row corresponding to the z value you found up to the first decimal, and the column corresponding to the second decimal. At the intersection point of this row and column, you find the left sided p value pleft. The two sided p value is 2×(1−pleft)

How to calculate p-value from z-score on calculator? ›

Answer
  1. Press the "2nd" button, followed by the "VARS" button.
  2. Select "2: normalcdf(" from the list of options.
  3. Enter the lower bound and upper bound for the z-score. ...
  4. Enter the mean and standard deviation of the standard normal distribution. ...
  5. Press the "Enter" button to calculate the p-value.
May 30, 2023

What is the formula for calculating the p-value? ›

For a lower-tailed test, the p-value is equal to this probability; p-value = cdf(ts). For an upper-tailed test, the p-value is equal to one minus this probability; p-value = 1 - cdf(ts).

What is the formula for the z-score given p? ›

The test statistic is a z-score (z) defined by the following equation. z=(p−P)σ where P is the hypothesized value of population proportion in the null hypothesis, p is the sample proportion, and σ is the standard deviation of the sampling distribution.

How do you convert z-score to probability? ›

To find the probability for the area greater than z, look up the Z-score and subtract it from 1 (this is the same process for finding a negative Z-score). To find the probability for a negative Z-score look up the positive version on this table and subtract it from 1.

What is the formula for converting z-scores? ›

The formula for calculating a z-score is z = (x-μ)/σ, where x is the raw score, μ is the population mean, and σ is the population standard deviation. As the formula shows, the z-score is simply the raw score minus the population mean, divided by the population standard deviation.

How do you calculate p-value on calculator? ›

TI-83 or 84

Type in the hypothesized proportion (p0), X, sample size, arrow over to the ≠, <, > sign that is the same in the problems alternative hypothesis statement then press the [ENTER] key, arrow down to [Calculate] and press the [ENTER] key. The calculator returns the z-test statistic and the p-value.

How do you find the p-value from the score? ›

  1. Multiply the t value you found by -1 (since the table only works with positive t values), resulting in a positive value tpos.
  2. Find the row with the appropriate number of degrees of freedom (df)
  3. Search for the two t values in this row, that enclose the positive tpos t p o s value you found.

How to calculate p-value by hand? ›

To compute a p-value by hand all you do is find the area “outside” of the test ratio value from step 6 in 'normal curve' – that is your p-value. There are two areas “outside” of your test ratio from step 6 – one on each side of the normal curve. The p-value is the area to the “outside” of the z-scores of -2.0 and 2.0.

What is the p-value calculated from? ›

P-values are calculated from the null distribution of the test statistic. They tell you how often a test statistic is expected to occur under the null hypothesis of the statistical test, based on where it falls in the null distribution.

Are p-value and z score the same? ›

The p-value is the probability that you have falsely rejected the null hypothesis. Z scores are measures of standard deviation. For example, if a tool returns a Z score of +2.5 it is interpreted as "+2.5 standard deviations away from the mean". P-values are probabilities.

What is the formula for p probability? ›

P(A/B) is known as conditional probability and it means the probability of event A that depends on another event B and is read as "probability of A given B". It says P(A/B) = P(A∩B) / P(B). It is also known as "the probability of A given B".

How to calculate z-score calculator? ›

To find the z-score on a regular calculator, follow these steps:
  1. Calculate the mean as (∑x) / n .
  2. Calculate the standard deviation using the easy-to-type formula (∑(x²) - (∑x)²/n) / n . The divisor is modified to n - 1 for sample data.
  3. Calculate the z-score using the formula z = (x - mean) / standard deviation .
Jun 7, 2024

How to calculate z-score example? ›

z = (x – μ) / σ

The test has a mean (μ) of 150 and a standard deviation (σ) of 25. Assuming a normal distribution, your score would be: z = (x – μ) / σ = (190 – 150) / 25 = 1.6.

What is the z test formula for probability? ›

The formula for calculating the Z Test statistic is Z = (x̄ - µ) / (σ / √n). Here x̄ is the sample mean, µ is the population mean, σ is the population standard deviation, and n represents the sample size.

How to calculate p-value in z table? ›

Example : Suppose that the z-score is 1.45 . On the lefthand side of the table look for the cell containing the first two digits of the z-score ( 1.4 ), then move to the column corresponding to the last digit ( . 05 ). The p-value for a z-score of 1.45 is 0.92647 .

How do you find p-value in R with z-score? ›

To calculate the p-value of a z-score in R, you can use the pnorm function which takes the z-score as an argument and returns the two-tailed p-value. This p-value should then be compared to the alpha level to determine whether the null hypothesis should be accepted or rejected.

Top Articles
Latest Posts
Article information

Author: Reed Wilderman

Last Updated:

Views: 5689

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Reed Wilderman

Birthday: 1992-06-14

Address: 998 Estell Village, Lake Oscarberg, SD 48713-6877

Phone: +21813267449721

Job: Technology Engineer

Hobby: Swimming, Do it yourself, Beekeeping, Lapidary, Cosplaying, Hiking, Graffiti

Introduction: My name is Reed Wilderman, I am a faithful, bright, lucky, adventurous, lively, rich, vast person who loves writing and wants to share my knowledge and understanding with you.