Z-Score Calculator
Last updated: 27 June 2026
Reviewed by Gavin Meiring, Lead research and primary author ยท Doctoral Candidate (Corporate Governance) ยท Research and drafting assisted by AI
- A z-score expresses a value as the number of standard deviations it lies from the mean, letting you compare scores measured on different scales.
- Karl Pearson introduced the term 'standard deviation' in 1894, giving statistics the tool z-scores are built on.
- IQ tests are scaled to a mean of 100 and a standard deviation of 15, so an IQ of 130 corresponds to a z-score of 2.
Z-Score Calculator
A z-score calculator computes the standardised score for a data point, telling you how many standard deviations above or below the mean a particular value falls. It is used by students, researchers, and data analysts to compare measurements from different distributions, identify outliers, and calculate probabilities from the normal distribution.
How to Use the Z-Score Calculator
- Enter the individual data point value (x).
- Enter the population mean (mu).
- Enter the population standard deviation (sigma).
- Click Calculate to see the z-score and its corresponding percentile.
- Use the optional normal distribution visualisation to see where the value falls on the bell curve.
The Formula
z = (x - mu) / sigma
Where: x = the individual value being evaluated mu = the population mean sigma = the population standard deviation z = the z-score (number of standard deviations from the mean)
A positive z-score means the value is above the mean. A negative z-score means it is below the mean. A z-score of 0 means the value equals the mean exactly. The probability associated with a z-score is read from the standard normal distribution table.
Real-World Example
A student scores 78 on an exam. The class mean is 65 and the standard deviation is 10.
z = (78 - 65) / 10 = 13 / 10 = 1.3
A z-score of 1.3 means the student scored 1.3 standard deviations above the mean.
Looking up z = 1.3 in a standard normal table gives a cumulative probability of approximately 0.9032, meaning the student scored higher than approximately 90.3% of the class. This is useful for grading on a curve and for reporting standardised test results.
Z-Scores in Research and Quality Control
Z-scores allow meaningful comparison of values from different distributions. In medical research, a patient's bone density might be reported as a z-score relative to a healthy reference population, which is the basis of the T-score and Z-score used in DEXA bone scans. In finance, z-scores are used to detect abnormal returns: a stock's return minus the average return divided by the standard deviation shows how unusual a day's movement was. In manufacturing and quality control, z-scores underpin Six Sigma methodology, where defects are measured in terms of how many standard deviations process variation is from the target. In psychology, standardised test scores such as IQ are designed so that the mean is 100 and the standard deviation is 15, making every result interpretable as a z-score converted to a convenient scale.
Frequently Asked Questions
What is a good z-score? There is no universally "good" z-score; it depends entirely on context. In academic testing, a z-score above 1 puts you in roughly the top 16%. In quality control, most processes aim for values within z = +/-3 (covering 99.7% of outcomes). In outlier detection, a common threshold is z > 2 or z > 3 as a flag for unusual observations.
What is the difference between a z-score and a t-score? Both measure how far a value is from the mean in units of spread, but they differ in what they divide by. A z-score divides by the population standard deviation (sigma) and assumes the population parameters are known. A t-score divides by the sample standard deviation and is used when the population standard deviation is unknown and must be estimated from a sample. For large samples, the t-distribution approaches the normal distribution and the two become nearly identical.
Can I use a z-score calculator for small samples? Technically yes, but the z-score assumes a normally distributed population and uses the true population standard deviation. For small samples (typically n < 30) where the population standard deviation is unknown, the t-distribution is more appropriate. Using a z-score with small samples can lead to underestimating the probability of extreme values.
How do I convert a z-score to a percentile? Use the cumulative standard normal distribution function, often called the Phi function. For z = 1.0, the cumulative probability is 0.8413, meaning the 84th percentile. For z = 2.0, it is 0.9772 (97.7th percentile). For z = -1.0, it is 0.1587 (15.9th percentile). This tool performs that conversion automatically.
A Data Set Worked Through in Full
The example above turns three numbers into one answer. Running the same formula across a whole data set shows how the parts fit together, and it shows what the answer means in a group rather than in isolation.
Ten students sit an exam and score 52, 61, 67, 71, 74, 78, 80, 85, 88 and 94. The ten scores add to 750, so the mean is 75.0. Subtract the mean from each score, square the ten differences, and add them: the sum of squared deviations is 1,470.0. Divide that by 10 and the population variance is 147.0, whose square root is a population standard deviation of 12.1244. Divide by 9 instead, the form used when these ten scores are a sample drawn from a larger group, and the variance is 163.3333 with a standard deviation of 12.7802.
Every z-score below follows the same formula the tool applies, using the population standard deviation in the fourth column and the sample standard deviation in the fifth.
| Score | Deviation from 75 | z, sigma 12.1244 | Percentile | z, s 12.7802 |
|---|---|---|---|---|
| 52 | -23.0 | -1.8970 | 2.89% | -1.7997 |
| 61 | -14.0 | -1.1547 | 12.41% | -1.0954 |
| 67 | -8.0 | -0.6598 | 25.47% | -0.6260 |
| 71 | -4.0 | -0.3299 | 37.07% | -0.3130 |
| 74 | -1.0 | -0.0825 | 46.71% | -0.0782 |
| 78 | 3.0 | 0.2474 | 59.77% | 0.2347 |
| 80 | 5.0 | 0.4124 | 66.00% | 0.3912 |
| 85 | 10.0 | 0.8248 | 79.53% | 0.7825 |
| 88 | 13.0 | 1.0722 | 85.82% | 1.0172 |
| 94 | 19.0 | 1.5671 | 94.15% | 1.4867 |
Read the top row and the bottom row together. The student on 94 sits 1.5671 standard deviations above the mean, and the standard normal curve places 94.15% of a normal population below that point. That is the strongest score in this class, but it is not remarkable in any absolute sense: roughly one value in seventeen drawn from this distribution lands above it. The score of 52 sits 1.8970 standard deviations below the mean, at the 2.89th percentile, or about one value in thirty-five.
The middle of the table carries as much information as the ends. The two central scores of 74 and 78 sit at -0.0825 and 0.2474, both inside a quarter of a standard deviation, which is why their percentiles of 46.71% and 59.77% stay close to the 50% mark. A class of ten students breaks the curve into wide steps, so a single mark moves the percentile by several points.
Population or Sample Standard Deviation
The two denominators give different answers, and the difference grows as the sample gets smaller. The same two scores on the same data set, run against four different spreads, show the size of the effect.
| Standard deviation used | z for a score of 52 | Percentile | z for a score of 94 | Percentile |
|---|---|---|---|---|
| 8.0000, understated | -2.8750 | 0.20% | 2.3750 | 99.12% |
| 12.1244, population form | -1.8970 | 2.89% | 1.5671 | 94.15% |
| 12.7802, sample form | -1.7997 | 3.60% | 1.4867 | 93.14% |
| 15.0000, overstated | -1.5333 | 6.26% | 1.2667 | 89.74% |
The top score reads 1.5671 on the population form and 1.4867 on the sample form, a difference of 0.0804 that moves the reported percentile from 94.15% to 93.14%. That gap is tolerable. The rows either side of it are not. An eight-point spread turns the same two scores into -2.8750 and 2.3750, which reports the lower result at the 0.20th percentile and would flag it as a severe outlier on a test that in fact has no extreme values. A fifteen-point spread flattens the top score to the 89.74th percentile.
The lesson is narrow and practical: the standard deviation you type in decides the answer, so compute it from the data rather than estimating it. Divide by n when the values are the whole population you care about, and by n minus 1 when they are a sample standing in for a larger group. The calculator takes whichever figure you give it and does not ask which form you used, so the assumption has to travel with the result.
Cut Points on the Curve
The cumulative normal curve turns any z-score into a percentile. The values below cover the points that appear most often in reports and textbooks, taken to six decimal places before rounding.
| z | Cumulative probability | Percentile | Share above |
|---|---|---|---|
| -3.000 | 0.001350 | 0.13% | 99.87% |
| -2.576 | 0.004998 | 0.50% | 99.50% |
| -2.000 | 0.022750 | 2.28% | 97.72% |
| -1.960 | 0.024998 | 2.50% | 97.50% |
| -1.645 | 0.049985 | 5.00% | 95.00% |
| -1.000 | 0.158655 | 15.87% | 84.13% |
| 0.000 | 0.500000 | 50.00% | 50.00% |
| 1.000 | 0.841345 | 84.13% | 15.87% |
| 1.645 | 0.950015 | 95.00% | 5.00% |
| 1.960 | 0.975002 | 97.50% | 2.50% |
| 2.000 | 0.977250 | 97.72% | 2.28% |
| 2.576 | 0.995002 | 99.50% | 0.50% |
| 3.000 | 0.998650 | 99.87% | 0.13% |
The table is symmetric by construction, and the symmetry is exact rather than approximate. The cumulative probability at z of -1.000 is 0.158655 and at z of 1.000 it is 0.841345, and the two values sum to 1. The same holds for every pair of rows.
Two figures on this page can be checked against the table. The worked example above looks up z = 1.3 and reports 0.9032, and the cumulative normal at 1.3 comes to 0.903200, so the printed figure is right to four decimal places. The 95% row carries a second point. The 0.975000 that defines a two-tailed 5% cut sits at a z of 1.959964, and the cumulative probability of 0.975002 shown against z of 1.960 is a hair above it, because 1.96 is that critical value rounded to two decimals.
The bands that sit either side of the mean cover most of the curve. One standard deviation either side takes in 68.2689% of a normal population, two take in 95.4500%, and three take in 99.7300%, leaving 0.2700% outside. Those three numbers are usually quoted as 68.27%, 95.45% and 99.73%, and the rounding is the only difference.
What the Three Modes Accept
The form is built around three questions, and each mode takes a different set of fields.
Value to z-score takes three numbers: the data point, the mean and the standard deviation. It computes the division shown in the formula above and nothing else. A standard deviation of zero or a negative figure returns no answer, which is correct behaviour, because the division has no meaning when the spread is zero.
Z-score to probability takes one number, the z-score itself, and returns the cumulative probability below it.
Percentile to z-score takes one number between 0 and 100 and runs the conversion backwards, returning the z-score that sits at that percentile.
All three modes report the same panel of results: the z-score to four decimal places, the percentile below the value to two decimal places, then P(X less than or equal to z), P(X greater than z) and the probability of landing within the range from -z to +z, each to four decimal places. The panel also names the result as the 95% or 99% critical value when the z-score it computed sits within 0.01 of 1.96 or 2.576.
Where the Percentile Comes From
The calculator does not read a printed table. It evaluates the cumulative normal function directly, using the rational approximation printed as formula 26.2.17 in Abramowitz and Stegun, Handbook of Mathematical Functions (1964), credited there to Zelen and Severo, a fit whose stated error bound is 7.5 x 10 to the power of -8. The reverse route, percentile to z-score, uses a Beasley-Springer-Moro rational approximation of the same function.
Both routes are closed-form fits rather than interpolated lookups, so the answer carries the small error of the fit instead of the coarser rounding of a four-figure table. The practical difference appears in the third and fourth decimal places, which is why the tool prints four of them on the probability side and two on the percentile side.
Also try these free tools related to Z-Score Calculator: - Standard Deviation Calculator