Z-Score Calculator: Find and Interpret a Standard Score
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
A z-score calculator shows how many standard deviations a value lies above or below a mean. Enter the value, the mean, and the standard deviation to get the z-score, with an optional percentile estimate under the normal-distribution assumption.
Formula
The standard z-score formula is z = (x − μ) / σ. Here, x is the observation, μ is the mean, and σ is the standard deviation. The inputs must use the same units; the resulting z-score has no units. A positive score is above the mean, a negative score is below it, and zero equals the mean.
The calculator block computes the z-score only. A percentile requires the cumulative distribution function of the standard normal distribution, usually written Φ(z), so the corresponding formula is percentile = 100 × Φ(z). This calculator does not calculate that second quantity; use a normal-distribution table or a tool that supports Φ when a percentile is needed.
Worked Example
With the defaults in the calculator, the value is 75, the mean is 60, and the standard deviation is 10:
- Subtract the mean from the value: 75 − 60 = 15.
- Divide by the standard deviation: 15 ÷ 10 = 1.5.
- Rounded to two decimal places, the z-score is 1.50.
The observation is therefore 1.5 standard deviations above the mean. This does not, by itself, say whether the observation is unusually high; that depends on the distribution and the context.
What a Z-Score Means
A z-score expresses a distance from the mean in standard-deviation units. Unlike a raw measurement, it can help compare values measured on different scales, provided the mean and standard deviation are appropriate for each dataset.
- z = 0: the value is exactly at the mean.
- z = 1: the value is one standard deviation above the mean.
- z = −2: the value is two standard deviations below the mean.
For example, if a test score of 75 comes from a group with a mean of 60 and a standard deviation of 10, its z-score is 1.5. The score’s standing is described relative to that group, not as an absolute measure of ability.
When to Use a Z-Score
Z-scores are useful for standardizing observations, comparing relative positions, and spotting values far from a dataset’s center. In statistics, the standard normal distribution has a mean of 0 and a standard deviation of 1; transforming a value into a z-score puts it on that scale.
That transformation does not make every dataset normally distributed. A z-score can be calculated for any value when the mean and standard deviation are defined, but interpreting it as a probability or percentile requires additional assumptions. In particular, familiar rules about how much data lies within one, two, or three standard deviations apply approximately to bell-shaped normal distributions—not automatically to all data.
Population and Sample Standard Deviation
Choose the standard deviation that matches the data and the question. A population standard deviation describes the whole population being analyzed. A sample standard deviation is estimated from a sample, commonly using the sample-size-minus-one denominator in its variance calculation. The two can differ, especially with small samples.
For a single observation compared with a reference group, use the group’s mean and standard deviation. If you calculate those statistics from a sample, be clear that the resulting z-score is based on sample estimates. A different statistic, the t-score, is often used in inference about a population mean when the population standard deviation is unknown; it is not interchangeable with an ordinary z-score in every setting.
Common Mistakes and Limits
- Mixing units: convert values and the mean to the same units, and express standard deviation in those same units. For example, do not subtract a mean in inches from a value in centimeters.
- Entering variance instead of standard deviation: variance is measured in squared units; the formula needs standard deviation, the square root of variance.
- Confusing score with percentile: z = 1.5 does not mean the value is at the 1.5th percentile. A percentile is found from a distribution function or reference table.
- Over-interpreting extreme scores: a large absolute z-score may flag an unusual observation, but it can also reflect skewed data, an outlier, or a poor reference group.
- Rounding too early: keep full precision in intermediate calculations and round the final score for display.
If the standard deviation is zero, all observations used to calculate it are identical, and the z-score formula involves division by zero. There is no finite z-score in that case. A calculator should not treat a zero standard deviation as a valid input.
Frequently Asked Questions
Can a z-score be negative?
Yes. A negative score means the value is below the mean. Its magnitude indicates how many standard deviations below the mean it lies.
What is a z-score of 2?
It means the value is two standard deviations above the mean. Whether that is rare depends on the distribution; under a standard normal model, it is in the upper tail, but that interpretation should not be assumed for arbitrary data.
How do I convert a z-score to a percentile?
Use the cumulative standard normal distribution, Φ(z), and multiply by 100. A z-score table or a calculator with a normal CDF function can provide the estimate. The conversion is meaningful as a probability interpretation when the normal model is suitable.
Is a z-score the same as a standard score?
In many contexts, “z-score” and “standard score” refer to the value obtained by subtracting the mean and dividing by the standard deviation. Terminology can vary by field, so check how a particular source defines it.
What if the standard deviation is zero?
The formula cannot produce a finite result because it requires division by zero. If every value is identical, report that the data have no spread rather than assigning a z-score using this formula.
Related
Formula used
in x | Value | - | 75 | in m | Mean | - | 60 | in s | Standard deviation | - | 10 | 0 out z | Z-score | - | (x - m) / s | 2 out p | Normal percentile estimate | % | 100 * (1 + erf_placeholder) | 1
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.