Skip to main content

Z-score Calculator

A z-score answers a question that raw numbers cannot: how unusual is this value compared with the rest of the data? It measures the distance from the mean in units of the standard deviation, so a z of 2 means the same thing whether you are looking at test scores, blood pressure, reaction times or monthly sales.

The measurement you want to score. Leave it blank in list mode to find the observation furthest from the mean.

The centre of the data — an average, a specification target, or a historical mean.

The typical spread of the data. Must be greater than zero.

At least 2 numbers, separated by spaces, commas or new lines. The mean and standard deviation are calculated from this list.

Use the sample form (n − 1) for data collected as a sample, and the population form (n) when the list is the entire population.

What Is the Z-score Calculator?

A z-score, also called a standard score, is the number of standard deviations a value lies away from the mean of its dataset. It is written z = (x − μ) / σ and is read simply: a z of 1.5 is one and a half standard deviations above the mean.

The transformation was introduced by the statistician Abraham Wald, and its power comes from removing units. The same score describes a student scoring 85 where the class average is 70, and a patient whose blood pressure is 30 points above their own baseline.

How Does the Z-score Calculator Work?

Step one is subtraction. Taking x − μ centres the value on zero: the mean itself scores 0, and values above and below the mean fall on either side of it.

Step two is division by the standard deviation. This rescales the gap so that it is measured in typical spreads rather than raw units. Without this step the score would change if you switched from kilograms to pounds.

Step three is optional but powerful: the standard normal table, or Φ(z), converts the score into a percentile rank. Because the normal curve has a fixed shape, a given z always corresponds to the same share of the distribution, whatever the data were measured in.

The two-sided tail probability, 2[1 − Φ(|z|)], answers a related question: how often would a value at least this far from the mean appear by chance in normal data? That is the p-value a z-test would report.

Z-score Calculator Formula & Variables

The core mathematical equation utilized by this calculator is expressed as:

z = \frac{x - \mu}{\sigma} \qquad \text{percentile rank} = \Phi(z) \qquad p = 2\left[1 - \Phi(|z|)\right]

Variable Definitions

SymbolVariable Meaning & Units
xthe value being scored
μmean of the data
σstandard deviation of the data
Φcumulative standard normal distribution

Subtracting the mean centres the value on zero, and dividing by the standard deviation rescales it so one unit of z equals one typical spread of the data. Because the standard normal curve has fixed shape, the same score maps to the same percentile rank in every dataset, which is what makes z-scores comparable across different measurements.

How to Use the Z-score Calculator

  1. Choose your input type. With a known mean and standard deviation — a specification, a historical baseline, an exam mean — enter the three figures directly.
  2. Alternatively paste in a list of at least two observations and let the calculator compute the mean and standard deviation. Pick the sample or population standard deviation to match how the data were collected.
  3. In list mode, leave the value blank to have the calculator score the observation furthest from the mean, or enter a specific value to see where it sits among the others.
  4. Read the score, then read the percentile rank beside it. The table underneath lists every observation with its own z-score and percentile, which makes unusual readings obvious at a glance.

Step-by-Step Example Calculation

A score of 85 against a class mean of 70 with a standard deviation of 5

Input Values:

mode:single
value:85
meanValue:70
sd:5
Worked Steps: The gap is 15 and one standard deviation is 5, so z = 15 ÷ 5 = 3. About 99.87% of a normal distribution lies below 85, and the two-sided tail probability is roughly 0.27% — about one in 370.

Understanding Your Result

The sign tells you the direction and the magnitude tells you the distance. z = −1.8 is a value 1.8 standard deviations below the mean, not a negative or bad result.

The percentile rank is the share of the distribution at or below the value. A score of 84.13% means the value is higher than about 84% of normally distributed data.

The band label is a quick sanity check: within one standard deviation covers about 68% of normal data, one to two covers a further 27%, two to three about 4.3%, and beyond three roughly 0.3%.

The two-sided tail probability is the same number a z-test would call a p-value. Below 0.05 means the value would be unusual in normal data; it does not by itself prove anything is wrong.

Factors That Affect the Result

  • The standard deviation. Because it sits in the denominator, an understated spread inflates every score, and a value measured with a noisy instrument gets a larger z than it deserves.
  • The shape of the data. The percentile reading assumes normality, so skewed data with the same z does not correspond to the same rank in the observed sample.
  • Sample size is not part of the formula. A z-score describes a single value against a spread, so unlike a test statistic it does not grow more convincing as more data are collected.
  • Outliers distort both inputs. One extreme point raises the standard deviation, which compresses every other score toward zero and hides the outlier instead of exposing it.

When Should You Use This Calculator?

  • Comparing results across different scales, such as scores in different exams, or measurements in different units.
  • Spotting outliers in a dataset, especially with the sample or population standard deviation taken directly from the list.
  • Quality control, where a measurement is expressed in multiples of the process standard deviation from its target.
  • Describing a result in a report: “2.3 standard deviations above the mean” is far clearer than a raw figure with no context.
  • As the building block for further statistics, since the z-test and many standardised scores are built on the same transformation.

Assumptions & Limitations

  • The percentile rank assumes the data are approximately normal. For heavily skewed data, quote the z-score as a distance and use the median and interquartile range for rank information.
  • The mean and standard deviation must be meaningful for the comparison. Scoring against a mean from a different population or a different time period produces a number with no interpretation.
  • A z-score is not a probability and not a percentage of anything. It is a standardised distance; the percentile reading is the part that refers to a share of the distribution.
  • With very small samples the mean and standard deviation are unstable, so the resulting score has a wide margin of uncertainty even though the arithmetic is exact.
  • The standard deviation must be greater than zero. If the calculator reports an error, the data have no spread, and scoring against them is not meaningful.

Frequently Asked Questions

Calculation Accuracy & Reference Note

Z-scores are exact ratios, and percentile ranks come from a high-accuracy numerical evaluation of the normal distribution, so displayed values are reliable to well beyond the digits shown.

Standard Reference: Standard score transformation; percentile ranks from the cumulative standard normal distribution.