A z-score calculator tells you how far a value is from the average, measured in standard deviations. That single number lets you compare results from completely different tests or scales. Enter a value along with the mean and standard deviation, and this z-score calculator returns the standard score, the percentage of values that fall below it and the percentage above it. You can also go the other way, turning a z-score back into a raw value. It's handy for statistics homework, for exam results and for spotting unusual measurements in a set of data.
How the z-score calculator works
z = (x − μ) ÷ σ
Here, x is your value, μ is the mean and σ is the standard deviation. To go the other way, use x = μ + z × σ. The tool then uses the standard normal distribution to work out what percentage of values are below your score.
How to use the calculator
- Choose Z-score or Raw value.
- Enter your value or z-score.
- Enter the mean and the standard deviation.
- Press Calculate.
What is a z-score?
In statistics, the standard score, or z-score, is the number of standard deviations by which a value is above or below the mean of what's being measured. Values above the mean have positive standard scores, while those below the mean have negative ones. Converting a raw score into a standard score in this way is called standardizing.
A worked example
Suppose that a test has a mean of 70 and a standard deviation of 10, and that you scored 85. Your z-score is (85 − 70) ÷ 10, which is 1.5. That means you scored one and a half standard deviations above the average. If the results follow a normal distribution, about 93.32% of test takers scored below you and about 6.68% scored above you.
Common z-scores and percentiles
| Z-score | Percent below | Percent within ±z |
|---|---|---|
| −2 | 2.28% | 95.45% |
| −1 | 15.87% | 68.27% |
| 0 | 50.00% | 0% |
| 1 | 84.13% | 68.27% |
| 1.96 | 97.50% | 95.00% |
| 2 | 97.72% | 95.45% |
| 3 | 99.87% | 99.73% |
Why z-scores are useful
Raw scores from different scales can't be compared directly. If you got 85 on a math test and 62 on a physics test, it may look as though math went better. But if the physics paper was much harder, your 62 might be further above the average. Converting both to z-scores puts them on the same scale. A z-score of 2 in one subject is a stronger result than a z-score of 1 in another, no matter what the raw marks were.
Finding unusual values
A z-score is also a simple way of flagging values that are out of the ordinary. In a normal distribution, a little over 95% of values fall within two standard deviations of the mean, and about 99.7% fall within three. A z-score beyond ±3 is therefore rare, and it could be a genuine extreme or a data entry error. It's worth checking those records before you remove anything, since an unusual value might be the most interesting one that you have.
When the percentages apply
A z-score itself can be calculated for any data, but the percentages shown here rely on the assumption that your data follows a normal, bell-shaped distribution. Heights and many test scores come close to that shape. Incomes, waiting times and many other measurements don't. If your data is heavily skewed, the z-score still tells you the distance from the mean, but the percentile might be misleading.
Population or sample?
The formula above uses the population mean and the population standard deviation. In practice, you'll often only have a sample of the data, so you estimate those values from it. For a large sample, the difference is usually small. For a small sample, statisticians commonly use a t-score instead, because it allows for the extra uncertainty. If you're doing a formal analysis, check which method is expected.
Going from a percentile to a value
Sometimes you know the z-score that you need and want to find the raw value that goes with it. Switch to Raw value, and enter the z-score along with the mean and standard deviation. Suppose that an IQ-style test has a mean of 100 and a standard deviation of 15, and you'd like to know the score that's two standard deviations above average. The calculation is 100 + 2 × 15, which gives 130. The same method works for setting cutoffs. If a teacher wanted to find the mark that sits one standard deviation below the mean on a test with a mean of 70 and a standard deviation of 10, the answer would be 70 + (−1) × 10, or 60. Enter a negative z-score to look below the average. Thresholds like these are often used for setting pass marks or for flagging results that need a closer look.
Common mistakes
- Using the variance instead of the standard deviation. Take the square root first.
- Dropping the negative sign. It tells you the value is below average.
- Assuming that all data is normal. Check the shape first.
Related statistics tools
Find the spread with the standard deviation calculator, plan a study with the sample size calculator, and work out odds with the probability calculator.
What next
Use this often? Add Z-Score to your Home screen.
Frequently asked questions
How does the z-score calculator work?
It subtracts the mean from your value and divides by the standard deviation.
What does a z-score of 1.5 mean?
The value is one and a half standard deviations above the mean.
Can a z-score be negative?
Yes. A negative z-score means that the value is below the mean.
How do I turn a z-score into a percentile?
The calculator uses the normal distribution to show the percentage below your score.
Is a z-score beyond 3 unusual?
In a normal distribution, yes, as about 99.7% of values fall within three standard deviations.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.