Z-Score
calculator.
Turn a value into a z-score and percentile, or work back, with the area shaded.
85 is between one and two standard deviations above the mean, at roughly the 84th percentile. About 1 in 6.3 values are higher.
Where it sits on the curve
Drag the brass point to move the valueStandard normal curve from z = −4 to 4; z = 0 is the mean, 75. The shaded area, left of z = 1.00 (x = 85), is 84.13% of the total. Score B, 620, is at z = 1.20.
Working
- 1Standardize: subtract the mean, then divide by the SDz = 85 − 7510 = 1.00
- 2Area to the left of z, the percentileΦ(1.00) = 0.8413
- 3Check: undo the standardization, x = μ + zσx = 75 + 1 × 10 = 85
- 4Answerz = 1.00
Compare with another score
Score B is relatively higher: it is above 88.49% of its group, against 84.13% for your value.
The 68-95-99.7 rule on your scale
- Within 1 SD (68.27%)
- 65 to 85
- Within 2 SD (95.45%)
- 55 to 95
- Within 3 SD (99.73%)
- 45 to 105
Your value is at z = 1.00, between one and two standard deviations above the mean.
Shares from the normal distribution (NIST e-Handbook, section 1.3.6.6.1). Beyond 2 SD is unusual; beyond 3 SD is a common screen for outliers in roughly normal data (NIST e-Handbook, section 1.3.5.17).
A z-score for every value in a list
Paste a column of values. Each one is standardized with the mean 75 and SD 10 above.
| # | Value |
|---|---|
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 |
Standardized values
| Note | |||
|---|---|---|---|
| 62 | −1.30 | 9.68% | |
| 71 | −0.40 | 34.46% | |
| 75 | 0.00 | 50% | |
| 78 | 0.30 | 61.79% | |
| 85 | 1.00 | 84.13% |
How it's worked out
A z-score counts how many standard deviations a value sits from the mean. You subtract the mean, so the center becomes 0, and divide by the standard deviation, so the spread becomes 1.
Here is your value, (mu) is the mean of the group and (sigma) is its standard deviation. A positive z is above the mean and a negative z is below it. The second form runs the formula backwards, from a z-score to a value.
To turn z into a percentile, the tool finds the area under the standard normal curve to the left of z, written . That area is the share of values below yours, if the data follow a bell curve. For a percentile you already know, it runs the curve backwards with to find z, then converts to your scale.
The area to the right is . The two-tailed area doubles the smaller tail; it is the p-value of a two-sided z-test.
Worked examples
An exam score
Priya scores 85 on a test where the class mean is 75 and the standard deviation is 10. Her z-score is (85 − 75) ÷ 10 = 1, one standard deviation above the mean. The area to the left is 0.8413, so she scored higher than about 84.13% of the class. Only 1 in 6.3 students scored higher.
Which score is better?
Priya also took a placement test and scored 620, where the mean is 500 and the standard deviation is 100. That is z = 1.2, at 88.49% of test takers. The raw scores cannot be compared, but the z-scores can: 620 is relatively stronger than 85, even though both are good. The compare card does this for any two scores.
Adult heights in a range
Suppose adult heights in a group have mean 175 cm and standard deviation 7 cm. Heights of 168 and 182 cm are at z = −1 and z = 1. The share between them is 0.6827, the 68% of the 68-95-99.7 rule.
The cut-off for the top 10%
A scholarship goes to the top 10% on a test with mean 1,050 and standard deviation 210. The 90th percentile is z = 1.2816, so the cut-off is 1,050 + 1.2816 × 210 = 1,319.13. A score of 1,320 clears it.
Reading your result
For data shaped like a bell curve, about 68% of values have a z between −1 and 1, about 95% between −2 and 2 and about 99.7% between −3 and 3 (NIST e-Handbook, section 1.3.6.6.1). So a z beyond ±2 is unusual, roughly 1 value in 20, and a z beyond ±3 is rare. The NIST e-Handbook (section 1.3.5.17) describes |z| above 3 as a common first screen for outliers.
Whether a high z is good depends on what you measure. A z of 2 on a test is a strong result. A z of 2 on a blood test or a machine part may need a closer look. A student with a GPA of 2.3, where the mean is 3.1 and the standard deviation is 0.4, has z = −2: lower than about 97.7% of classmates.
These areas, read from the same curve as a printed z table, show where the most used values sit:
| z | Area below | Area above | Two-tailed |
|---|---|---|---|
| −2 | 0.0228 | 0.9772 | 0.0455 |
| −1 | 0.1587 | 0.8413 | 0.3173 |
| 0 | 0.5 | 0.5 | 1 |
| 1 | 0.8413 | 0.1587 | 0.3173 |
| 1.645 | 0.95 | 0.05 | 0.1 |
| 1.96 | 0.975 | 0.025 | 0.05 |
| 2 | 0.9772 | 0.0228 | 0.0455 |
| 3 | 0.9987 | 0.0013 | 0.0027 |
The percentiles assume a bell curve. If your data are skewed, such as incomes or waiting times, the z-score still tells you the distance from the mean, but the percentile can be well off.
Common mistakes
- Dividing by the variance. The bottom of the fraction is the standard deviation. With a variance of 100, divide by 10, not by 100.
- Losing the sign. A score below the mean has a negative z. Dropping the minus sign turns the 16th percentile into the 84th.
- Using the left area for "above". The share above a value is the right tail. For Priya, the left area is 0.8413 but the share who scored higher is 0.1587.
- Mixing groups. The mean and standard deviation must describe the group the value belongs to. A child's height needs the figures for that age, not for all children.
- Trusting percentiles for small samples. If the mean and standard deviation come from a handful of values, the normal curve overstates how precisely you know them; a t distribution is the safer model.
Questions people ask
Sources
- NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.6.6.1: normal distribution
- Abramowitz, M. and Stegun, I. A. Handbook of Mathematical Functions (1964), table 26.1