How to Calculate a Z-Score (and Turn It Into a Percentile)
By the SnapCalculations team · Updated 24 Nov 2026
The short answer
Subtract the mean from your value, then divide by the standard deviation: z = (x − μ) ÷ σ. The answer tells you how many standard deviations the value sits above (positive) or below (negative) the average. Look the z-score up in a normal table to get its percentile.
What a z-score tells you
A z-score (also called a standard score) says how far a value is from the average, measured in standard deviations. A z-score of 0 is exactly average. A z-score of 1 is one standard deviation above average, and −2 is two standard deviations below it.
Because it removes the original units, a z-score lets you compare things measured on different scales, like a maths test marked out of 100 and an English test with a different average and spread.
z = (x − μ) ÷ σ
x is your value, μ the mean and σ the standard deviation
How to calculate it, step by step
- 1Find the mean (μ) and standard deviation (σ) of the group. A test report or data set usually gives these; if not, work them out first.
- 2Subtract the mean from your value: x − μ. A negative answer means your value is below average.
- 3Divide by the standard deviation. The result is the z-score.
- 4Turn it into a percentile if you need one by looking up the area to the left of z in a standard normal table (or using the calculator).
Going the other way is just as quick. To find the value that matches a z-score, rearrange the formula: x = μ + z × σ.
From z-score to percentile
If the data follows a normal (bell-shaped) curve, every z-score matches a percentile: the share of values that fall below it. These are worth remembering:
- z = 0: 50th percentile, exactly average.
- z = 1: about the 84th percentile (84.13%).
- z = 1.96: the 97.5th percentile, which is why 1.96 appears in 95% confidence intervals.
- z = 2: about the 98th percentile (97.72%).
- Negative z-scores mirror these: z = −1 is about the 16th percentile.
This is the 68–95–99.7 rule: about 68% of values sit within one standard deviation of the mean, about 95% within two, and about 99.7% within three.
Worked examples
Example 1: a test score
A test has a mean of 70 and a standard deviation of 10. You scored 85. What is your z-score and percentile?
- Subtract the mean: 85 − 70 = 15.
- Divide by the standard deviation: 15 ÷ 10 = 1.5.
- The area to the left of z = 1.5 is 0.9332.
Answer: z = 1.5, about the 93rd percentile (93.32%)
Try it in the calculatorExample 2: a value below the mean
Adult heights in a group have a mean of 170 cm and a standard deviation of 8 cm. What is the z-score for 160 cm?
- Subtract the mean: 160 − 170 = −10.
- Divide by the standard deviation: −10 ÷ 8 = −1.25.
- The area to the left of z = −1.25 is 0.1056.
Answer: z = −1.25, about the 11th percentile (10.56%)
Try it in the calculatorExample 3: comparing two tests
You scored 78 in maths (mean 65, standard deviation 10) and 82 in English (mean 75, standard deviation 5). Which result was better compared with the class?
- Maths: (78 − 65) ÷ 10 = 13 ÷ 10 = 1.3.
- English: (82 − 75) ÷ 5 = 7 ÷ 5 = 1.4.
- The English z-score is higher, so it was the stronger result relative to the class, even though the gap from the mean looks smaller.
Answer: English (z = 1.4) beats maths (z = 1.3)
Try it in the calculatorExample 4: from a z-score back to a value
Scores on a test have a mean of 100 and a standard deviation of 15. What score is two standard deviations above the mean?
- Use x = μ + z × σ.
- x = 100 + 2 × 15 = 100 + 30 = 130.
- The area to the left of z = 2 is 0.9772.
Answer: 130, about the 98th percentile (97.72%)
Try it in the calculatorCommon mistakes to avoid
- Subtracting the wrong way round. It's always value minus mean, so values below average get a negative z-score.
- Dividing by the variance. Divide by the standard deviation, not its square.
- Reading the wrong side of the table. Most tables give the area to the left. For the share above a value, use 1 minus that area.
- Assuming a normal curve when there isn't one. The z-score itself always works, but turning it into a percentile assumes the data is roughly bell-shaped.
Check it with the calculator
Enter a value, the mean and the standard deviation in our z-score calculator to get the z-score, the percentile and the share of values above it, with every step shown. You can also switch it round to find the value for a given z-score.
Frequently asked questions
What is a good z-score?
It depends on what you're measuring. For a test score, anything above 0 is above average, and z = 1 beats about 84% of results. For something like a blood test, a z-score far from 0 in either direction is what stands out.
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, about the 16th percentile.
How do I convert a z-score to a percentile?
Find the area to the left of z in a standard normal table and multiply by 100. For example, z = 1.5 has an area of 0.9332, so it's about the 93rd percentile.
What z-score is the 95th percentile?
About 1.645. For the middle 95% of values (2.5% cut from each end), the cut-off is ±1.96.