Z-Score Formula and Examples
The z-score formula is z = (x − μ) ÷ σ: subtract the mean from your value and divide by the standard deviation. The result is the number of standard deviations the value lies above (positive) or below (negative) the mean. A score of 85 where the mean is 70 and the standard deviation is 10 gives z = (85 − 70) ÷ 10 = 1.5.
Example: a sample mean of 72 from n = 25
- z = (72 − 70) ÷ (10 ÷ √25) = 2 ÷ 2 = 1
- Area to the left = 0.8413
The formula in its three forms
For a single value from a population: z = (x − μ) ÷ σ. For a single value from a sample, replace the parameters with sample statistics: z = (x − x̄) ÷ s. For a sample mean, the standard deviation of the mean is the standard error σ ÷ √n, so z = (x̄ − μ) ÷ (σ ÷ √n). A class of 25 with mean 72 from a population with μ = 70 and σ = 10 has z = (72 − 70) ÷ (10 ÷ 5) = 1, not 0.2.
How to interpret z
z = 0 is exactly average, z = 1 is one standard deviation above, and z = −2 is two below. In a roughly normal distribution about 68% of values have |z| under 1, 95% under 2 and 99.7% under 3, so |z| above 2 is unusual and above 3 is rare. Because z-scores are unitless, they let you compare values from different scales: a 650 on one test and an 82 on another can be compared by their z-scores, provided each test’s mean and standard deviation are known.
To convert z to a percentile, find the area to the left of z in a z table. z = 1.5 gives 0.9332, so the value is above about 93% of a normal distribution. The z-score calculator does the conversion and also reports the right-tail area and the two-tailed p-value.
Common mistakes
Dividing by the variance instead of the standard deviation is the most common slip. Another is using σ instead of the standard error when x is a sample mean. A third is applying the z formula to a very skewed data set and reading the result as a normal percentile; the z-score is still correct as a distance, but the percentile will not be. Finally, check the sign: a value below the mean must give a negative z.
Frequently asked questions
- What is the formula for the z-score?
- z = (x − μ) ÷ σ, where x is the value, μ the mean and σ the standard deviation.
- How do I find the z-score of a sample mean?
- Use z = (x̄ − μ) ÷ (σ ÷ √n). The denominator is the standard error of the mean.
- Can I find the original value from a z-score?
- Yes: x = μ + z × σ. For z = 1.5, mean 70 and standard deviation 10, x = 85.
- What is a z-score of 2?
- A value two standard deviations above the mean, higher than about 97.7% of a normal distribution.
Sources and references
- OpenStax Introductory Statistics 2e: The Standard Normal Distribution: z-scores and the standard normal distribution.
- NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.6.7.1: Cumulative distribution function of the standard normal distribution: published normal table used to test every cell here.