Z-Scores: Definition, Method and Examples

MathPublished

Z-Scores: Calculating and Interpreting Standard Scores

A z-score, or standard score, tells how many standard deviations a value is above or below the mean. A positive z-score is above the mean, a negative z-score is below it, and a z-score of zero is exactly at the mean.


Understanding standard scores helps us compare data accurately, even when the original numbers use completely different scales or units.

What is a z-score?

A z-score translates an original data value into a universal scale. By measuring the distance between a value and the mean, a z-score standardizes the data.


Instead of measuring the distance in feet, pounds, or test points, a z-score measures the distance in units of standard deviation. This standardized value is sometimes called a z value or standardised score.

A number line showing the mean at zero, with standard deviations extending from negative three to positive three in whole integers.

When a data point exactly equals the mean, its distance from the mean is zero. Therefore, its z-score is exactly zero.

Use the z-score formula

To calculate a z-score, you must know the data value, the mean of the population, and the standard deviation of the population.


The standard score formula subtracts the mean from the data value, and then divides that difference by the standard deviation.


z=x−μσz = \dfrac{x - \mu}{\sigma}


The variables in this formula represent specific parts of the data set:

  • zz: The calculated z-score.
  • x x: The original data value being examined.
  • μ\mu (mu): The mean of the data set.
  • σ\sigma (sigma): The standard deviation of the data set.

Always subtract the mean from the data value, never the other way around.


If you are working with sample data rather than population data, the formula works exactly the same way, but it uses sample variables: z=x−xˉsz = \dfrac{x - \bar{x}}{s}.

Interpret positive negative and zero scores

A z-score provides immediate insight into where a specific value sits relative to the rest of the group. The sign of the z-score is just as important as the number itself.

  • Positive z-scores: The original value is greater than the mean.
  • Negative z-scores: The original value is less than the mean.
  • Zero z-score: The original value is exactly equal to the mean.

A bell curve divided into three sections. The left section represents negative z-scores, the center line is zero, and the right section represents positive z-scores.

The size of the number indicates the magnitude of the difference. A z-score of 2.52.5 means the value is exactly 2.52.5 standard deviations above the mean. A z-score of −0.1-0.1 means the value is slightly below the mean.

Compare values on different scales

Comparing test results from two completely different subjects is difficult when the tests have different point scales or difficulty levels. By converting the original values into standardized scores, we can compare them directly.


Consider a student who scored 8585 on a math test and 7070 on a science test.

Subject

Score (xx)

Mean (μ\mu)

Standard Deviation (σ\sigma)

Calculated z-score

Math

8585

8080

1010

85−8010=0.5\dfrac{85 - 80}{10} = 0.5

Science

7070

6060

44

70−604=2.5\dfrac{70 - 60}{4} = 2.5

Even though the math score was higher in raw points, the science score has a much higher z-score. The student performed moderately well in math, scoring half a standard deviation above average. However, the student performed exceptionally well in science, scoring two and a half standard deviations above average.

Connect z-scores to a normal model

When data follows a normal distribution, we can use z-scores to determine probabilities and percentiles.


In a standard normal distribution, the mean is exactly 00 and the standard deviation is exactly 11. Because z-scores measure standard deviations, they perfectly match the x-axis of a standard normal model.


You can only use z-scores to find exact percentiles if the original data is normally distributed.


If the data forms a bell curve, you can use a standard normal table or a calculator to find the exact area under the curve to the left of the z-score. This area represents the percentile rank of the data value.

Worked examples

The following examples demonstrate how to calculate a z-score and how to work backward to find an original value.


Example 1: Calculating a negative standard score


Question: A local bakery produces loaves of bread with a mean weight of 500500 grams and a standard deviation of 1212 grams. What is the z-score for a loaf that weighs 476476 grams?


Method:

  1. Identify the given values: x=476x = 476, μ=500\mu = 500, and σ=12\sigma = 12.
  2. Substitute the values into the formula: z=x−μσz = \dfrac{x - \mu}{\sigma}.
  3. Calculate the numerator first: 476−500=−24476 - 500 = -24.
  4. Divide by the standard deviation: z=−2412z = \dfrac{-24}{12}.

Answer: The z-score is −2.0-2.0.


Check: A z-score of −2.0-2.0 means the weight is 22 standard deviations below the mean. Two standard deviations equal 2×12=242 \times 12 = 24 grams. Subtracting 2424 grams from 500500 grams gives 476476 grams.


Example 2: Comparing two distinct datasets


Question: An adult elephant weighs 12,00012{,}000 pounds in a population with a mean of 10,50010{,}500 pounds and a standard deviation of 1,0001{,}000 pounds. An adult hippopotamus weighs 4,2004{,}200 pounds in a population with a mean of 3,3003{,}300 pounds and a standard deviation of 300300 pounds. Relative to their species, which animal is exceptionally heavier?


Method:

  1. Calculate the elephant's z-score: z=12,000−10,5001,000=1,5001,000=1.5z = \dfrac{12{,}000 - 10{,}500}{1{,}000} = \dfrac{1{,}500}{1{,}000} = 1.5.
  2. Calculate the hippopotamus's z-score: z=4,200−3,300300=900300=3.0z = \dfrac{4{,}200 - 3{,}300}{300} = \dfrac{900}{300} = 3.0.
  3. Compare the two standard scores.

Answer: The hippopotamus is exceptionally heavier relative to its species, with a z-score of 3.03.0 compared to the elephant's 1.51.5.


Check: The hippopotamus is 33 standard deviations above average, which is extremely rare. The elephant is only 1.51.5 standard deviations above average, which is moderately heavy.


Example 3: Finding the original value from a z-score


Question: A city's daily temperature has a mean of 22∘C22^\circ\text{C} and a standard deviation of 4∘C4^\circ\text{C}. If a specific day had a standardized score of 1.251.25, what was the actual temperature?


Method:

  1. Identify the given values: z=1.25z = 1.25, μ=22\mu = 22, and σ=4\sigma = 4.
  2. Set up the equation: 1.25=x−2241.25 = \dfrac{x - 22}{4}.
  3. Multiply both sides by 44: 1.25×4=x−221.25 \times 4 = x - 22.
  4. Simplify: 5=x−225 = x - 22.
  5. Add 2222 to both sides: x=27x = 27.

Answer: The actual temperature was 27∘C27^\circ\text{C}.


Check: Substitute 2727 back into the original formula: z=27−224=54=1.25z = \dfrac{27 - 22}{4} = \dfrac{5}{4} = 1.25.

Common mistakes

One of the most frequent errors when calculating standardized scores is subtracting the values in the wrong order.


The numerator must always be the data value minus the mean (x−μx - \mu). If you mistakenly subtract the data value from the mean (μ−x\mu - x), the resulting standard score will have the wrong sign. This flips a high score into a low score, entirely misrepresenting the data.

A comparison showing the correct formula x minus mu resulting in a positive score, and the incorrect formula mu minus x resulting in a negative score.


Another common mistake involves confusion with standard deviation and variance. The standard score formula specifically requires standard deviation in the denominator. If a problem provides the variance instead, you must take the square root of the variance to find the standard deviation before calculating the standardized score.

Frequently asked questions

Can a standard score be greater than 3 or less than -3?

Yes. While most values in a normal distribution fall within three standard deviations of the mean, outliers can have standard scores of 44, −5-5, or even further from zero.


Does calculating standard scores change the shape of the data?

No. Converting data into z-scores only changes the scale. It shifts the mean to 00 and scales the standard deviation to 11, but the overall shape of the distribution remains exactly the same.


Can standard scores be used for data that is not normally distributed?

Yes. You can calculate a standardized score for a value in any distribution as long as you know the mean and standard deviation. However, you cannot use standard normal probability tables to determine percentiles unless the data actually follows a normal distribution.

Practice questions

Question

A standard normal bell curve with standard deviation increments marked. A point is clearly plotted exactly on the first mark to the right of zero.

What is the z-score of Point A shown on the standard normal distribution curve?

  • −1.0-1.0

  • 0.00.0

  • 1.01.0

  • 2.02.0

Answer:

1.01.0

Question

A track team's sprint times have a mean of 12.512.5 seconds and a standard deviation of 0.40.4 seconds. Calculate the standardized score for an athlete who finished in 11.711.7 seconds.

  • 0.80.8

  • −2.0-2.0

  • 2.02.0

  • −0.8-0.8

Answer:

−2.0-2.0

Question

Group A has a mean of 5050 and a standard deviation of 1010. Group B has a mean of 2020 and a standard deviation of 55. A value of 6565 belongs to Group A, and a value of 3030 belongs to Group B. Which value has a higher z-score?

  • The value from Group A

  • The value from Group B

  • Both values have the same z-score

  • It cannot be determined from the given information

Answer:

The value from Group B

Question

What does a z-score of 00 indicate about a data point?

  • The data point is an outlier and should be discarded.

  • The data point is exactly equal to the mean.

  • The data point is equal to the standard deviation.

  • The mean and standard deviation are equal.

Answer:

The data point is exactly equal to the mean.

Question

A student scored 22 standard deviations below the mean on an exam. If the student's actual score was 6464 and the standard deviation was 88, what was the mean score of the exam?

  • 4848

  • 7272

  • 8080

  • 9696

Answer:

8080