Statistics
Z-Scores Explained with Worked Examples
By MathSolver Pro Editorial Team · Published
A z-score tells you how many standard deviations a value lies above or below the mean. It lets you compare values measured on different scales and, for normally distributed data, convert any value into a percentile or probability.
What a z-score measures
A raw score on its own says little. Scoring 85 on a test sounds good, but if everyone else scored 95 it is actually weak. A z-score, also called a standard score, fixes this by measuring a value relative to its group. It answers one question: how many standard deviations is this value from the mean?
Here is the value, is the mean and is the standard deviation. A positive z-score means the value is above the mean, a negative one means below, and zero means exactly average. A z-score of 2 means two standard deviations above the mean, which is unusually high in most data sets. If you need a refresher on computing the standard deviation itself, see how to calculate standard deviation.
Calculating a z-score step by step
Example 1: a test score
- A class test has mean 70 and standard deviation 10. A student scores 85.
- Subtract the mean: .
- Divide by the standard deviation: .
- The score is 1.5 standard deviations above the class average.
Example 2: a score below average
- On the same test another student scores 62.
- .
- The negative sign shows the score is 0.8 standard deviations below the mean.
The units always cancel, because the numerator and denominator are both measured in the original units. That is what makes z-scores unitless and comparable across completely different measurements.
Comparing results on different scales
The most practical use of z-scores is fair comparison. Suppose a student scores 82 on a chemistry exam where the mean is 75 and the standard deviation is 5, and 88 on a history exam where the mean is 80 and the standard deviation is 8. The history mark is higher, but which result is more impressive?
Relative to their classmates, the chemistry result is stronger: 1.4 standard deviations above average compared with 1.0. The same idea lets scientists compare measurements from different instruments, and lets analysts compare a company's performance against industries with very different typical values.
Working backwards from a z-score
Rearranging the formula gives the raw value that corresponds to a given z-score:
On the test with mean 70 and standard deviation 10, a z-score of corresponds to . This form is useful for setting cut-offs, for example deciding which raw score a student needs to land in the top 10 percent, as Example 4 below shows.
From z-scores to percentiles
When data follow a normal distribution, the bell curve, a z-score can be converted into a percentile, the proportion of values that fall below it. The standard normal distribution has mean 0 and standard deviation 1, and its cumulative function, written , gives that proportion. A few landmark values are worth remembering:
- : the mean sits at the 50th percentile.
- and .
- , so the student in Example 1 scored higher than about 93 percent of the class.
- , so the student in Example 2 is near the 21st percentile.
- , which is why 1.96 appears in 95 percent confidence intervals.
The empirical rule summarises the bell curve: about 68 percent of values lie within one standard deviation of the mean, about 95 percent within two and about 99.7 percent within three. Values with are therefore rare and are often investigated as possible outliers.
Example 3: the probability of a tall person
- Adult heights in a population are roughly normal with mean 170 cm and standard deviation 8 cm. What proportion are taller than 186 cm?
- .
- .
- About 2.3 percent of the population is taller than 186 cm.
Example 4: a top-10-percent cut-off
- On the test with mean 70 and standard deviation 10, what score marks the top 10 percent?
- We need with . From a table or calculator, .
- .
- A score of about 83 or higher puts a student in the top 10 percent.
Z-scores for sample means
Averages vary less than individual values. If samples of size are drawn from a population with mean and standard deviation , the sample mean has standard deviation , called the standard error. The z-score of a sample mean is
For example, if 25 students from the test above average 73, the standard error is and . A three-point lift is ordinary for one student but noticeably unusual for an average of 25 students. This formula is the starting point for z-tests and confidence intervals in introductory statistics.
Cautions when using z-scores
- Converting z-scores to percentiles with is only valid when the data are approximately normal. For strongly skewed data, such as incomes, percentiles must come from the data themselves.
- Use the population standard deviation when you know it and the sample standard deviation as an estimate otherwise; small samples call for the t-distribution instead.
- A z-score describes position within one group. Comparing z-scores from groups with very different ability levels can still mislead.
- Keep the sign. A z-score of and one of are equally unusual but mean opposite things.
The z-score calculator computes z-scores, percentiles and the area between two values, and the standard deviation calculator gives the mean and standard deviation you need first.
Where z-scores appear in practice
Standardised test reports often convert raw marks into scaled scores or percentiles that are built on the same idea as a z-score. Paediatricians track a child's height and weight against growth charts, and some clinical tools report those measurements directly as z-scores for the child's age. Bone density scans report a T-score, which is a z-score measured against healthy young adults. Quality engineers flag parts whose measurements drift more than three standard deviations from the target, and finance analysts standardise returns so that funds with different risk levels can be compared on one scale.
Practice problems
- A data set has mean 50 and standard deviation 4. Find the z-score of 56. Answer: .
- Scores have mean 100 and standard deviation 15. Which score has ? Answer: .
- Values are normal with mean 500 and standard deviation 100. What proportion lie below 650? Answer: , so about , or 93 percent.
Frequently asked questions
What is considered a high or unusual z-score?
In most contexts a z-score beyond 2 or below -2 is considered unusual, since only about 5 percent of normally distributed values fall that far out. Beyond 3 or below -3 is very rare, at about 0.3 percent.
Can a z-score be negative?
Yes. A negative z-score simply means the value is below the mean. A z-score of -1 is one standard deviation below average.
Do z-scores change the shape of a distribution?
No. Converting every value to a z-score shifts and rescales the data so the mean becomes 0 and the standard deviation becomes 1, but a skewed distribution stays skewed.
How do I find the percentage between two z-scores?
Subtract their cumulative probabilities. For example, the proportion between z = -1 and z = 1 is about 0.8413 - 0.1587 = 0.6827, roughly 68 percent.
Is a z-score the same thing as a percentile?
No. A z-score counts standard deviations from the mean, while a percentile gives the percentage of values below a point. For normal data one can be converted into the other, so z = 1 corresponds to roughly the 84th percentile.