A z-score (or standard score) tells you how many standard deviations a value lies above or below the mean. A z of 0 is exactly average, is one and a half standard deviations above, and is two standard deviations below. Because it removes the original unit, the z-score lets you compare results that live on different scales: a 14/20 in a hard maths test and a 16/20 in an easy history test, a child’s height against a growth chart, or a factory part against its tolerance.
This calculator works in five directions:
- z-score of a value: from , the mean and the standard deviation , with the percentile, the area above and the two-tailed area;
- value from a z-score: the cut-off that corresponds to a given z;
- z-score at a percentile: for example the z that leaves 90 % of the curve below it, and the matching raw value;
- probability between two z-scores, the shaded area of the normal curve;
- z-scores of a data list: paste raw data, and every value is standardized with the sample (or population) mean and standard deviation.
All areas come from the exact standard normal cumulative distribution , so you no longer need a printed z table and its rounding.
How to use this calculator
- Choose what you want to calculate in the first menu.
- Enter the mean and the standard deviation of the distribution (or paste your raw data in list mode).
- Enter the value, the z-score, the percentile or the two z bounds, depending on the mode.
- Read the headline result and the areas underneath; open the steps to see the formula with your numbers.
Percentiles assume a normal distribution. The z-score itself is valid for any data, but turning it into a percentile or a probability uses the bell curve. For strongly skewed data, use the percentile calculator on the raw values instead.
The formula
The standard score of a value in a population of mean and standard deviation is
With sample data you replace and by the sample mean and the sample standard deviation .
If is normal, follows the standard normal distribution and its cumulative distribution function gives the share of values below :
The percentile of is ; the reverse operation uses the quantile function . The calculator evaluates through the complementary error function and with a refined rational approximation, accurate to about 15 significant digits.
Worked example
From a value to a percentile. Exam marks have a mean of 70 and a standard deviation of 10. A student scores 85:
, so the student’s percentile rank is 93.32: about 93.32 % of candidates scored lower and 6.68 % higher.
From a percentile to a value. To find the mark that only the top 10 % exceed, look for the 90th percentile: and .
Between two z-scores. %, and %, the familiar 95 % used for confidence intervals.
Data list. For 62, 70, 75, 81, 88, 94 the sample mean is 78.3333 and ; the highest value, 94, has .
Reading a z-score
| z | Percentile | Interpretation |
|---|---|---|
| −2 | 2.3 % | far below average |
| −1 | 15.9 % | below average |
| 0 | 50 % | exactly average |
| +1 | 84.1 % | above average |
| +2 | 97.7 % | far above average |
| +3 | 99.87 % | exceptional |
A positive z is above the mean, a negative one below. In roughly normal data, about 68 % of values have , 95 % have and 99.7 % have — the empirical rule. Values with are often checked as potential outliers or data-entry errors.
Population or sample standard deviation?
When you know the true parameters of the distribution (a standardized test calibrated on millions of candidates, a WHO growth standard), use them directly. When you standardize your own data, the list mode uses the sample standard deviation (division by ) by default, as most statistics courses do; tick the option to divide by if your list is the entire population. The difference fades as the list grows. See the standard deviation calculator for the details.
Frequently asked questions
What is a good z-score?
It depends on the context. For an exam, any positive z is above average and z = 2 places you around the top 2.3 %. In quality control, “good” means close to 0, i.e. close to the target. A z-score is a position, not a grade.
Can a z-score be negative?
Yes. A negative z-score simply means the value is below the mean. z = −1.5 is one and a half standard deviations below average, at about the 6.7th percentile of a normal distribution.
How do I convert a z-score to a percentile without a table?
Compute Φ(z), the standard normal cumulative probability, and multiply by 100. This calculator does it exactly; in a spreadsheet the function is NORM.S.DIST(z, TRUE).
What is the z-score for the 95th percentile?
z ≈ 1.6449 for the 95th percentile (one-sided). The value 1.96 that you see in confidence intervals corresponds to the 97.5th percentile, because 2.5 % is left in each tail.
What is the difference between a z-score and a t-score?
A z-score standardizes with a known standard deviation and refers to the normal curve. A t statistic uses a standard deviation estimated from a small sample and refers to Student’s t distribution, which has heavier tails.
Sources
- OpenStax, Introductory Statistics 2e, §6.1 The Standard Normal Distribution
- NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.1 Normal Distribution
- NIST Digital Library of Mathematical Functions, §7.2 Error functions
Last updated: