Z-Score Calculator

Standardize a value, read areas under the normal curve without a printed table, or find the z-score for any percentile. Choose a mode and the curve, steps and z-table row update as you type.

What a z-score tells you

A z-score (standard score) says how many standard deviations a value lies from the mean of its distribution. A positive z is above the mean, a negative z is below it, and z = 0 is exactly average. Because z-scores strip away the original units, they let you compare results measured on different scales: a 1,250 on one exam and an 82 on another can both be expressed as "1.2 standard deviations above average".

When the data are approximately normal, a z-score also tells you a probability. The area under the standard normal curve to the left of z is the cumulative probability Φ(z) — the share of values that fall below your value, which is the same thing as its percentile.

Formulas used

z = (x − μ) ÷ σ and x = μ + z·σ

where x is the raw score, μ the mean and σ the standard deviation. The tail areas all come from the standard normal cumulative distribution function Φ:

  • Left tail P(Z < z) = Φ(z)
  • Right tail P(Z > z) = 1 − Φ(z)
  • Between ±z = 1 − 2·Φ(−|z|)
  • Two tails (two-sided p-value) = 2·Φ(−|z|)
  • Between a and b = Φ(b) − Φ(a)

Instead of interpolating a printed table, the calculator evaluates Φ numerically: Marsaglia's series near the centre and the Laplace continued fraction in the tails, accurate to about 15 significant digits. Percentile → z uses the inverse function Φ⁻¹ (Acklam's approximation refined with Halley's method). The table row shown under the steps is generated by the same function and rounded to four decimals, so it matches the standard z-table in any statistics textbook.

Worked example

A test has a mean of 70 and a standard deviation of 10. What does a score of 85 mean?

  1. z = (85 − 70) ÷ 10 = 1.5
  2. Φ(1.5) = 0.9332, so the score is higher than about 93.3% of test takers (the 93rd percentile).
  3. The right tail is 1 − 0.9332 = 0.0668: only about 6.7% scored higher.
  4. The central area between z = −1.5 and 1.5 is 0.8664, and the two-tailed p-value is 0.1336.

Going the other way, the 90th percentile is z = Φ⁻¹(0.90) = 1.2816, which is a raw score of 70 + 1.2816 × 10 ≈ 82.8.

Interpreting and limits

The 68–95–99.7 rule is a handy check: about 68.27% of a normal distribution lies within 1 standard deviation of the mean, 95.45% within 2 and 99.73% within 3. Values with |z| above 2 are unusual and values above 3 are often investigated as outliers.

Probabilities are only as good as the normality assumption. Skewed data (incomes, waiting times) or small samples can make the true percentile quite different from Φ(z). If σ is estimated from a small sample and you are testing a mean, use the t distribution — see the confidence interval calculator. To get μ and σ from raw data first, use the standard deviation calculator.

Frequently asked questions

How do I find a percentile from a z-score?

Take the left-tail area Φ(z) and multiply by 100. For z = 1.5, Φ = 0.9332, so the value is at about the 93rd percentile. Choose the "z → P" mode with "Left tail".

What z-score corresponds to 95% confidence?

For a two-sided 95% interval the central area is 0.95, giving z = ±1.959964 (usually rounded to 1.96). A one-sided 95% bound uses z = 1.644854.

Can a z-score be negative?

Yes. A negative z-score means the value is below the mean. z = −1 is one standard deviation below average and sits at about the 16th percentile.

What is the difference between a one-tailed and a two-tailed p-value?

A one-tailed p-value is the area in one tail beyond z (left or right). A two-tailed p-value counts both tails beyond ±|z|, so it is twice the one-tailed value. Use two tails when a difference in either direction matters.

Does my data have to be normally distributed?

You can compute a z-score for any data, but turning it into a probability or percentile assumes a normal distribution. For strongly skewed data, use the empirical percentile of the data instead.

Sources & references

Last reviewed: