Understanding Z-Scores: How Far From Average Is Your Data?
A z-score says how many standard deviations a value sits above or below the mean of its data set. An 82 on a test means little by itself; a z-score of +1.5 says it was a strong result relative to the class. This guide covers the formula, a worked example, how to read the sign and size, how to turn a z-score into a percentile, and where z-scores are used. The z-score calculator takes a value, the mean and the standard deviation and returns z.
What a Z-Score Is
A z-score (standard score) rescales a value so that the mean of its distribution becomes 0 and one standard deviation becomes 1. The original units drop away, which is what lets you compare a test score with a height or a blood-pressure reading: +1.5 means "1.5 standard deviations above average" in every case.
Two numbers define it: the mean (μ), the center of the data, and the standard deviation (σ), its spread. If you need σ first, the standard deviation calculator computes the sample or population standard deviation from a comma-separated list of values.
The Formula
z = (x − μ) ÷ σ
Subtracting the mean re-centers the value on zero; dividing by the standard deviation expresses the distance in standard-deviation units. Doing this to a whole data set is called standardizing.
A Worked Example
A biology exam has a class mean of μ = 70 and a standard deviation of σ = 8. You scored x = 82.
1. Distance from the mean: 82 − 70 = 12.
2. Divide by the standard deviation: 12 ÷ 8 = 1.5.
Your z-score is +1.5. A classmate who scored 58 has (58 − 70) ÷ 8 = −1.5: the same distance below the mean that you were above it.
Reading the Sign and the Size
- Positive: above the mean; the larger the number, the further above.
- Negative: below the mean.
- Zero: exactly at the mean.
In a roughly bell-shaped (normal) distribution, the empirical rule applies: about 68% of values fall between z = −1 and +1, about 95% between −2 and +2, and about 99.7% between −3 and +3. A z-score beyond ±3 is rare enough that analysts routinely check it for a data-entry error or treat it as an outlier.
Converting a Z-Score to a Percentile
For normally distributed data, each z-score corresponds to a cumulative probability on the standard normal curve (mean 0, standard deviation 1), read from a z-table or computed by software:
- z = −2 → about the 2.3rd percentile
- z = −1 → about the 16th
- z = 0 → the 50th
- z = +1 → about the 84th
- z = +1.5 → about the 93rd (cumulative probability 0.9332)
- z = +2 → about the 97.7th
So the 82 on the exam is at roughly the 93rd percentile: about 93% of scores were lower. The classmate's z = −1.5 corresponds to about 0.0668, near the 7th percentile. The z-score calculator returns either the z-score or, with its output set to percentile, this cumulative percentage; in a spreadsheet, NORM.S.DIST(z, TRUE) in Excel gives the same probability. The conversion assumes an approximately normal distribution; for skewed data the percentile from a z-table can be far off.
Where Z-Scores Are Used
- Comparing scores on different scales, such as two exams with different means and spreads.
- Flagging outliers: values with |z| > 3 are commonly reviewed.
- Standardizing variables before regression or machine learning, so that one large-unit variable does not dominate.
- Quality control, where a measurement's z-score shows how far a product has drifted from its target.
- Growth charts, which express a child's height and weight as z-scores against reference populations.