Z-Score Calculator

Z-Score Calculator

See how many standard deviations a value sits from the mean, and what percentile that is, for one value or every value in a list.

z = (x − μ) ÷ σ

Enter a value, the mean and the standard deviation

What is a Z-Score?

A z-score says how many standard deviations a value is above or below the mean. A z of 1.5 is one and a half standard deviations above average; −2 is two below.

Because it strips out the units and the scale, a z-score lets you compare things that are measured differently: a maths mark against an English mark, or a child's height against children of a different age.

For roughly normal data, a z-score also converts straight into a percentile. About 84% of values sit below z = 1, and about 98% below z = 2.

Z-Score Formula

As given in OpenStax Introductory Statistics, section 6.1. See Sources.

1. Distance from the mean

x − μ

2. Divide by the standard deviation

Population: z = (x − μ) ÷ σ
Sample: z = (x − x̄) ÷ s

3. Turn it into a percentile

percentile = Φ(z) × 100, assuming normal data

Worked Example: Comparing Two Exam Results

Given:
A student scores 82 in maths (class mean 70, SD 8) and 88 in English (mean 80, SD 10). Which is the stronger result?
Step 1:
Maths:
(82 − 70) ÷ 8 = 1.5
Step 2:
English:
(88 − 80) ÷ 10 = 0.8
Step 3:
Percentiles:
Φ(1.5) = 93.3% · Φ(0.8) = 78.8%
Result:
Maths: z = 1.5, the stronger result

The English mark is higher, but it's less unusual for that class. Relative to their classmates, the maths result beats about 93% and the English about 79%.

Z-Scores and Percentiles

For normally distributed data.

Percentile for each z-score
zBelowAbove
-30.13%99.87%
-22.28%97.72%
-1.56.68%93.32%
-115.87%84.13%
-0.530.85%69.15%
050%50%
0.569.15%30.85%
184.13%15.87%
1.593.32%6.68%
297.72%2.28%
399.87%0.13%

Common Z-Score Mistakes

  • Dividing by the variance. Use the standard deviation. With a variance of 64, the SD is 8.
  • Reading percentiles from skewed data. The z-to-percentile conversion assumes a normal shape. For incomes or waiting times it can be badly off.
  • Dropping the sign. A z of −1.5 is below average; 1.5 is above. They sit at opposite ends.
  • Comparing z-scores from different groups as if they were one. A z-score is relative to its own group. A top mark in a weak class isn't the same as a top mark in a strong one.

Z-Score FAQs

What is a good z-score?

It depends on the context. For test scores, anything above 1 beats about 84% of people. For errors or defects, a z near 0 means typical.

What z-score is unusual?

A common rule is beyond ±2 (outside about 95% of normal data). Beyond ±3 is rare, about 1 in 370.

Can a z-score be negative?

Yes. Negative means below the mean. The mean itself has z = 0.

Should I use the sample or population SD?

If you know the population’s mean and SD (published norms, say), use those. For z-scores within your own data, the sample SD is usual.

How do I get the value from a z-score?

Rearrange: x = μ + zσ. A z of 2 in a class with mean 70 and SD 8 is 86.

Is a z-score the same as a standard score?

Yes. Some fields rescale it, such as T-scores (50 + 10z) or IQ scores (100 + 15z).

How do I calculate it in Excel?

=STANDARDIZE(x, mean, sd), and =NORM.S.DIST(z, TRUE) for the share below.

Why are some list values highlighted?

They’re more than 2 SD from the mean, which is often used as a first flag for unusual values. Check them rather than deleting them.

Sources

Related Tools