Z-Score Calculator

Math Updated 30 Oct 2026

Converts a raw value into a z-score, the number of standard deviations it lies above or below the mean: z = (X − μ) ÷ σ. Enter the value, the mean and the standard deviation, or work backwards from a z-score to the raw value. You also get the probabilities from the standard normal distribution: the left-tailed (percentile), right-tailed and two-tailed p-values and the probability of falling within ±z of the mean, which you can use for hypothesis tests or to compare scores from different scales.

  • Probabilities use the standard normal distribution; with small samples a t-distribution may be more appropriate.

Formula

z = (X − μ) ÷ σ; X = μ + z × σ; left-tailed p = Φ(z), right-tailed = 1 − Φ(z), two-tailed = 2 × (1 − Φ(|z|))
  • Φ is the cumulative distribution function of the standard normal distribution, Φ(z) = ½ erfc(−z ÷ √2).
  • The probabilities assume the data are normally distributed.
  • z-scores are shown to 4 decimal places and probabilities to 6.

A score of 85 when the mean is 70 and σ = 10

Inputs
  • Calculate: z
  • Value (X): 85
  • Z-score (z): 1.5
  • Mean (μ): 70
  • Standard deviation (σ): 10

z = (85 − 70) ÷ 10 = 1.5. Φ(1.5) = 0.933193, so the score is at about the 93.32nd percentile; 6.68% of values are higher, and the two-tailed p-value is 0.133614.

Sources & references

Frequently asked questions

What does a z-score tell you?
How unusual a value is relative to the mean. z = 0 is exactly average, z = 1 is one standard deviation above, and z = −2 is two below. About 95% of normally distributed values have |z| < 1.96.
How do I convert a z-score to a percentile?
Look up the left-tailed probability Φ(z) and multiply by 100. A z-score of 1 is at the 84.13th percentile.
Which p-value should I use in a hypothesis test?
Use the two-tailed p-value when you test for a difference in either direction, and a one-tailed (left or right) p-value only when your hypothesis specifies the direction in advance.

Related calculators