ThisCalculator

Statistics

Z-Distribution Probability Calculator: Find P-Values

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

Z-Distribution Probability Calculator: Find P-Values

This calculator finds the probability (p-value) that a standard normal (Z) random variable falls in a given range, based on the Z-score you enter. You provide the Z-score and choose whether you want the probability of being less than Z, greater than Z, or between two Z-scores, and the calculator returns the exact area under the normal curve.

Formula

The standard normal distribution has a mean of 0 and a standard deviation of 1. The probability that a Z-score is less than a given value z is the cumulative distribution function (CDF), denoted Φ(z). The formula uses the error function (erf):

Φ(z) = 0.5 × (1 + erf(z / √2))

For the probability that Z is greater than z: 1 − Φ(z). For the probability that Z is between z1 and z2: Φ(z2) − Φ(z1).

Variables:

  • z – the Z-score (number of standard deviations from the mean), unitless
  • Φ(z) – cumulative probability, a value between 0 and 1
  • erf – the error function, a standard mathematical function

Worked Example

Using the default inputs: Z = 1.96, tail = “Less than Z�, so we want P(Z < 1.96).

  1. Compute z / √2 = 1.96 / 1.4142 = 1.3859
  2. Find erf(1.3859). Using a standard erf table or calculator, erf(1.3859) ≈ 0.9500
  3. Apply the formula: Φ(1.96) = 0.5 × (1 + 0.9500) = 0.5 × 1.9500 = 0.9750
  4. Convert to percent: 0.9750 × 100 = 97.50%

The calculator shows 97.50%, matching the well-known fact that 97.5% of the normal distribution lies below Z = 1.96.

What Is a Z-Distribution?

The Z-distribution, also called the standard normal distribution, is a bell-shaped curve with a mean of 0 and a standard deviation of 1. It arises from any normal distribution by subtracting the mean and dividing by the standard deviation: Z = (X − μ) / σ. This transformation lets you compare values from different normal distributions on a common scale.

Real-world data like heights, test scores, and measurement errors often approximate a normal distribution, so the Z-distribution is used everywhere from quality control to psychology research.

How to Use the Calculator

Enter your Z-score (and a second Z-score if you choose “Between two Zs�). The calculator returns the probability as a percentage. Here are the three common scenarios:

  • Less than Z – gives the area to the left of Z, i.e., the percentile. A Z of 1.96 gives 97.5%.
  • Greater than Z – gives the area to the right, i.e., the upper tail. A Z of 1.96 gives 2.5%.
  • Between two Zs – gives the area between two values. For Z = −1.96 and Z = 1.96, the result is 95%.

When to Use a Z-Probability vs. a Z-Test

A probability calculator like this one answers “what is the chance of getting a value this extreme?� It is used to find p-values in hypothesis testing when the test statistic follows a standard normal distribution. This happens when you know the population standard deviation or when the sample size is large (typically n > 30) due to the Central Limit Theorem.

If you do not know the population standard deviation and have a small sample, you should use a t-distribution instead. The t-distribution is wider and has heavier tails, reflecting the extra uncertainty from estimating the standard deviation from the sample.

Common Mistakes and Misconceptions

  • Using a one-tailed probability when you need two-tailed: A two-tailed test doubles the smaller tail probability. For Z = 1.96, the one-tailed upper probability is 2.5%, but the two-tailed probability is 5%.
  • Mixing up Z and raw scores: Always standardize first. If your data has mean 100 and standard deviation 15, a raw score of 130 corresponds to Z = 2, not Z = 130.
  • Assuming normality: The Z-distribution only works if the underlying data is normally distributed or the sample size is large enough for the Central Limit Theorem to apply.
  • Rounding too early: Rounding Z to 2 decimals can change the probability noticeably. Keep more decimals during calculation.

Limitations of the Z-Distribution

The Z-distribution is a mathematical model, not a law of nature. It assumes the data is continuous, symmetric, and bell-shaped. In practice, many real datasets are skewed, have outliers, or are discrete. Using Z-probabilities on such data can give misleading results.

Also, the Z-distribution gives probabilities for a single value or range, but it does not tell you whether a result is “significant� – that requires a pre-chosen significance level (like 0.05) and a hypothesis test. A small probability does not prove an effect; it only suggests that the observed data is unlikely under the null hypothesis.

Frequently Asked Questions

What is the difference between Z-score and Z-distribution?

A Z-score is a single number that tells you how many standard deviations a data point is from the mean. The Z-distribution is the entire bell-shaped curve of all possible Z-scores. The calculator uses the Z-distribution to find the probability associated with a specific Z-score.

How do I find the p-value from a Z-score?

If you have a Z-score from a test, the p-value is the probability of getting a value at least as extreme. For a one-tailed test, use the “Greater than Z� or “Less than Z� option. For a two-tailed test, take the smaller tail probability and double it. For example, Z = 2.0 gives a one-tailed p-value of 2.28%, so the two-tailed p-value is 4.56%.

Can I use this calculator for any normal distribution?

Yes, but you must first convert your raw value to a Z-score using the formula Z = (X − μ) / σ. For instance, if IQ scores have a mean of 100 and standard deviation of 15, an IQ of 130 becomes Z = 2. Then use the calculator with Z = 2.

What does a Z-score of 1.96 mean?

A Z-score of 1.96 is exactly 1.96 standard deviations above the mean. The probability of being below it is 97.5%, and the probability of being above it is 2.5%. This is why 1.96 is used for a 95% confidence interval – 95% of the distribution lies between −1.96 and +1.96.

Why is my answer different from a table in a textbook?

Textbook Z-tables often show the area from the mean to Z, not the total area below Z. For example, a table might show 0.4750 for Z = 1.96, which is the area from 0 to 1.96. To get the total below Z, add 0.5, giving 0.9750. This calculator gives the total cumulative probability.

What if my Z-score is negative?

Negative Z-scores work exactly the same way. The normal distribution is symmetric, so P(Z < −1.96) = P(Z > 1.96) = 2.5%. The calculator handles negative values automatically.

Related

Formula used
in z | Z-score | - | 1.96 | 0
sel tail | Tail type | Less than Z=0, Greater than Z=1, Between two Zs=2
in z2 | Second Z-score | - | -1.96 | 0
out prob | Probability | % | (tail == 0 ? 0.5 * (1 + erf(z / sqrt(2))) : tail == 1 ? 0.5 * (1 - erf(z / sqrt(2))) : 0.5 * (erf(z / sqrt(2)) - erf(z2 / sqrt(2)))) * 100 | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.