AP · Statistics · z-Scores and Normal Distributions

z-Scores and Transforming Data

14 min readUpdated November 30, 2026FreeAP Statistics, Exploring One-Variable Data

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

  1. A data set has mean 40 and standard deviation 5. What value is exactly one standard deviation below the mean?Show answerHide answer

    3535, because 40−5=3540 - 5 = 35.

  2. 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 xx from a distribution with mean μ\mu and standard deviation σ\sigma, z=x−μσz = \dfrac{x - \mu}{\sigma} (use xˉ\bar{x} and ss 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 xx in a data set to a+bxa + bx, for constants aa and bb.

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 b>0b > 0 the shape is unchanged.

What does a z-score tell you?

Learn this:

z=x−meanstandard deviationz = \frac{x - \text{mean}}{\text{standard deviation}}

The sign gives the side: positive is above the mean, negative is below, and z=0z = 0 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 z=91−766=2.5z = \dfrac{91 - 76}{6} = 2.5: it is 2.5 standard deviations above the class mean.

Rearranging gives x=mean+z×standard deviationx = \text{mean} + z \times \text{standard deviation}, so in the same class the score with z=−0.5z = -0.5 is 76−0.5(6)=7376 - 0.5(6) = 73 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

Hypothetical reaction times have mean 0.42 seconds and standard deviation 0.05 seconds. What is the z-score of 0.35 seconds?
Show answerHide answer

z=0.35−0.420.05=−1.4z = \dfrac{0.35 - 0.42}{0.05} = -1.4, 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 z=82−708=1.5z = \dfrac{82 - 70}{8} = 1.5 and chemistry gives z=74−6010=1.4z = \dfrac{74 - 60}{10} = 1.4. 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

Which is more unusual relative to its distribution: a value with z=−2.1z = -2.1 or one with z=1.8z = 1.8?
Show answerHide answer

The value with z=−2.1z = -2.1, 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 aa to every value slides the whole distribution along the number line.

  • Center and location (mean, median, quartiles, minimum, maximum) all increase by aa.
  • 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

A data set has Q1=20Q_1 = 20 and Q3=31Q_3 = 31. Every value is decreased by 4. What is the new IQR?
Show answerHide answer

1111. Both quartiles drop by 4, to 16 and 27, so the IQR is still 27−16=1127 - 16 = 11.

How does multiplying by a constant change a distribution?

Multiplying every value by a positive constant bb multiplies center and location measures by bb, and also the range, IQR and standard deviation. The variance, the square of the standard deviation, is multiplied by b2b^2. The shape does not change.

A change of units often does both steps, turning xx into a+bxa + bx.

Learn this:

new mean=a+b×old mean,new SD=∣b∣×old SD\text{new mean} = a + b \times \text{old mean}, \qquad \text{new SD} = |b| \times \text{old SD}

The added constant aa never changes the spread. A negative bb 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 b>0b > 0 leaves every z-score unchanged.

Key idea

Adding moves the center only; multiplying scales both the center and the spread.

Check yourself

Data have mean 12 and standard deviation 3. Every value is multiplied by 5. What are the new mean and standard deviation?
Show answerHide answer

Mean 6060 and standard deviation 1515: both are multiplied by 5.

Which method?

What the question gives or asksWhat to do
"how many standard deviations", "standardized score"z=x−meanSDz = \dfrac{x - \text{mean}}{\text{SD}}
A z-score, and the value is wantedx=mean+z×SDx = \text{mean} + z \times \text{SD}
"better relative to" two different groupsCompare z-scores; let the context say if lower is better
Every value becomes a+bxa + bx (a shift, a rescale or a unit change)Center: a+b×a + b \times center. Spread: ∣b∣×\lvert b \rvert \times 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.

  1. Step 1: Standardize each time.

    Priya: z=22.4−26.03.0=−1.2z = \dfrac{22.4 - 26.0}{3.0} = -1.2. Ravi: z=19.8−23.12.2=−1.5z = \dfrac{19.8 - 23.1}{2.2} = -1.5.

    Why

    Each time is measured against its own group's mean and standard deviation.

  2. Step 2: Decide which direction is better.

    A shorter time is better, so the more negative z-score is the better performance.

    Why

    The 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 (z=−1.5z = -1.5), while Priya's is 1.2 below hers (z=−1.2z = -1.2).

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 F=32+1.8CF = 32 + 1.8C, 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 a+bxa + bx is a linear transformation.

  1. Step 1: Transform the center.

    Mean =32+1.8(18.5)=65.3= 32 + 1.8(18.5) = 65.3 °F; median =32+1.8(17.9)=64.22= 32 + 1.8(17.9) = 64.22 °F.

    Why

    Center measures are multiplied by 1.8 and then shifted up by 32.

  2. Step 2: Transform the spread.

    SD =1.8(4.2)=7.56= 1.8(4.2) = 7.56 °F; IQR =1.8(5.6)=10.08= 1.8(5.6) = 10.08 °F.

    Why

    Spread is multiplied by b=1.8b = 1.8; adding 32 changes no gap.

  3. Step 3: State the shape.

    It is still skewed to the right.

    Why

    A linear transformation with b>0b > 0 never changes the shape.

Check it

The mean is still greater than the median (65.3>64.2265.3 > 64.22), which fits right skew, just as 18.5>17.918.5 > 17.9 did.

Answer

The mean is 65.365.3 °F, the median 64.2264.22 °F, the standard deviation 7.567.56 °F and the IQR 10.0810.08 °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.

  1. Step 1:

    The mean is 2.54×12.5=31.752.54 \times 12.5 = 31.75 cm.

  2. 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: 2.54×2.0=5.082.54 \times 2.0 = 5.08 cm.

In inches: z=15−12.52.0=1.25z = \dfrac{15 - 12.5}{2.0} = 1.25.

In centimeters the fish is 2.54×15=38.12.54 \times 15 = 38.1 cm, so z=38.1−31.755.08=1.25z = \dfrac{38.1 - 31.75}{5.08} = 1.25. 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 31.7531.75 cm and the standard deviation is 5.085.08 cm. (b) z=1.25z = 1.25 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

Every value in a data set with standard deviation 4.5 has 20 added to it. What is the new standard deviation?
Show answerHide answer

4.54.5. 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

Two swimmers' times have z-scores of −0.9-0.9 and −1.6-1.6 relative to their own events. Which swimmer did better relative to their event?
Show answerHide answer

The swimmer with z=−1.6z = -1.6, 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

  1. Recall A value in a data set has a z-score of −0.8-0.8. 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.
  1. 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 606606.

Marking points:

  • Rearrange: x=mean+z×SDx = \text{mean} + z \times \text{SD}.
  • x=480+1.4(90)=480+126=606x = 480 + 1.4(90) = 480 + 126 = 606.
  1. 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 Q3−Q1Q_3 - Q_1 is unchanged.
  • A, B and C measure center or location, so each one decreases by 10.
  1. 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 1.61.6, and Ben's is 1.331.33.

Marking points:

  • Ana: z=78−705=1.6z = \dfrac{78 - 70}{5} = 1.6. Ben: z=88−806≈1.33z = \dfrac{88 - 80}{6} \approx 1.33.
  • 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.
  1. 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 =4+3(10)=34= 4 + 3(10) = 34; new standard deviation =3(2)=6= 3(2) = 6.
  • A forgets to add 4 to the mean. B also adds 4 to the standard deviation. D multiplies the standard deviation by 32=93^2 = 9, the rule for the variance.
  1. 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 55 minutes, the standard deviation 0.750.75 minutes and the IQR 11 minute; the distribution is still skewed to the right. (b) z=−1z = -1 in both units.

Marking points:

  • Dividing by 60 multiplies by b=160b = \dfrac{1}{60}: 30060=5\dfrac{300}{60} = 5, 4560=0.75\dfrac{45}{60} = 0.75, 6060=1\dfrac{60}{60} = 1.
  • Multiplying by a positive constant keeps the right skew.
  • Seconds: z=255−30045=−1z = \dfrac{255 - 300}{45} = -1. Minutes: z=4.25−50.75=−1z = \dfrac{4.25 - 5}{0.75} = -1, the same, because a change of units does not change a z-score.
  1. 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
  • z=x−meanSDz = \dfrac{x - \text{mean}}{\text{SD}} counts standard deviations from the mean: positive above, negative below.
  • To turn a z-score back into a value, use x=mean+z×SDx = \text{mean} + z \times \text{SD}.
  • 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 bb multiplies center and spread by bb, multiplies the variance by b2b^2 and keeps the shape.

Keep learning

Explore AP Statistics tutoring →

View the full Statistics syllabus →

More in this unit

Exploring One-Variable Data

All z-Scores and Normal Distributions notes

Part of Novark's AP Statistics notes