Σ
SDCalc
MellannivåFundamentals·11 min

Z-Score Explained: Formula, Interpretation, and Practical Examples

Learn what a z-score means, how standard deviation drives the formula, how to interpret positive and negative z-scores, and when z-scores are useful in practice.

By Standard Deviation Calculator Team · Data Science Team·Published

What a Z-Score Means

A z-score tells you how far one value sits from the mean in units of standard deviation. Instead of saying "this exam score is 12 points above average," a z-score says "this score is 1.5 standard deviations above average." That makes results easier to compare across different datasets.

Because z-scores use standard deviation as the measuring stick, they are useful whenever you want to standardize values, compare performance, estimate tail probabilities, or flag unusual observations. If you want to compute one directly, use the z-score calculator. If you still need the spread measure first, the sample standard deviation calculator and population standard deviation calculator are the right starting points.

Positive z-score

The value is above the mean. A z-score of +2 means the observation is two standard deviations higher than average.

Negative z-score

The value is below the mean. A z-score of -1.2 means the observation is 1.2 standard deviations lower than average.

Zero

A z-score of 0 means the value is exactly equal to the mean.

Fast intuition

A z-score converts raw distance from the mean into a common unit. The common unit is standard deviation.

Z-Score Formula and Standard Deviation

Population z-score

z = (x - μ) / σ

Here, x is the observed value, μ is the mean, and σ is the population standard deviation. The numerator measures raw distance from the mean, while the denominator rescales that distance into standard deviation units.

Sample-based standardized score

z ≈ (x - x̄) / s

In practice, analysts often use the sample mean and sample standard deviation s when the full population parameters are unknown. That is common in business dashboards, classroom grading, and quality-control summaries. The logic is the same, but the result depends on whether your spread came from a sample or a full population. Review Sample vs Population and Degrees of Freedom Explained if that distinction is still fuzzy.

PieceMeaningWhy it matters
xObserved valueThe number you want to standardize
μ or x̄Center of the distributionSets the reference point for "average"
σ or sStandard deviationDefines how big one standard-deviation step is
zStandardized distance from the meanLets you compare different scales directly

How to Calculate a Z-Score

1

Find the mean

Use the known population mean μ or compute the sample mean .
2

Find the standard deviation

Use σ for a population or s for a sample. If you need help, read Standard Deviation Formula Explained.
3

Subtract the mean from the value

Compute x - mean to see whether the observation is above or below average.
4

Divide by the standard deviation

This converts the raw difference into standardized units.
5

Interpret the sign and magnitude

The sign tells you direction. The absolute value tells you how unusual the observation is relative to the spread.

One-line calculation

If the mean is 70, the standard deviation is 8, and a student scores 86, then z = (86 - 70) / 8 = 2.0. The score is two standard deviations above average.

How to Interpret Z-Scores

Interpreting a z-score is mostly about context. A z-score of +1 is mildly above average. A z-score of +3 is unusual in many real datasets. A z-score of -2.5 may indicate an unusually low outcome, possible process shift, or candidate outlier.

Z-score rangeInterpretationTypical use
0Exactly at the meanBaseline reference
Between -1 and +1Close to averageCommon observations in many roughly normal datasets
Between -2 and -1 or +1 and +2Noticeably below or above averagePerformance comparison, screening, ranking
Beyond ±2Unusual relative to the meanQuality checks, anomaly review, risk monitoring
Beyond ±3Very unusual under a normal modelOutlier investigation with the outlier detection guide

Connect z-scores to the bell curve

If your data are approximately normal, the empirical rule gives fast intuition: about 68% of values fall within 1 standard deviation, 95% within 2, and 99.7% within 3.

Worked Z-Score Examples

Example 1: Exam Score

Suppose the class mean is 75 and the standard deviation is 10. A student scores 92.

z = (92 - 75) / 10 = 1.7

That student performed 1.7 standard deviations above the class average. If another exam had a different scale, z-scores would still let you compare the student's relative standing.

Example 2: Manufacturing Measurement

A machine produces rods with mean length 100 mm and standard deviation 0.4 mm. One rod measures 99.1 mm.

z = (99.1 - 100) / 0.4 = -2.25

The rod is 2.25 standard deviations below the mean. That does not automatically prove a defect, but it does justify inspection, especially if you are already watching process variation with control charts or comparing spread across batches.

Example 3: Comparing Two Different Scales

ScenarioRaw scoreMeanStandard deviationZ-score
Math exam867082.00
Sales performance$58,000$50,000$5,0001.60

Even though the raw units are completely different, the math score is relatively more extreme because 2.00 > 1.60. This is one of the main reasons z-scores matter.

When Z-Scores Work Best

Z-scores are especially useful when your data are roughly symmetric, the mean and standard deviation are meaningful summaries, and you want a common scale for comparison or probability work. They connect naturally to the normal distribution guide and the probability calculator, which often converts values into z-scores behind the scenes.

  • Use z-scores when:Comparing scores from different tests, standardizing measurements, screening for unusual values, estimating normal probabilities, or communicating relative standing without relying on raw units.
  • Be careful when:The distribution is heavily skewed, extreme outliers distort the mean and standard deviation, or the sample is so small that stable standardization is questionable.

A large z-score is not the same as a guaranteed outlier

Z-scores summarize distance from the mean, not root cause. In skewed data or fat-tailed data, a large absolute z-score may be less surprising than it looks under a strict normal assumption.

Z-Score Checklist

  • Confirm whether you are using population parameters or sample estimates.
  • Check that the mean and standard deviation are sensible summaries for the dataset.
  • Interpret the sign first: positive means above average, negative means below average.
  • Interpret the magnitude second: larger absolute values are more unusual.
  • Use z-scores with the z-score calculator or probability calculator when you need percentiles or tail probabilities.
  • If the data are strongly skewed or contaminated by outliers, compare with robust statistics before making decisions.

Further Reading

Sources

References and further authoritative reading used in preparing this article.

  1. NIST/SEMATECH e-Handbook of Statistical Methods
  2. Standard score - Wikipedia
  3. Normal distribution - Wikipedia