What is a z-score?
A z-score, also called a standard score, tells you how far a value is from the mean, measured in standard deviations. It converts values from different scales onto one common scale, so you can compare them fairly.
Here x is the value, μ is the mean and σ is the standard deviation. For a sample, you use the sample mean and sample standard deviation instead.
Suppose a test has a mean of 70 and a standard deviation of 10. A score of 85 has z = (85 − 70) / 10 = 1.5. That score is one and a half standard deviations above average. A score of 60 has z = −1. If you need a refresher on the spread measure, read our guide to standard deviation.
You can calculate any z-score with the z-score calculator.
How do you calculate a z-score step by step?
Follow three steps:
- Find the mean of the data. You can use the average calculator for a list of values.
- Find the standard deviation. Use the standard deviation calculator, and choose population or sample correctly. Our guide on sample vs population standard deviation explains the difference.
- Subtract the mean from the value and divide by the standard deviation.
Example. Heights of adult men in a group average 175 cm with a standard deviation of 7 cm. How unusual is a man who is 189 cm tall?
z = (189 − 175) / 7 = 14 / 7 = 2.
He is two standard deviations above the mean. That is taller than about 97.7% of the group, assuming a bell-shaped distribution.
What does the sign and size of a z-score tell you?
The sign gives the direction, and the absolute value gives the distance.
- z = 0: exactly at the mean.
- z between −1 and 1: within one standard deviation, which is typical.
- |z| between 1 and 2: somewhat above or below average.
- |z| between 2 and 3: unusual.
- |z| greater than 3: very rare in a normal distribution, often flagged as an outlier.
These cut-offs are conventions rather than strict laws. In a data set of one million values, you will still see a few z-scores beyond 4 by chance.
What is the normal distribution?
The normal distribution is the bell-shaped curve that describes many natural measurements, such as heights, measurement errors and exam scores. It is symmetric around its mean, and its spread is set by the standard deviation. The mean, median and mode all sit at the center.
A standard normal distribution has a mean of 0 and a standard deviation of 1. Converting values to z-scores turns any normal distribution into this standard one. That is why one table can serve every normal problem.
What is the 68-95-99.7 rule?
For 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 standard deviations (z between −2 and 2).
- About 99.7% fall within 3 standard deviations (z between −3 and 3).
For test scores with a mean of 70 and a standard deviation of 10, that means roughly 68% of students score between 60 and 80, 95% between 50 and 90, and 99.7% between 40 and 100.
The rule gives fast estimates without a table. A score at z = 2 sits at the edge of the middle 95%. That leaves 5% in the two tails, or 2.5% in each, so about 97.5% of the scores are below it. The exact figure from a table is 97.7%.
How do you find a percentile from a z-score?
Use a standard normal table, a spreadsheet function or a calculator to find the area under the curve to the left of z. That area is the proportion of values below your value, which is its percentile.
Some commonly used z-scores and the share of values below them:
| z | Proportion below |
|---|---|
| −2.0 | 0.0228 |
| −1.0 | 0.1587 |
| 0.0 | 0.5000 |
| 0.5 | 0.6915 |
| 1.0 | 0.8413 |
| 1.28 | 0.8997 |
| 1.645 | 0.9500 |
| 1.96 | 0.9750 |
| 2.0 | 0.9772 |
| 3.0 | 0.9987 |
A z of 1.0 corresponds to about the 84th percentile. A z of 1.96 marks the 97.5th percentile, which is why 1.96 appears in 95% confidence intervals.
How do you find the probability between two values?
Convert both values to z-scores, look up the area below each, and subtract.
Example. Scores have a mean of 70 and a standard deviation of 10. What share of students score between 65 and 85?
- z for 65 = (65 − 70) / 10 = −0.5, with area 0.3085.
- z for 85 = (85 − 70) / 10 = 1.5, with area 0.9332.
The share between them is 0.9332 − 0.3085 = 0.6247, or about 62.5%.
For "above" a value, take 1 minus the area below. The share scoring above 85 is 1 − 0.9332 = 0.0668, about 6.7%.
How do you work backwards from a percentile to a value?
Find the z-score for the target percentile in the table, then solve for x: x = μ + zσ.
Example. What score puts a student in the top 10% when the mean is 70 and the standard deviation is 10? The 90th percentile corresponds to z ≈ 1.28. So x = 70 + 1.28 × 10 = 82.8. A student needs about 83 to be in the top 10%.
How do you compare values from different distributions?
Z-scores let you compare values that were measured on different scales. This is one of their best uses.
Example. Maya scores 82 on a math test (mean 74, standard deviation 8) and 88 on a history test (mean 80, standard deviation 12).
- Math: z = (82 − 74) / 8 = 1.0.
- History: z = (88 − 80) / 12 = 0.67.
Her math performance is stronger relative to the class, even though the history score is higher in raw points.
How are z-scores used in practice?
- Education: standardized tests report scores based on z-scores, such as SAT-style scaling.
- Medicine: growth charts and bone density tests report z-scores to show how a patient compares with peers.
- Quality control: a process is flagged when measurements fall beyond a z of 3 from the target.
- Finance: analysts use z-scores to measure how unusual a return or price move is.
- Outlier detection: values with |z| above 3 are often reviewed for errors.
For help choosing the right average to compute first, see our guide to mean, median and mode.
What mistakes should you avoid?
- Using a table on skewed data. Percentiles from a z-table require a roughly normal shape.
- Mixing up population and sample standard deviation.
- Forgetting the sign. Subtract the mean from the value, not the other way around.
- Reading the table wrong. Most tables give the area to the left of z. For negative z, use the negative rows.
- Treating z = 2 as certain. It marks an unusual value, not an impossible one.
- Rounding too early. Keep two decimals for z, since tables use that precision.
To practice, take ten test scores, compute the mean and standard deviation, and find the z-score for each. Check them with the z-score calculator. Notice that the z-scores always average to zero and have a standard deviation of one, which is a good sanity check on your work.