Statistics

Z-Scores

Last updated: March 2026 · Intermediate
Before you start

You should be comfortable with:

Real-world applications
💊
Nursing

Medication dosages, IV drip rates, vital monitoring

A z-score tells you how many standard deviations a value is from the mean. Think of it as the universal translator for comparing values from different datasets — it strips away the original units and scales, leaving you with a single number that answers: Is this value typical, or is it unusual?

What Is a Z-Score?

The z-score (also called the standard score) converts any raw value into a number that expresses its distance from the mean in terms of standard deviations.

Population formula:

z=xμσz = \frac{x - \mu}{\sigma}

Sample formula:

z=xxˉsz = \frac{x - \bar{x}}{s}

Where xx is the raw value, μ\mu (or xˉ\bar{x}) is the mean, and σ\sigma (or ss) is the standard deviation.

Interpreting the sign and size:

Z-ScoreInterpretation
z>0z > 0The value is above the mean
z=0z = 0The value is exactly at the mean
z<0z < 0The value is below the mean
$z
$z
$z

Calculating Z-Scores

Example 1: Exam Scores

A student scores 82 on an exam where the class mean is μ=75\mu = 75 and the standard deviation is σ=5\sigma = 5.

z=xμσ=82755=75=1.4z = \frac{x - \mu}{\sigma} = \frac{82 - 75}{5} = \frac{7}{5} = 1.4

Interpretation: The student scored 1.4 standard deviations above the mean. This is a solid performance — above average, but not unusually high.

Example 2: Two Different Exams

This is where z-scores become truly powerful. Suppose a student takes two exams:

ExamRaw ScoreMean (μ\mu)Std Dev (σ\sigma)
Math85784
English90826

Which performance was better relative to classmates?

You cannot compare the raw scores directly because the exams have different means and different amounts of variability. Convert both to z-scores:

Math z-score:

zmath=85784=74=1.75z_{\text{math}} = \frac{85 - 78}{4} = \frac{7}{4} = 1.75

English z-score:

zenglish=90826=861.33z_{\text{english}} = \frac{90 - 82}{6} = \frac{8}{6} \approx 1.33

Answer: Even though the English raw score (90) is higher than the Math raw score (85), the Math performance was relatively better. The student was 1.75 standard deviations above the Math mean, compared to only 1.33 standard deviations above the English mean. In other words, the student outperformed a larger proportion of classmates on the Math exam.

Interpreting Z-Scores

The Empirical Rule (68-95-99.7 Rule)

For data that follows a roughly normal (bell-shaped) distribution, z-scores connect directly to the percentage of data in each region:

RangePercentage of Data
Within z=±1z = \pm 1Approximately 68%
Within z=±2z = \pm 2Approximately 95%
Within z=±3z = \pm 3Approximately 99.7%

This means that if a value has a z-score of 2.5, it falls outside the range that contains 95% of the data — it is in the most extreme 5%. A z-score of 3.1 places a value outside 99.7% of the data — it is extremely rare.

Identifying Unusual Values

A practical rule of thumb:

  • z1|z| \leq 1: Typical — the value is within the bulk of the data
  • 1<z21 < |z| \leq 2: Somewhat unusual — the value is in the outer portion of the distribution
  • z>2|z| > 2: Unusual — fewer than about 5% of values are this far from the mean
  • z>3|z| > 3: Very unusual — fewer than about 0.3% of values are this extreme

In quality control, manufacturing, and healthcare, a z-score beyond ±2\pm 2 or ±3\pm 3 often triggers a review or investigation.

Converting Between Raw Scores and Z-Scores

Sometimes you know the z-score and need to find the corresponding raw value. Rearranging the z-score formula:

x=μ+zσx = \mu + z \cdot \sigma

This says: start at the mean, then move zz standard deviations away from it.

Example 3: Finding a Raw Score

Adult male heights in a certain population have μ=170\mu = 170 cm and σ=8\sigma = 8 cm. What height corresponds to a z-score of 1.5-1.5?

x=μ+zσ=170+(1.5)(8)=17012=158 cmx = \mu + z \cdot \sigma = 170 + (-1.5)(8) = 170 - 12 = 158 \text{ cm}

Interpretation: A height of 158 cm is 1.5 standard deviations below the mean. This person is shorter than average, but not extremely so — the z-score of 1.5-1.5 falls within the range that contains about 95% of the population.

Example 4: Setting a Threshold

A company’s shipping times have μ=5.2\mu = 5.2 days and σ=0.8\sigma = 0.8 days. They want to flag any order that takes unusually long — specifically, any order more than 2 standard deviations above the mean. What is the threshold?

x=μ+zσ=5.2+2(0.8)=5.2+1.6=6.8 daysx = \mu + z \cdot \sigma = 5.2 + 2(0.8) = 5.2 + 1.6 = 6.8 \text{ days}

Any order taking longer than 6.8 days would be flagged for review.

Z-Scores and Percentiles

Z-scores and percentiles are closely related for normal distributions. Each z-score corresponds to a specific percentile:

Z-ScoreApproximate Percentile
z=2z = -22.3rd percentile
z=1z = -115.9th percentile (~16th)
z=0z = 050th percentile
z=1z = 184.1st percentile (~84th)
z=2z = 297.7th percentile (~98th)
z=3z = 399.9th percentile

For example, a student with a z-score of 1.4 on an exam is at approximately the 92nd percentile — they scored higher than about 92% of the class. A z-score of 1-1 puts someone at about the 16th percentile — only 16% of values are lower.

These conversions require a z-table or calculator for exact values, but the landmarks above help you estimate quickly.

Real-World Application: Nursing — Comparing Lab Results Across Tests

A patient has the following lab results:

TestPatient’s ValueReference Mean (μ\mu)Reference Std Dev (σ\sigma)
Hemoglobin11.2 g/dL14.0 g/dL1.5 g/dL
White Blood Cell Count (WBC)9.8 ×103/μ\times 10^3/\muL7.5 ×103/μ\times 10^3/\muL2.0 ×103/μ\times 10^3/\muL

Both results deviate from the reference mean, but which is more unusual?

Hemoglobin z-score:

zHgb=11.214.01.5=2.81.51.87z_{\text{Hgb}} = \frac{11.2 - 14.0}{1.5} = \frac{-2.8}{1.5} \approx -1.87

WBC z-score:

zWBC=9.87.52.0=2.32.0=1.15z_{\text{WBC}} = \frac{9.8 - 7.5}{2.0} = \frac{2.3}{2.0} = 1.15

Comparison: The hemoglobin result deviates more from the mean (z=1.87|z| = 1.87) than the WBC result (z=1.15|z| = 1.15). The hemoglobin is nearly 2 standard deviations below the mean, which is approaching the “unusual” threshold. The WBC is elevated but only about 1 standard deviation above the mean — within the range you would see in a healthy population fairly often.

Clinical implication: The z-scores help a nurse prioritize. While both results deserve monitoring, the hemoglobin is the more concerning finding. A z-score of 1.87-1.87 means that fewer than about 3% of healthy adults have hemoglobin this low, suggesting possible anemia that warrants further investigation.

Key nursing takeaway: Different lab tests use completely different scales and units. A hemoglobin of 11.2 and a WBC of 9.8 cannot be compared as raw numbers. Z-scores put both on the same scale — standard deviations from the reference mean — making it possible to assess relative severity.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: A dataset has μ=50\mu = 50 and σ=10\sigma = 10. Find the z-score for a value of 65.

z=xμσ=655010=1510=1.5z = \frac{x - \mu}{\sigma} = \frac{65 - 50}{10} = \frac{15}{10} = 1.5

Answer: The z-score is 1.5, meaning the value is 1.5 standard deviations above the mean.

Problem 2: On Test A, you scored 72 (μ=68\mu = 68, σ=8\sigma = 8). On Test B, you scored 85 (μ=80\mu = 80, σ=3\sigma = 3). On which test did you perform better relative to other students?

zA=72688=48=0.5z_A = \frac{72 - 68}{8} = \frac{4}{8} = 0.5

zB=85803=531.67z_B = \frac{85 - 80}{3} = \frac{5}{3} \approx 1.67

Answer: You performed better on Test B (z=1.67z = 1.67) relative to classmates, even though the raw score difference from the mean was only 5 points. The smaller standard deviation on Test B means that being 5 points above the mean is more impressive.

Problem 3: A baby’s birth weight has a z-score of 2.1-2.1 relative to the population (μ=3.3\mu = 3.3 kg, σ=0.5\sigma = 0.5 kg). What is the baby’s actual weight? Is this unusual?

x=μ+zσ=3.3+(2.1)(0.5)=3.31.05=2.25 kgx = \mu + z \cdot \sigma = 3.3 + (-2.1)(0.5) = 3.3 - 1.05 = 2.25 \text{ kg}

Since z=2.1>2|z| = 2.1 > 2, this weight is unusual — it falls outside the range that contains 95% of birth weights. This baby is classified as low birth weight (below 2.5 kg) and would likely require additional monitoring.

Answer: The baby weighs 2.25 kg, which is unusual (z>2|z| > 2).

Problem 4: A distribution has μ=200\mu = 200 and σ=25\sigma = 25. What range of values falls within 2 standard deviations of the mean?

Lower bound=μ2σ=2002(25)=20050=150\text{Lower bound} = \mu - 2\sigma = 200 - 2(25) = 200 - 50 = 150

Upper bound=μ+2σ=200+2(25)=200+50=250\text{Upper bound} = \mu + 2\sigma = 200 + 2(25) = 200 + 50 = 250

By the empirical rule, approximately 95% of values fall between 150 and 250.

Answer: Values from 150 to 250 fall within 2 standard deviations of the mean.

Problem 5: A student’s z-score on a standardized test is 0. Did the student fail?

A z-score of 0 means the student scored exactly at the mean — right in the middle of all test-takers. This is the 50th percentile. Whether this is “passing” depends on the test’s passing threshold, not on the z-score itself.

On most standardized tests, the mean score is well above the passing cutoff, so a z-score of 0 typically represents a passing score.

Answer: Not necessarily. A z-score of 0 means the student scored at the average, which is usually a passing score. A z-score is not a grade — it is a measure of relative position.

Key Takeaways

  • A z-score measures how many standard deviations a value is from the mean: z=xμσz = \frac{x - \mu}{\sigma}
  • Positive z-scores indicate values above the mean; negative z-scores indicate values below the mean
  • Z-scores allow you to compare values from different distributions by putting them on the same scale
  • To convert back to a raw score: x=μ+zσx = \mu + z \cdot \sigma
  • Values with z>2|z| > 2 are considered unusual; values with z>3|z| > 3 are very unusual
  • The empirical rule connects z-scores to percentages: 68% within ±1\pm 1, 95% within ±2\pm 2, 99.7% within ±3\pm 3
  • In real-world applications like nursing, z-scores help compare results across tests with completely different units and scales

Return to Statistics for more topics in this section.

Last updated: March 29, 2026