Z-score Calculator
Enter a value, the mean and the standard deviation. You get the z-score, the percentile on a normal curve and the areas in each tail, with the working shown.
Yellow: the share of a normal distribution below your z-score.
| Step | Formula | With your numbers |
|---|
This tool runs in your browser. Nothing you type is uploaded or saved, and there is nothing to install or sign up for.
What a z-score measures
A z-score says how far a value sits from the average of its group, counted in standard deviations. A z of 0 is exactly average. A z of 2 is two standard deviations above, and a z of −1 is one standard deviation below. Because it is measured in standard deviations and not in points, inches or dollars, a z-score lets you compare results that come from completely different scales, such as a math test marked out of 100 and a reading test marked out of 40.
This calculator does the subtraction and division for you and then goes one step further. It looks up where that z falls on the standard normal curve, so you also see the percentile and the share of values in each tail.
How to use the z-score calculator
- Pick what you have: a Raw value, a Z-score, a Percentile or a Sample mean.
- For a raw value, type it along with the Mean and Standard deviation of the group.
- For a z-score or a percentile, the mean and standard deviation are optional. Add them if you want the matching raw value.
- For a sample mean, also enter the Sample size (n).
- Read the z-score in the navy panel, the shaded curve and the rows of areas below it.
Copy result copies the z-score with its areas. Reset restores the example of 85 with mean 70 and standard deviation 10.
Worked example: a test score of 85
A class test has a mean of 70 and a standard deviation of 10. You scored 85.
z = (x - mean) / sd = (85 - 70) / 10 = 1.5
Your score is 1.5 standard deviations above the mean. On a normal curve the area to the left of z = 1.5 is 0.933193, so the score is at about the 93rd percentile: roughly 93.3% of scores fall below it and 6.68072% fall above. The share of scores more extreme than 1.5 standard deviations in either direction is 13.3614%.
Now compare a second test where you scored 130 with a mean of 100 and a standard deviation of 15. The raw number is bigger, and the z-score is 2, which puts it at the 97.725th percentile. Relative to each group, the second result is the stronger one. That comparison is the main reason z-scores exist.
The formula and where the percentile comes from
The z-score itself needs nothing but arithmetic:
z = (x - mean) / standard deviation
Turned around, it gives the raw value for any z:
x = mean + z x standard deviation
The percentile is a separate step. It is the area under the standard normal curve to the left of z, a quantity with no simple formula that used to be read from printed z-tables. This tool computes it directly, to six significant digits, and does the reverse lookup in Percentile mode. Ask for the 90th percentile and you get z = 1.28155; with a mean of 70 and a standard deviation of 10 that is a raw score of 82.8155.
The percentile and the tail areas are only right when the data follow a normal, bell-shaped distribution. The z-score itself is valid for any data. For skewed data, such as incomes or waiting times, treat the percentile as a rough guide at best.
Z-scores worth knowing
| z | Area to the left | Between −z and +z |
|---|---|---|
| 0 | 50% | 0% |
| 1 | 84.1345% | 68.2689% |
| 1.96 | 97.5002% | 95.0004% |
| 2 | 97.725% | 95.45% |
| 3 | 99.865% | 99.73% |
The last column is the source of the 68, 95, 99.7 rule taught in statistics classes: about 68% of a normal distribution lies within one standard deviation of the mean, about 95% within two and about 99.7% within three. The value 1.96 matters because it leaves exactly 2.5% in each tail, which is why it appears in 95% confidence intervals.
Z-score of a sample mean
An average of many values varies less than a single value does. When you test a sample mean, the divisor is no longer the standard deviation but the standard error, which is the standard deviation divided by the square root of the sample size.
Switch to Sample mean and enter a sample mean of 72, a population mean of 70, a standard deviation of 10 and n = 25. The standard error is 10 / 5 = 2, so z = (72 − 70) / 2 = 1. A single score of 72 would have a z of only 0.2; an average of 25 scores that high is a full standard error above the mean. If the next step is a hypothesis test, the p-value calculator turns that z into a p-value.
Common mistakes and limits
- Using the wrong standard deviation. The z-score for one value uses the standard deviation of the group, not the standard error. If you only have raw data, get the mean and spread first with the standard deviation calculator.
- Reading a negative z as bad. The sign only tells you the side of the mean. For a race time or a golf score, below average is the good side.
- Confusing percentile with percent correct. An 85% test score at the 93rd percentile means you did better than about 93% of the group, not that you got 93% of the questions right.
- Small samples with an estimated spread. When the standard deviation comes from a small sample, a t-statistic is the proper tool, and the normal areas shown here will be a little too confident.
- A standard deviation of zero. If every value is identical there is no spread to measure against, so the tool asks for a number above zero.
Practical uses in class and beyond
Students use z-scores to compare marks across subjects or across years where the tests differed in difficulty. Teachers use them to spot results that are unusually far from the class average; a common rule of thumb flags anything beyond 2 or 3 standard deviations for a second look, though it is a convention and not a law. In a science lab, a measurement with a large z against repeated trials is a hint to check for a recording error before you average it in with the average calculator.
If you need the probability between two different values, not just around the mean, the normal distribution calculator handles any pair of bounds. Other statistics helpers are grouped under math calculators, and the wider collection of free tools for school and everyday math is one click away.
Frequently asked questions
How do you calculate a z-score?
Subtract the mean from the value and divide by the standard deviation. A score of 85 with a mean of 70 and a standard deviation of 10 gives (85 – 70) / 10 = 1.5.
What does a z-score of 1.5 mean?
The value is 1.5 standard deviations above the mean. On a normal curve about 93.3 percent of values fall below it and about 6.7 percent fall above.
Can a z-score be negative?
Yes. Any value smaller than the mean gets a minus sign. A z of -1.96 has only about 2.5 percent of a normal distribution below it.
What z-score is the 90th percentile?
The 90th percentile of a normal distribution is at z = 1.28155. With a mean of 70 and a standard deviation of 10 that is a raw value of about 82.8.
Is a z-score the same as a percentile?
No. A z-score is a distance from the mean in standard deviations, while a percentile is the share of values below a point. You can convert between them only when the data are roughly normal.
What is considered an unusual z-score?
A common guideline treats values more than 2 standard deviations from the mean as unusual, since only about 4.55 percent of a normal distribution lies that far out. Beyond 3 the share drops to about 0.27 percent.
