A z-score tells you how many standard deviations a value lies above or below the mean of its distribution, so you can compare values measured on different scales. Adding a constant to every value shifts the center but leaves the spread and shape unchanged, while multiplying every value by a positive constant scales both the center and the spread.
Quick check
A data set has mean 40 and standard deviation 5. What value is exactly one standard deviation below the mean?Show answerHide answer
, because .
Two students each score 10 points above their class mean on different tests. Did they do equally well relative to their classes?Show answerHide answer
Not necessarily. If one class has a standard deviation of 5 points and the other 10 points, the first student is 2 standard deviations above the mean and the second only 1.
Know these already? Jump to the practice questions
What you'll be able to do
- Calculate and interpret a z-score in context, and find the value that has a given z-score.
- Compare values from different distributions using z-scores.
- Determine the new center and spread after every value is shifted or rescaled.
- Explain why these changes leave the shape of a distribution unchanged.
Key terms
z-score
For a value from a distribution with mean and standard deviation , (use and for sample data).
- In plain English
- How many standard deviations the value sits above (positive) or below (negative) the mean.
- Don't write
- "z = 2 means the value is 2 more than the mean"; it is 2 standard deviations more.
Linear transformation
Changing every value in a data set to , for constants and .
- In plain English
- Adding a constant, multiplying by a constant, or both, as when you change units.
- Don't write
- "a linear transformation changes the shape"; for the shape is unchanged.
What does a z-score tell you?
Learn this:
The sign gives the side: positive is above the mean, negative is below, and is the mean itself. The size gives the distance in standard deviations. If hypothetical biology test scores have mean 76 points and standard deviation 6 points, a score of 91 has : it is 2.5 standard deviations above the class mean.
Rearranging gives , so in the same class the score with is points.
The units cancel, so a z-score is a pure number.
Key idea
A z-score is a distance from the mean measured in standard deviations, and its sign shows the side.
Check yourself
Show answerHide answer
, so this time is 1.4 standard deviations below (faster than) the mean.
How do z-scores compare different distributions?
Raw values from different distributions sit on different scales, so standardize each value within its own distribution, then compare.
A hypothetical student scored 82 in history (class mean 70, standard deviation 8) and 74 in chemistry (class mean 60, standard deviation 10). The chemistry score is further above its mean in points, yet history gives and chemistry gives . So the history score is better relative to the class.
Decide what "better" means before you compare. For test scores, higher is better. For race times or golf scores, lower is better, so the more negative z-score wins.
Examiner's eye
Credit is lost when z-scores are calculated but never compared in context. Name the value that is relatively better, and quote both z-scores as the reason.
Check yourself
Show answerHide answer
The value with , because it is further from its mean. The sign only tells you which side.
How does adding a constant change a distribution?
Adding the same constant to every value slides the whole distribution along the number line.
- Center and location (mean, median, quartiles, minimum, maximum) all increase by .
- Variability (range, IQR, standard deviation) does not change, because every gap between values stays the same.
- The shape does not change.
If hypothetical quiz scores with mean 68 and standard deviation 9 all get 3 bonus points, the new mean is 71 and the standard deviation is still 9.
Check yourself
Show answerHide answer
. Both quartiles drop by 4, to 16 and 27, so the IQR is still .
How does multiplying by a constant change a distribution?
Multiplying every value by a positive constant multiplies center and location measures by , and also the range, IQR and standard deviation. The variance, the square of the standard deviation, is multiplied by . The shape does not change.
A change of units often does both steps, turning into .
Learn this:
The added constant never changes the spread. A negative also mirrors the distribution, so right skew becomes left skew.
Standardizing is itself a linear transformation, so a full set of z-scores has mean 0, standard deviation 1 and the original shape. A change of units with leaves every z-score unchanged.
Key idea
Adding moves the center only; multiplying scales both the center and the spread.
Check yourself
Show answerHide answer
Mean and standard deviation : both are multiplied by 5.
Which method?
| What the question gives or asks | What to do |
|---|---|
| "how many standard deviations", "standardized score" | |
| A z-score, and the value is wanted | |
| "better relative to" two different groups | Compare z-scores; let the context say if lower is better |
| Every value becomes (a shift, a rescale or a unit change) | Center: center. Spread: spread. Shape unchanged |
Worked example 1: When a lower value is better
Question: In a hypothetical 5-kilometer race, Priya finished in 22.4 minutes; her age group's times had mean 26.0 and standard deviation 3.0 minutes. Ravi finished in 19.8 minutes; his age group's times had mean 23.1 and standard deviation 2.2 minutes. Which runner did better relative to their own age group? Justify your answer.
What tells you the method
"relative to their own age group" means compare z-scores.
Step 1: Standardize each time.
Priya: . Ravi: .
WhyEach time is measured against its own group's mean and standard deviation.
Step 2: Decide which direction is better.
A shorter time is better, so the more negative z-score is the better performance.
WhyThe context, not the size of the number, decides what "better" means.
Check it
Both runners beat their group's mean, so both z-scores should be negative, and they are.
Answer
Ravi did better relative to his age group: his time is 1.5 standard deviations below his group's mean (), while Priya's is 1.2 below hers ().
Worked example 2: Changing units
Question: Hypothetical daily high temperatures over 30 spring days have mean 18.5 °C, median 17.9 °C, standard deviation 4.2 °C and IQR 5.6 °C, and the distribution is skewed to the right. Using , find the mean, median, standard deviation and IQR in degrees Fahrenheit, and describe the shape.
What tells you the method
A unit conversion of the form is a linear transformation.
Step 1: Transform the center.
Mean °F; median °F.
WhyCenter measures are multiplied by 1.8 and then shifted up by 32.
Step 2: Transform the spread.
SD °F; IQR °F.
WhySpread is multiplied by ; adding 32 changes no gap.
Step 3: State the shape.
It is still skewed to the right.
WhyA linear transformation with never changes the shape.
Check it
The mean is still greater than the median (), which fits right skew, just as did.
Answer
The mean is °F, the median °F, the standard deviation °F and the IQR °F; the distribution is still skewed to the right.
Your turn
Question: Hypothetical fish lengths have mean 12.5 inches and standard deviation 2.0 inches. To convert to centimeters, multiply by 2.54. Find (a) the mean and standard deviation in centimeters and (b) the z-score of a 15-inch fish, in inches and in centimeters.
Step 1:
The mean is cm.
Step 2: Your go: find the standard deviation in centimeters, then the z-score of the 15-inch fish in each unit.
Show the full solutionHide the solution
Standard deviation: cm.
In inches: .
In centimeters the fish is cm, so . Converting multiplies both the distance from the mean and the standard deviation by 2.54, so the z-score does not change.
Answer: (a) The mean is cm and the standard deviation is cm. (b) in both units.
Traps
Trap
Thinking that adding a constant to every value changes the standard deviation.
It seems right because every value changes. But the standard deviation measures distances from the mean, and adding the same amount to everything leaves those distances unchanged.
Check yourself
Show answerHide answer
. Adding a constant shifts the distribution without changing its spread.
Trap
Thinking that the larger z-score is always the better performance.
It seems right because a larger z-score means further above average. But for times or golf scores lower is better, so the more negative z-score wins.
Check yourself
Show answerHide answer
The swimmer with , because a lower time is better and that time is further below its event's mean.
What's examined
z-scores and linear transformations are tested on the AP® Statistics exam (One-variable data), in both the multiple-choice and free-response sections, with command words such as Calculate, Interpret, Compare and Justify. Learn the z-score formula and show the substitution. z-scores return with normal curves: see the note on Normal Distributions and the Empirical Rule.
Practice questions
- Recall A value in a data set has a z-score of . Which statement is correct?
- A) It is 0.8 units below the mean.
- B) It is 0.8 standard deviations below the mean.
- C) It is 0.8 standard deviations above the mean.
- D) It is greater than 80 percent of the data.
Show answer
Answer: B) It is 0.8 standard deviations below the mean.
Marking points:
- A negative z-score means below the mean, and its size counts standard deviations.
- A measures in the data's units. C ignores the sign. D reads the z-score as a percentile.
- Apply Hypothetical scores on an entrance test have mean 480 and standard deviation 90. A scholarship needs a z-score of at least 1.4. What is the lowest score that qualifies?
Show answer
Answer: The lowest qualifying score is .
Marking points:
- Rearrange: .
- .
- Recall Every value in a data set has 10 subtracted from it. Which summary statistic does not change?
- A) The mean
- B) The median
- C) The first quartile
- D) The interquartile range
Show answer
Answer: D) The interquartile range
Marking points:
- Subtracting a constant shifts every value equally, so is unchanged.
- A, B and C measure center or location, so each one decreases by 10.
- Exam-style On a hypothetical test, Ana scored 78 in a class with mean 70 and standard deviation 5. On another test, Ben scored 88 in a class with mean 80 and standard deviation 6. Who did better relative to their own class? Justify with z-scores to two decimal places.
Show answer
Answer: Ana did better relative to her class: her z-score is , and Ben's is .
Marking points:
- Ana: . Ben: .
- Higher scores are better, and Ana's is more standard deviations above her class mean.
- Both scored 8 points above their mean, so only the z-scores separate them.
- Apply A data set has mean 10 and standard deviation 2. Every value is multiplied by 3, and then 4 is added. What are the new mean and standard deviation?
- A) Mean 30, standard deviation 6
- B) Mean 34, standard deviation 10
- C) Mean 34, standard deviation 6
- D) Mean 34, standard deviation 18
Show answer
Answer: C) Mean 34, standard deviation 6
Marking points:
- New mean ; new standard deviation .
- A forgets to add 4 to the mean. B also adds 4 to the standard deviation. D multiplies the standard deviation by , the rule for the variance.
- Exam-style Hypothetical race times of 60 runners have mean 300 seconds, standard deviation 45 seconds and IQR 60 seconds, skewed to the right. (a) Find the mean, standard deviation and IQR in minutes, and describe the shape. (b) Find the z-score of a time of 255 seconds, in seconds and in minutes.
Show answer
Answer: (a) The mean is minutes, the standard deviation minutes and the IQR minute; the distribution is still skewed to the right. (b) in both units.
Marking points:
- Dividing by 60 multiplies by : , , .
- Multiplying by a positive constant keeps the right skew.
- Seconds: . Minutes: , the same, because a change of units does not change a z-score.
- Recall Every value in a data set is converted to its z-score. What are the mean and standard deviation of the z-scores?
- A) Mean 0, standard deviation 1
- B) Mean 0, the original standard deviation
- C) The original mean, standard deviation 1
- D) Mean 1, standard deviation 0
Show answer
Answer: A) Mean 0, standard deviation 1
Marking points:
- Subtracting the mean moves the mean to 0; dividing by the standard deviation makes the standard deviation 1.
- B forgets the division. C forgets the subtraction. D swaps the two values.
Key points
Recall, then reveal
Say the main points from memory first, then check them.
Show key pointsHide key points
- counts standard deviations from the mean: positive above, negative below.
- To turn a z-score back into a value, use .
- To compare across distributions, compare z-scores, and let the context decide whether higher or lower is better.
- Adding a constant shifts center and location measures but leaves spread and shape alone.
- Multiplying by a positive constant multiplies center and spread by , multiplies the variance by and keeps the shape.