Z-Score Calculator

Z-score—
Probability below (percentile)—
Interpretation—

How Z-Score Calculator is calculated: z = (x − mean) ÷ standard deviation; P(Z < z) = 0.5 × (1 + erf(z ÷ √2))

What is a z-score?

A z-score tells you how far a value sits from the average, measured in standard deviations. A test score of 85, in a class with a mean of 70 and a standard deviation of 10, has a z-score of (85 − 70) ÷ 10 = 1.5. That one number says the score is one and a half standard deviations above average — and it lets you compare that score with scores from completely different tests, because the units have been stripped away.

Z-scores are the common currency of statistics. A height, a test score and a delivery time cannot be compared directly, but their z-scores can: a z-score of 1.5 means the same thing in every case — one and a half standard deviations above the mean of its own group. That is why z-scores are the first step in standardising data, finding outliers, and working out percentiles.

This calculator takes a value, a mean and a standard deviation, and returns the z-score, the probability below it, and a plain-English reading — above average, below average, or exactly average. The results update live as you type. Everything runs in your browser, so nothing is uploaded and nothing is stored.

The z-score formula, worked with real numbers

The formula is z = (x − mean) ÷ standard deviation. Take the default example on this page: x = 85, mean = 70, standard deviation = 10. Subtract the mean: 85 − 70 = 15. Divide by the standard deviation: 15 ÷ 10 = 1.5. The z-score is 1.5, which means the value is one and a half standard deviations above the mean.

The probability below the z-score comes from the normal curve: P(Z < 1.5) is 0.9332, shown as 0.93. That means about 93% of values in a normal distribution lie below a z-score of 1.5, so a score of 85 is at the 93rd percentile. The probability is what turns the z-score into a ranking — the z-score alone tells you the distance, and the probability tells you how many people are behind you.

Now the other direction: x = 60, mean = 70, standard deviation = 10. Subtract: 60 − 70 = −10. Divide: −10 ÷ 10 = −1. The z-score is −1, one standard deviation below the mean, and the probability below it is 0.1587, shown as 0.16. About 16% of values lie below this score. The sign of the z-score is the whole story in miniature: positive means above average, negative means below it, and zero means exactly average. A standard deviation calculator is the tool for working out the standard deviation you need before you can compute a z-score.

The three inputs — value, mean and standard deviation

The value x is the single number you want to standardise: one test score, one height, one measurement. It can be anything — above the mean, below it, or equal to it — and the calculator will tell you where it stands. The mean is the average of the group the value belongs to, and the standard deviation measures how spread out that group is. All three must come from the same group, or the z-score is meaningless.

The standard deviation must be greater than zero. A standard deviation of zero means every value in the group is identical, so there is no spread to measure against, and a z-score cannot be computed — the calculator shows a dash in that case. If your standard deviation comes out as zero, check the data: a group with no variation is either a data entry error or a group of one.

The most common input mistake is using the wrong mean or standard deviation — the mean of a different class, or the population standard deviation when the question expects the sample one. For large groups the two barely differ, but for small groups they do, and the z-score changes with them. An average calculator gives you the mean, and the standard deviation calculator linked above gives you the spread; use the pair that matches your data.

A worked example: scores of 85 and 60

Take a class with a mean of 70 and a standard deviation of 10. A student who scores 85 has a z-score of (85 − 70) ÷ 10 = 1.5. The probability below that z-score is 0.93, so the student is at the 93rd percentile — only about 7% of the class scored higher. The interpretation row says “above average”, which is the plain-English version of the positive z-score.

A student who scores 60 in the same class has a z-score of (60 − 70) ÷ 10 = −1. The probability below is 0.16, so the student is at the 16th percentile — about 84% of the class scored higher. The interpretation row says “below average”. The two students are 25 marks apart, but the z-scores — 1.5 and −1 — say more than the raw gap does, because they measure the gap against the spread of the class.

A student who scores exactly 70 has a z-score of 0 and a probability below of 0.50 — exactly average, the 50th percentile. These three cases cover the whole range: above average, below average, and exactly average. Any value you type in will land in one of those three readings, and the probability below tells you precisely how far up or down the ranking it sits.

Where z-scores do real work

Exams and admissions run on z-scores. When different papers have different means and standard deviations, raw marks cannot be compared — a 85 on a hard paper may beat a 90 on an easy one. Converting both to z-scores puts them on the same scale, and the university or employer can rank fairly. Standardised tests like the SAT and GRE report scaled scores that are built on z-scores for exactly this reason.

Quality control uses z-scores to flag outliers. A measurement with a z-score beyond ±3 is about one in 740 by chance, so it is usually a real problem — a faulty sensor, a wrong reading, a batch that has drifted. Factories set control limits at ±3 standard deviations and investigate anything outside them, because the z-score turns “this looks odd” into a number with a known probability behind it.

In finance, the z-score measures how unusual a return is. A daily return two standard deviations above the mean is a good day; one three standard deviations below is a bad day worth investigating. The same idea powers credit scoring and fraud detection: a transaction with an extreme z-score on amount or frequency gets flagged, because ordinary behaviour does not produce it. A probability calculator can turn the z-score into the chance of seeing a value that extreme.

Z-score vs percentile — same idea, different number

A z-score and a percentile describe the same position in two ways. The z-score is the distance from the mean in standard deviations; the percentile is the share of values below it. A z-score of 1.5 is the 93rd percentile, a z-score of 0 is the 50th, and a z-score of −1 is the 16th. The calculator shows both, so you never have to convert between them by hand.

The conversion runs through the normal curve, and it assumes the data is roughly normal. If the data is skewed — incomes, house prices, waiting times — the percentile from the normal curve will be wrong, because the curve does not match the data. In that case, rank the data directly instead of converting through a z-score: the percentile of a value in skewed data is just the share of values below it, counted, not assumed.

For normal data, a few z-scores are worth memorising. A z-score of 1 is the 84th percentile, 1.5 is the 93rd, 1.96 is the 97.5th, and 2 is the 97.7th. On the negative side, −1 is the 16th percentile and −1.96 is the 2.5th. Those six numbers cover most of the questions people ask, and this calculator gives you the exact value for any z-score in between.

Common z-score mistakes

The first mistake is dividing by the wrong spread. The z-score divides by the standard deviation, not the variance. The variance for the default example is 100, and dividing 15 by 100 gives 0.15 — a completely different answer from the correct 1.5. The standard deviation is the square root of the variance, which is 10 here, and it is the number the formula needs.

The second mistake is the sign. A value below the mean has a negative z-score, and forgetting the minus sign turns a below-average result into an above-average one. For x = 60, the z-score is −1, not 1 — and the probability below is 0.16, not 0.84. Check the sign before you read the percentile.

The third mistake is using a z-score on data that is not normal. The probability below a z-score comes from the bell curve, and if your data is skewed or bimodal, that probability is wrong even though the z-score itself is correct. The z-score is always a valid measure of distance; the percentile is only valid when the normal curve fits.

The fourth mistake is comparing z-scores from different groups without checking that the groups are comparable. A z-score of 1.5 in a class of 30 and a z-score of 1.5 in a national exam both mean one and a half standard deviations above their own mean — but the national exam is a far bigger and more stable group, so the two scores do not carry the same weight. Same number, different context.

How to use this z-score calculator

Type the value x, the mean of its group, and the standard deviation of its group. The z-score, the probability below it, and the plain-English reading update live as you type. Try a value above the mean and one below it, and watch the interpretation change from “above average” to “below average”.

Read the z-score first: it is the distance from the mean in standard deviations. Then read the probability below, which is the percentile — 0.93 means the value is at the 93rd percentile. If a row shows a dash, the standard deviation is zero or missing, so check the inputs and try again.

Everything runs in your browser. No account, no sign-up, no data sent anywhere. Use it to compare test scores, to flag outliers, or to work out a percentile from a raw score. If you need the probability for a z-value on its own, a percentage calculator can express the decimal as a percentage — 0.93 is 93% — and the formula is shown on this page so you can check the result by hand.

Frequently Asked Questions

The z-score is (85 − 70) ÷ 10 = 1.5. The probability below it is P(Z < 1.5) = 0.93, so the score is at the 93rd percentile — only about 7% of the class scored higher. The interpretation is “above average”.

A z-score of 1 means one standard deviation above the mean, and it sits at the 84th percentile — P(Z < 1) is 0.84. A z-score of −1 is one standard deviation below the mean, at the 16th percentile. A z-score of 0 is exactly average, the 50th percentile.

Divide by the standard deviation, not the variance. The variance is the square of the standard deviation, so dividing by it gives a much smaller number. For x = 85, mean 70 and standard deviation 10, the correct z-score is 15 ÷ 10 = 1.5; dividing by the variance 100 would wrongly give 0.15.

Yes — that is exactly what z-scores are for. Convert each mark to a z-score using its own paper's mean and standard deviation, and compare the z-scores instead of the raw marks. A z-score of 1.5 on a hard paper beats a z-score of 1.0 on an easy paper, even if the raw mark on the easy paper was higher.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.