Key facts
- z = (x − μ) ÷ σ. A score of 85 when the mean is 70 and the SD is 10 has z = 1.5.
- z = 1.5 is at about the 93rd percentile: 93.3% of a normal distribution is below it.
- z = 0 is the mean; z = ±1.96 bounds the middle 95%; z = ±2.576 bounds the middle 99%.
- Negative z-scores are below the mean, positive ones above it.
What is a z-score?
A z-score standardises a value so you can compare it with values from a different scale. Scoring 85 on a test means little on its own; knowing it is 1.5 standard deviations above the class mean tells you it beat about 93% of the class (if scores are roughly normal). Z-scores are used in grading on a curve, quality control, finance, medical growth charts and hypothesis testing.
How to use the Z-score calculator
Enter the raw score x, the mean μ and the standard deviation σ. The calculator returns the z-score, where it falls on the normal curve, and four probabilities: below x, above x, between −|z| and |z|, and the two-tailed p-value.
Z-score formula
z = (x − μ) ÷ σx = μ + z × σ (to go back from a z-score to a raw score)| Symbol | Meaning |
|---|---|
| x | The raw value |
| μ | The mean of the population |
| σ | The standard deviation of the population |
| z | Number of standard deviations from the mean |
For a sample, use the sample mean x̄ and sample standard deviation s. Probabilities come from the standard normal cumulative distribution function Φ(z).
Step-by-step examples: z-scores
Example 1: test score
A score of 85 with a class mean of 70 and SD of 10: z = (85 − 70) ÷ 10 = 1.5. Φ(1.5) ≈ 0.9332, so the student did better than about 93.3% of the class.
Example 2: IQ
IQ scores have a mean of 100 and an SD of 15. An IQ of 130 has z = 2.0, which is the 97.7th percentile. Only about 2.3% of people score higher.
Example 3: below the mean
A baby weighs 3.0 kg where the mean is 3.4 kg and the SD is 0.5 kg. z = (3.0 − 3.4) ÷ 0.5 = −0.8. Φ(−0.8) ≈ 0.2119, so about 21% of babies weigh less.
Z-table: common values
| z | Area below (percentile) | Area above | Middle area (±z) |
|---|---|---|---|
| −3.0 | 0.13% | 99.87% | n/a |
| −2.0 | 2.28% | 97.72% | n/a |
| −1.0 | 15.87% | 84.13% | n/a |
| 0 | 50% | 50% | 0% |
| 0.5 | 69.15% | 30.85% | 38.29% |
| 1.0 | 84.13% | 15.87% | 68.27% |
| 1.282 | 90% | 10% | 80% |
| 1.645 | 95% | 5% | 90% |
| 1.96 | 97.5% | 2.5% | 95% |
| 2.0 | 97.72% | 2.28% | 95.45% |
| 2.326 | 99% | 1% | 98% |
| 2.576 | 99.5% | 0.5% | 99% |
| 3.0 | 99.87% | 0.13% | 99.73% |
From percentile to z-score
To find the score needed for a given percentile, look up its z-value and convert back with x = μ + zσ. The top 10% of a test with mean 70 and SD 10 starts at z = 1.282, a score of about 82.8.
Pitfalls with z-scores
- Using z-score probabilities on skewed data. Percentiles from the normal curve are only accurate when the data is roughly bell-shaped.
- Mixing up area above and below. A z of 1.5 is the 93rd percentile; the chance of scoring higher is about 6.7%.
- Using the variance instead of the SD. Divide by σ, not σ².
- Confusing one- and two-tailed p-values. The two-tailed value counts both extremes and is twice the one-tailed value.
Z-scores in growth charts, bone scans and exams
A z-score says how many standard deviations a value sits above or below the mean: z = (x − μ) ÷ σ. Converting to z-scores puts different scales on the same footing, so a test score, a height and a blood measurement can all be compared to the normal distribution. That bell curve was first derived by Abraham de Moivre in 1733 as an approximation to coin-toss probabilities and later developed by Carl Friedrich Gauss in 1809 for errors in astronomical measurements, which is why it is also called the Gaussian distribution.
Doctors use z-scores daily. The World Health Organization’s Child Growth Standards, published in 2006, define stunting as height-for-age more than two standard deviations below the median, and wasting by weight-for-height in the same way. Bone density scans report a T-score, which compares a patient with healthy young adults, and a Z-score, which compares them with people of the same age; under WHO criteria, a T-score of −2.5 or lower indicates osteoporosis. Exam boards and researchers convert raw scores to z-scores before combining them. The name also appears in the Altman Z-score, a 1968 bankruptcy-prediction formula by Edward Altman that, despite the name, is a different calculation. In US high schools, Common Core standard S-ID.A.4 covers estimating percentages from a normal curve. The same z values set the sample size needed for a survey, such as 1.96 for 95% confidence. For the spread itself, use the standard deviation calculator; for a range around a mean, the confidence interval calculator; and for the mean, the average calculator.
Related: standard deviation calculator and confidence interval calculator.
How this calculator works
- z = (x − μ) ÷ σ, from a value, the mean and the standard deviation.
- The percentile (area below z) uses an accurate approximation of the standard normal cumulative distribution.
- Also gives the probability above z, between −z and z, and the two-tailed probability.
- Assumes the data are approximately normal; the standard deviation must be positive.
Frequently asked questions
How do I calculate a z-score?
Subtract the mean from the value and divide by the standard deviation: z = (x − μ) ÷ σ.
What does a z-score of 2 mean?
The value is 2 standard deviations above the mean, higher than about 97.7% of a normal distribution.
What is a good z-score?
It depends on the goal. For a test, a positive z-score means above average; z above 1 is better than about 84% of people. In quality control, values beyond ±3 are usually flagged.
Can a z-score be negative?
Yes. A negative z-score means the value is below the mean. z = −1 is lower than about 84% of values.
How do I convert a z-score to a percentile?
Find the area under the standard normal curve to the left of z, using a z-table or this calculator, and multiply by 100.
What z-score is the 95th percentile?
About 1.645. For the middle 95% (2.5% in each tail), the cut-offs are ±1.96.
What is the z-score for 99% confidence?
2.576 for a two-sided 99% interval, and 2.326 for a one-sided 99% bound.
What is the difference between a z-score and a t-score?
A z-score uses a known population standard deviation and the normal distribution. A t-score uses a sample SD and the t distribution, which has fatter tails for small samples.