Skip to content

Z-Score Calculator: Standard Score, Percentile and P-Value

Convert a value to a z-score and find its percentile and p-values from the normal distribution. Learn the formula, how to read z-scores and real worked examples.

3 min read

A z-score tells you how many standard deviations a value lies above or below the mean. It puts very different measurements on a common scale, so you can compare a test score with a height or a blood pressure reading. Our z-score calculator converts a value to a z-score and gives its percentile and p-values from the normal distribution. This guide explains the formula and how to interpret the results.

How to use the calculator

  1. Value x: the observation you are interested in.
  2. Mean μ: the average of the distribution.
  3. Standard deviation σ: how spread out the values are.

With the defaults, a score of 85 on a test with mean 70 and standard deviation 10:

  • Z-score: 1.5
  • Percentile: 93.32%
  • P(X < x): 0.9332
  • P(X > x): 0.0668
  • Two-tailed p-value: 0.1336

So a score of 85 beats about 93% of test takers.

The z-score formula

For the example: z = (85 − 70) ÷ 10 = 15 ÷ 10 = 1.5.

  • A positive z-score is above the mean.
  • A negative z-score is below the mean.
  • Zero is exactly the mean.

From z-score to percentile

For normally distributed data, each z-score matches a fixed percentile. The calculator uses the standard normal distribution to convert exactly.

Z-scorePercentile (below)
−22.28%
−115.87%
050%
184.13%
1.593.32%
1.9697.5%
297.72%
399.87%

The 68-95-99.7 rule

In a normal distribution:

  • About 68% of values fall within 1 standard deviation of the mean (z between −1 and 1).
  • About 95% fall within 2 (more precisely 1.96).
  • About 99.7% fall within 3.

So a z-score beyond ±2 is unusual (about 1 in 20) and one beyond ±3 is rare (about 3 in 1,000).

The p-values

  • P(X < x) is the probability of a value at or below yours: the left tail.
  • P(X > x) is the probability of a value above yours: the right tail, 1 − 0.9332 = 0.0668.
  • Two-tailed p-value is the probability of a value at least this far from the mean in either direction: 2 × 0.0668 = 0.1336.

In a hypothesis test, a two-tailed p-value below 0.05 (|z| > 1.96) is usually called significant. For t, chi-square and F statistics, use the p-value calculator.

Worked examples

Comparing exam results. Ali scores 78 in maths (mean 65, SD 8) and 82 in English (mean 75, SD 10). Maths z = 13 ÷ 8 = 1.63; English z = 7 ÷ 10 = 0.70. Relative to classmates, Ali did much better in maths, despite the lower mark.

Heights. Adult women in a population average 162 cm with an SD of 7 cm. A woman of 175 cm has z = 13 ÷ 7 = 1.86, taller than about 97% of women. The height calculator covers height predictions.

Quality control. Bags of flour should weigh 1,000 g with an SD of 5 g. A bag at 988 g has z = −2.4, which is below the 1st percentile and worth investigating.

Working backwards

To find the value at a given z-score, rearrange:

The score needed to be in the top 5% (z = 1.645) on the example test is 70 + 1.645 × 10 ≈ 86.5.

When z-scores mislead

Percentiles from z-scores assume the data is roughly bell-shaped. For skewed data, such as incomes or waiting times, the z-score still measures distance from the mean but the percentile conversion can be badly off. Check the shape of your data first; the statistics calculator compares mean and median, which hints at skew. You also need the mean and SD, which the standard deviation calculator calculates from raw data.

Frequently asked questions

What is a good z-score?

It depends on context. On a test, higher is better; a z-score of 1 beats about 84% of people. In quality control, values close to 0 are best.

Can a z-score be negative?

Yes. A negative z-score means the value is below the mean. −1 means one standard deviation below.

What z-score is statistically significant?

For a two-tailed test at the 5% level, |z| greater than 1.96. At the 1% level, |z| greater than 2.576.

Do I need the population or sample standard deviation?

Use the population SD if you know it. With a large sample, the sample SD is a good substitute.

Share

Try it yourself

Run your own numbers with our free tool: Z-score calculator. No sign-up, and it works on any device.

Open the calculator