Skip to content

Z-Scores and the Empirical Rule

In this lesson you’ll learn to compute a z-score and interpret it, apply the 68-95-99.7 rule, use z-scores to compare values measured on different scales, and work backwards from a percentile to a raw value.

A z-score converts a raw value into “how many standard deviations from the mean.”

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

The numerator is the deviation; dividing by σ\sigma expresses it in standard-deviation units.

Interpretation is direct:

  • z=0z = 0 means exactly at the mean.
  • z=+1.5z = +1.5 means 1.5 standard deviations above the mean.
  • z=2z = -2 means 2 standard deviations below the mean.

Because the units cancel, a z-score is dimensionless. That’s what makes it powerful: it lets you compare things measured on completely different scales.

Converting every value in a dataset to a z-score is called standardizing. The result always has mean 0 and standard deviation 1, regardless of the original scale.

If the original data was normal, the standardized version is the standard normal distribution, written N(0,1)N(0,1). Historically this mattered enormously, because one table of standard normal values served every normal distribution. Software has made the tables obsolete, but the concept remains central.

For approximately normal distributions, the 68-95-99.7 rule gives you fast estimates.

μ±1σ68%μ±2σ95%μ±3σ99.7%\mu \pm 1\sigma \approx 68\% \quad\quad \mu \pm 2\sigma \approx 95\% \quad\quad \mu \pm 3\sigma \approx 99.7\%

Consequences worth memorizing:

  • About 32% of values fall outside 1σ, so 16% in each tail.
  • About 5% fall outside 2σ, so 2.5% in each tail.
  • About 0.3% fall outside 3σ, roughly 1 in 370.

That 2.5%-per-tail figure is where the conventional 95% confidence level comes from, and it’s why z=±1.96z = \pm 1.96 (very nearly 2) appears constantly in later lessons.

The rule requires approximate normality. Applying it to skewed data gives wrong answers. For any distribution whatsoever, Chebyshev’s inequality gives a weaker but universally valid bound: at least 75% within 2σ and at least 89% within 3σ.

This is the everyday application. Two values from different distributions become comparable once standardized.

A score of 85 means nothing until you know the mean and spread. A z-score of +1.8+1.8 is immediately interpretable as “well above typical.”

A common convention treats z>2|z| > 2 as unusual and z>3|z| > 3 as very unusual. This connects to outlier detection: the z-score method flags values beyond 3σ, complementing the IQR method from the boxplot lesson.

The two methods disagree sometimes, and that’s informative. The z-score approach uses the mean and standard deviation, which are themselves distorted by outliers, so a single extreme value can inflate σ\sigma enough to hide itself. The IQR method, being positional, doesn’t have that problem. For skewed data prefer IQR; for roughly normal data either works.

Sometimes you know the percentile and need the value. Rearranging:

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

Find the z-score for your target percentile, then convert to the original units.

Common z-values worth knowing:

Percentilezz
90th1.28
95th1.645
97.5th1.96
99th2.33

Example 1: Compute a z-score.

Test scores are normal with μ=75\mu = 75, σ=8\sigma = 8. Find the z-score for a score of 87.

Solution.

z=87758=128=1.5z = \frac{87 - 75}{8} = \frac{12}{8} = 1.5

The score is 1.5 standard deviations above the mean. Under the empirical rule, that’s above average but not unusual.

Example 2: A negative z-score.

Same distribution. Find the z-score for 63.

Solution.

z=63758=128=1.5z = \frac{63 - 75}{8} = \frac{-12}{8} = -1.5

The same distance below the mean. Sign tells direction, magnitude tells distance.

Example 3: Comparing across scales.

A student scores 1320 on the SAT (μ=1050\mu = 1050, σ=200\sigma = 200) and 29 on the ACT (μ=21\mu = 21, σ=5\sigma = 5). Which performance was stronger?

Solution.

zSAT=13201050200=270200=1.35z_{\text{SAT}} = \frac{1320 - 1050}{200} = \frac{270}{200} = 1.35 zACT=29215=85=1.60z_{\text{ACT}} = \frac{29 - 21}{5} = \frac{8}{5} = 1.60

The ACT score is stronger relative to its distribution, despite 29 looking small next to 1320. Raw scores from different scales cannot be compared; standardized ones can.

Example 4: Applying the empirical rule.

Adult male heights are approximately normal with μ=175\mu = 175 cm, σ=7\sigma = 7 cm. Find the proportion between 168 and 182 cm, and the proportion above 189 cm.

Solution.

168 and 182 are exactly μ±1σ\mu \pm 1\sigma, so about 68%.

For 189: z=1891757=2z = \frac{189-175}{7} = 2. Values beyond 2σ2\sigma account for about 5%, split evenly, so about 2.5% are above 189 cm.

Example 5: Working backwards.

Using the height distribution above, how tall must a man be to reach the 95th percentile?

Solution. The 95th percentile has z=1.645z = 1.645.

x=175+1.645(7)=175+11.5=186.5 cmx = 175 + 1.645(7) = 175 + 11.5 = 186.5 \text{ cm}

Example 6: Where the two outlier methods disagree.

A dataset has values clustered near 50 plus one value of 200. xˉ=60\bar{x} = 60, s=45s = 45. Does the z-score method flag the 200?

Solution.

z=20060453.1z = \frac{200 - 60}{45} \approx 3.1

Just barely over 3, so it’s flagged, but only just. The problem is that the 200 itself inflated both xˉ\bar{x} and ss, which pulled the threshold out toward the outlier. This is called masking.

The IQR method wouldn’t have this issue, since quartiles ignore extreme values entirely. When you suspect outliers are distorting your summary statistics, the positional methods are more trustworthy.

Example 7: When the rule doesn’t apply.

Household incomes have μ=70,000\mu = 70{,}000 and σ=55,000\sigma = 55{,}000. Does about 68% of households earn between 15,000 and 125,000?

Solution. Probably not, because income is strongly right-skewed, not normal, and the empirical rule assumes approximate normality.

Notice also that μ2σ=40,000\mu - 2\sigma = -40{,}000, a negative income, which is impossible. That’s the same warning sign from the previous lesson: when the mean is less than two or three standard deviations above a hard floor of zero, normality is doubtful.

For this data you’d report the median and quartiles instead.

Standardized test reporting converts raw scores to percentiles using exactly this machinery. Your percentile is a statement about your z-score relative to the reference population.

Medical lab results come with reference ranges typically set at the central 95%, which is μ±2σ\mu \pm 2\sigma under normality. That construction guarantees about 1 in 20 healthy people gets an out-of-range result on any given test, which is why a single borderline value usually prompts a repeat rather than a diagnosis.

Manufacturing control charts plot measurements with lines at ±2σ\pm 2\sigma and ±3σ\pm 3\sigma. A point beyond 3σ triggers investigation, because under normality that should happen only about once in 370 observations, so it suggests the process actually changed.

Growth charts express a child’s height and weight as percentiles, which pediatricians track over time. A consistent percentile is reassuring; a rapid drop across percentiles is the signal worth attention.

In machine learning, standardizing features is a routine preprocessing step, because algorithms that use distances (k-nearest neighbors, support vector machines) or gradient descent behave badly when features have wildly different scales. A feature measured in the thousands would otherwise dominate one measured in decimals.

Finance uses the z-score idea for risk metrics, and the “sigma event” language for market moves comes directly from here, along with the well-founded criticism that returns have fatter tails than normality implies.

A distribution has mean 60 and standard deviation 12. What is the z-score of the value 78?
According to the empirical rule, approximately what percentage of values in a normal distribution fall within two standard deviations of the mean?
Student A scores 88 on a test with mean 80 and sd 4. Student B scores 70 on a test with mean 60 and sd 8. Who did better relative to their group?
After standardizing a dataset into z-scores, what are its mean and standard deviation?
Why is the empirical rule inappropriate for household income data?