Written & reviewed by Dackohn; last reviewed October 2026.

To calculate a z-score, subtract the mean from your value and divide by the standard deviation: z = (x − μ) / σ. The z-score says how many standard deviations a value sits from the mean — positive above, negative below. Example: x = 85, μ = 70, σ = 10 gives z = (85−70)/10 = 1.5. Use the population mean and SD; with only a small-sample estimate, the t-distribution is more appropriate.

The formula

z = (x − μ) / σ — value minus mean, divided by standard deviation.

Step by step

  1. Write down your value x, the mean μ, and the standard deviation σ.
  2. Subtract the mean from the value: x − μ.
  3. Divide by the standard deviation.
  4. The sign gives direction; the size gives how extreme.

Worked example

A test has μ = 70 and σ = 10. A score of 85 gives z = (85−70)/10 = 1.5. A score of 55 gives z = −1.5.

Turning a z-score into a percentile

Look it up in a z-table or use the normal distribution calculator. z = 1.5 is about the 93rd percentile. Roughly 68% of values have |z| < 1 and 95% have |z| < 2.

In Excel or Google Sheets

=STANDARDIZE(85,70,10) returns 1.5.

Comparing scores from different tests

Z-scores put values measured on different scales onto one common scale. Suppose a student scores 85 on a maths test (mean 70, SD 10) and 72 on a chemistry test (mean 60, SD 6). The raw scores suggest maths went better, but the z-scores say otherwise: maths z = (85 − 70) / 10 = 1.5, chemistry z = (72 − 60) / 6 = 2.0. Relative to classmates, the chemistry result is stronger: about the 98th percentile against the 93rd for maths.

Using z-scores to spot outliers

For roughly normal data, only about 4.6% of values have |z| > 2 and only 0.27% have |z| > 3. A common rule of thumb flags values with |z| > 3 as potential outliers worth checking for data-entry errors. Be careful with small samples and skewed data: an extreme value inflates the standard deviation itself, which can hide the outlier. For skewed data, the interquartile-range rule (more than 1.5 × IQR beyond the quartiles) is more reliable.

Sample or population values?

If the mean and standard deviation come from the full population, such as published norms for a standardised test, the z-score is exact. If they are estimated from your own sample, you are computing a standardised score: the interpretation is the same, but percentiles read from the normal table are only approximate, especially with fewer than about 30 observations.

Common mistakes

Do it instantly: the z-score calculator gives the z-score and its percentile in one step.

See also: The empirical rule · Percentile vs percentile rank

Related

Z-Score CalculatorZ-TableNormal Distribution