Skip to main content
📊 Z-Score · P-Value · Bell Curve visualizer

Z-Score to P-Value Calculator

Calculate left, right, two-tailed, or interval probabilities from a Z-score, or reverse-lookup standard deviations from a target P-value — with an interactive standard normal bell curve visualizer.

Step By Step

How to Use This Calculator

  1. Select your calculation mode: Z-Score to P-Value or P-Value to Z-Score.
  2. In Z-Score to P-Value mode: Enter your Z-score value (positive or negative) and select the tail direction (Left, Right, Two-tailed, or Between). You can also drag the Z-score range slider.
  3. In P-Value to Z-Score mode: Enter your target P-value (a probability between 0.0001 and 0.9999) and select the tail configuration.
  4. Examine the dynamically shaded normal distribution bell curve — the highlighted area visually represents the probability (P-value) relative to the Z-score boundary.
  5. Verify significance by comparing the calculated P-value against your chosen significance level (e.g. alpha = 0.05).

Worked Example

Example: Finding the P-value for Z-score = 1.96 (Two-tailed)

Use this sample to sanity-check your inputs and understand what the final result represents.

  • 1Left-tail probability: Φ(1.96) = 0.97725 (97.73% of values are less than 1.96)
  • 2Right-tail probability: P(Z > 1.96) = 1 - Φ(1.96) = 0.02275
  • 3Two-tailed probability: P(|Z| > 1.96) = 2 × (1 - Φ(1.96)) = 2 × 0.02275 = 0.0455

Final Result

P(|Z| > 1.96) ≈ 0.0455 (or 4.55% probability of finding a more extreme value). Since 0.0455 < 0.05, this is statistically significant at the 5% level.

Methodology

Cumulative Distribution Function (CDF) of standard normal distribution

This section explains the calculation logic, assumptions, and source material used to make the result more trustworthy and easier to verify.

Standard normal distribution has a mean of 0 and standard deviation of 1. Left-tail probability P(Z < z) = Φ(z). Right-tail probability P(Z > z) = 1 - Φ(z). Two-tailed probability P(|Z| > |z|) = 2 × (1 - Φ(|z|)). Cumulative probability Φ(z) is calculated using the error function (erf): Φ(z) = 0.5 × (1 + erf(z / √2)). The error function is approximated with high precision using the Abramowitz and Stegun formula (7.1.26): erf(x) ≈ 1 - (a1*t + a2*t² + a3*t³ + a4*t⁴ + a5*t⁵) * exp(-x²), where t = 1 / (1 + p*x). Max error is 1.5 × 10⁻⁷. Inverse normal CDF (P-value to Z-score) is calculated using Acklam's algorithm, having a relative error of less than 1.15 × 10⁻⁹.

Helpful tips

  • 1A Z-score of 1.96 (or -1.96) is the standard 5% significance threshold (two-tailed) in academic papers and clinical studies.
  • 2Left tail (Z < z) gives the cumulative percentage of values lower than your Z-score. Right tail (Z > z) gives the percentage that are higher.
  • 3Use the range slider to dynamically drag and watch the blue area of the bell curve adjust — this helps build a visual intuition for normal distribution.
  • 4When comparing two Z-scores, select the 'Between' mode to shade and calculate the specific probability slice between them.

Frequently Asked Questions

What is a Z-score and what does it measure?+

A Z-score (or standard score) indicates how many standard deviations a raw data point is above or below the population mean. A Z-score of 0 is exactly at the mean, while a Z-score of +1.5 represents a value 1.5 standard deviations above the mean, and -2.0 represents a value 2 standard deviations below the mean. It is used to normalise scores from different normal distributions so they can be compared directly.

What does the P-value represent in a Z-score calculation?+

The P-value represents the probability of obtaining a result at least as extreme as the observed Z-score, assuming the null hypothesis is true (i.e., under the standard normal distribution). For example, a left-tail P-value of 0.05 for a negative Z-score means there is only a 5% chance of finding a value smaller than that Z-score by random chance.

What is the difference between left-tailed, right-tailed, and two-tailed P-values?+

A left-tailed P-value is the probability that a value is less than Z: P(Z < z). A right-tailed P-value is the probability that a value is greater than Z: P(Z > z). A two-tailed P-value is the probability that a value is either greater than |Z| or less than -|Z|: P(|Z| > |z|), which is exactly 2 × (1 - Φ(|z|)). Two-tailed tests are used when you want to detect deviations in either direction from the mean.

How are the calculations performed in this tool?+

The cumulative distribution function (CDF) of the standard normal distribution is mathematically represented by Φ(z) = 0.5 * (1 + erf(z / √2)). Because the error function (erf) has no closed-form analytical solution, this calculator uses the highly accurate Abramowitz and Stegun rational approximation (formula 7.1.26), which guarantees a maximum error of less than 1.5 × 10⁻⁷. For the inverse lookup (P-value to Z-score), we use Acklam's rational approximation, which has a relative error of less than 1.15 × 10⁻⁹.

What are some common Z-score thresholds for statistical significance?+

In hypothesis testing, common significance levels (alpha) correspond to specific Z-score critical values. For a two-tailed test: Alpha = 0.10 (90% confidence) corresponds to critical Z = ±1.645; Alpha = 0.05 (95% confidence) corresponds to critical Z = ±1.960; Alpha = 0.01 (99% confidence) corresponds to critical Z = ±2.576. If your calculated absolute Z-score is greater than the critical value, the result is statistically significant.

Related Calculators

View all →

Related Guides & Articles