Z-Score Calculator
Free z-score calculator: enter a value, mean and standard deviation to instantly find z = (x − μ) / σ and how many standard deviations a data point sits from the mean.
Updated 2026-06-09 · Free · No sign-up · Runs privately in your browser
What is a z-score calculator?
A z-score calculator converts a single data value into a standard score — a number telling you how many standard deviations that value lies above or below the mean of its data set. Enter three numbers (the value, the mean and the standard deviation) and the tool returns the z-score instantly using the formula z = (x − μ) / σ.
The z-score, also called the standard score, strips away the original units. A height of 85 inches and an exam mark of 85 points are not comparable on their own, but once each is expressed as a z-score, you can place them on the same scale and judge which is more unusual relative to its group.
How does the z-score calculator work?
The calculator applies one formula:
z = (x − μ) / σ
where the terms are:
- x — your data value (the observation you are scoring).
- μ (mu) — the mean (average) of the data set.
- σ (sigma) — the standard deviation, a measure of spread that must be greater than 0.
The steps are simple: subtract the mean from the value to find the deviation, then divide that deviation by the standard deviation. The sign of the result tells you direction and the magnitude tells you distance:
- A positive z-score means the value is above the mean.
- A negative z-score means the value is below the mean.
- A z-score of 0 means the value sits exactly at the mean.
- The absolute value of z is how many standard deviations the value is from the mean.
Because z is a ratio of two quantities measured in the same units, it is unitless — the units of x, μ and σ cancel out.
Examples
Each example below matches the calculator exactly. Try typing the inputs into the tool above to confirm.
Example 1: a value above the mean
A student scores 85 on a test where the mean is 70 and the standard deviation is 10.
z = (85 − 70) ÷ 10 = 15 ÷ 10 = 1.5
The z-score is 1.5, so the score sits 1.5 standard deviations above the mean — better than average.
Example 2: a value below the mean
Another student scores 60 on the same test (mean 70, σ 10).
z = (60 − 70) ÷ 10 = −10 ÷ 10 = −1.0
The z-score is −1.0: the score is one standard deviation below the mean. The negative sign signals “below average”.
Example 3: a value exactly at the mean
A score of 70 on the same test (mean 70, σ 10).
z = (70 − 70) ÷ 10 = 0 ÷ 10 = 0
The z-score is 0 — the value is exactly average, no standard deviations away in either direction.
Example 4: a smaller spread
Suppose a value of 78, a mean of 70, but a tighter standard deviation of 4.
z = (78 − 70) ÷ 4 = 8 ÷ 4 = 2.0
The z-score is 2.0. Notice that the same 8-point gap above the mean produces a larger z-score when the spread is smaller — the value is more unusual when data is tightly clustered.
Z-score reference table
The table shows how raw values map to z-scores for a data set with a mean of 70 and a standard deviation of 10, plus what each z implies under a normal distribution.
| Value (x) | Calculation | Z-score | Position |
|---|---|---|---|
| 50 | (50 − 70) ÷ 10 | −2.0 | 2 SD below mean |
| 60 | (60 − 70) ÷ 10 | −1.0 | 1 SD below mean |
| 70 | (70 − 70) ÷ 10 | 0 | At the mean |
| 75 | (75 − 70) ÷ 10 | 0.5 | Half an SD above |
| 85 | (85 − 70) ÷ 10 | 1.5 | 1.5 SD above mean |
| 90 | (90 − 70) ÷ 10 | 2.0 | 2 SD above mean |
As a rough guide for normally distributed data, about 68% of values fall within a z of ±1, roughly 95% within ±2, and about 99.7% within ±3. A z-score beyond ±3 is therefore quite rare.
Common uses for z-scores
- Comparing different scales. Put SAT scores, IQ scores and class marks on one common scale to see which result is the strongest relative to its own group.
- Spotting outliers. Values with a large absolute z-score (often |z| greater than 2 or 3) stand out as unusual and may warrant a closer look.
- Standardising data before feeding it into statistics or machine-learning models, so that variables with big units do not dominate those with small ones.
- Quality control. Engineers flag measurements that drift several standard deviations from the target as out-of-spec.
- Education and grading. Teachers use z-scores to grade on a curve and to report how far above or below average a student performed.
Tips and common mistakes
- Standard deviation must be greater than 0. Dividing by zero is undefined, and a σ of 0 means there is no spread to measure against. The tool requires a positive standard deviation.
- Match the right mean and standard deviation to your value. The z-score is only meaningful when μ and σ describe the same data set that x came from.
- Mind the sign. A negative z-score is not “wrong” — it simply means the value is below the mean. Drop the sign only when you want the distance in standard deviations.
- Use population vs sample σ consistently. If your standard deviation was computed by dividing by n, that is the population value; dividing by n − 1 gives the sample value. Use whichever matches how μ was defined.
- A z-score is not a percentage. To turn z into a percentile you need the normal distribution table or a calculator that integrates it; the raw z alone is just a count of standard deviations.
Limitations and notes
The z-score itself is a straightforward arithmetic result and is exact for the numbers you enter, but its interpretation assumes you know the true mean and standard deviation. If those come from a small sample, the value is an estimate and the z-score inherits that uncertainty.
The familiar 68–95–99.7 percentages apply only when the underlying data is roughly normally distributed (bell-shaped). For heavily skewed data, a z-score still tells you the standardised distance from the mean, but it no longer maps cleanly to those probability bands. Results display rounded for readability, so a long decimal may be shortened. This tool is for educational and general analytical use and is not a substitute for professional statistical advice.
Related tools
To build the inputs this calculator needs, find the average with the mean, median & mode calculator, compute the spread with the standard deviation calculator, and explore more in the statistics category.
Frequently asked questions
How do you calculate a z-score?+
Subtract the mean from your value, then divide by the standard deviation: z = (x − μ) / σ. The calculator does this instantly once you enter all three numbers.
What is the z-score of 85 when the mean is 70 and the standard deviation is 10?+
z = (85 − 70) ÷ 10 = 1.5, meaning 85 sits 1.5 standard deviations above the mean.
What does a negative z-score mean?+
A negative z-score means the value is below the mean. For example, x = 60 with mean 70 and σ = 10 gives z = (60 − 70) ÷ 10 = −1.0, one standard deviation below the mean.
What does a z-score of 0 mean?+
A z-score of 0 means the value equals the mean exactly. With mean 70, an input of 70 gives z = (70 − 70) ÷ 10 = 0.
Can the standard deviation be zero in a z-score?+
No. The formula divides by the standard deviation, so it must be greater than 0. A standard deviation of 0 means every value is identical and no spread exists to measure against.
What is a good or normal z-score?+
Most values fall between −3 and +3. Under a normal distribution about 68% land within ±1, roughly 95% within ±2, and about 99.7% within ±3, so |z| above 3 is unusual.
Is a z-score the same as a standard score?+
Yes. Z-score and standard score are the same thing — both express how many standard deviations a value lies from the mean.
Should I use the population or sample standard deviation?+
Use the population standard deviation when your data is the whole group, and the sample standard deviation (dividing by n − 1) when it estimates a larger group. Enter whichever fits, and the z-score uses that value directly.