Z-score Calculator

Compute a z-score from a raw value, population mean, and standard deviation, with percentile rank and percent above.

Share this calculator

0.7

Z-score

75.8%

Percentile

24.2%

% above

Value (x)72
Mean (μ)65
Std deviation (σ)10

Also in Statistics

Standard Normal Distribution

Z-score — converting raw values to standard deviations from the mean

A z-score (also called a standard score) expresses how many standard deviations a value lies above or below the population mean. Converting raw data to z-scores lets you compare observations from different datasets on a single scale, look up probabilities from the standard normal table, and identify outliers using a consistent threshold.

What a z-score measures

A z-score of 0 means the value equals the mean exactly. A z-score of +1 means the value is one standard deviation above the mean; −1 means one standard deviation below. Because the calculation uses the population standard deviation and mean, z-scores are unit-free — you can directly compare a student's exam score to a patient's blood pressure reading once both are converted to z-scores.

The sign of the z-score shows direction: positive values are above average, negative values are below. The magnitude shows how unusual the value is relative to the spread of the distribution.

Z-score formula

The formula is straightforward: subtract the population mean from the raw value, then divide by the standard deviation. The result is a dimensionless number on the standard normal scale.

z = (x − μ) / σ

x is the raw value, μ is the population mean, σ is the population standard deviation.

Percentile = Φ(z) × 100

Φ(z) is the standard normal cumulative distribution function — the proportion of the distribution at or below z.

Converting z-scores to percentiles

The cumulative distribution function (CDF) of the standard normal distribution, often written Φ(z), gives the probability that a randomly chosen value from the population is less than or equal to x. Multiplied by 100, this becomes the percentile rank.

For example, a z-score of 0.70 corresponds to roughly the 75.8th percentile — meaning about 75.8% of the population scores below that value and 24.2% score above it. Z-scores between −3 and +3 cover approximately 99.7% of a normal distribution (the empirical rule).

Worked example

A student scores 72 on an exam where the class mean is 65 and the standard deviation is 10. The z-score is (72 − 65) / 10 = 0.70. Looking up Φ(0.70) gives approximately 0.758, so the student is at the 75.8th percentile — scoring higher than about 75.8% of the class.

If another exam had a mean of 500 and a standard deviation of 100, a score of 570 gives z = 0.70 — the same relative standing, even though the raw scores look completely different.

Using z-scores to detect outliers

A common rule of thumb treats any value with |z| > 3 as a potential outlier, since only about 0.3% of values in a normal distribution fall beyond three standard deviations from the mean. Some fields use |z| > 2 or |z| > 2.5 as a more conservative threshold.

Z-score based outlier detection works best when the underlying data is approximately normally distributed. For skewed distributions, alternative methods such as the IQR fence or Grubbs' test may be more appropriate.

Population versus sample z-scores

The standard z-score formula uses the population mean (μ) and population standard deviation (σ). When you only have sample statistics, you can substitute the sample mean (x̄) and sample standard deviation (s) to get an approximate standardised score — but strictly speaking, that produces a t-score rather than a true z-score, and the t-distribution should be used for probability lookups when the sample is small.

This calculator uses the values you enter as μ and σ; if you are working with sample estimates and a small dataset, treat the percentile as approximate.

Frequently asked questions

What is a good z-score?

There is no universally "good" z-score — it depends on context. In academic testing, a z-score of +1 or above means the result is better than roughly 84% of the group. In quality control, values within |z| ≤ 2 are often considered within normal operating range. In medical screening, specific z-score thresholds define conditions such as osteoporosis (bone density z-score below −2.5).

Can a z-score be greater than 3 or less than −3?

Yes. Z-scores have no upper or lower limit. Values beyond ±3 are rare in a normal distribution (less than 0.3% combined), but they do occur — especially in large datasets or when measuring physical extremes like world athletic records.

What is the difference between a z-score and a percentile?

A z-score is a standardised distance from the mean measured in standard deviation units. A percentile is the proportion of values in the distribution that fall at or below the given value, expressed as a percentage. They convey the same information but on different scales — a z-score of 1.645 corresponds to the 95th percentile in a standard normal distribution.

Why does the calculator need the standard deviation to be greater than zero?

If the standard deviation is zero, every value in the dataset is identical and there is no spread to measure. Division by zero is undefined, so the z-score formula cannot produce a result. A standard deviation of zero means the concept of "how many standard deviations away" is meaningless.

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.