Z-Score Calculator

Calculate a z-score from a value, solve for x, the mean, or the standard deviation, and convert z-scores to percentiles and tail probabilities. Free and shows the work.

https://hexacalculator.com/calculators/mathematics/statistics/z-score-calculator

Mathematics

Statistics

Z-Score Calculator

Calculate a z-score from a value, solve for x, the mean, or the standard deviation, and convert z-scores to percentiles and tail probabilities. Free and shows the work.

Z-Score Calculator

Enter any three — leave the fourth blank

Find the area between two z-scores

Enter a lower and an upper z-score to get the probability that a standard normal value lands between them.

Results

A z-score of 1 puts the value 85 at about the 84.1345th percentile of a normal distribution.

Standard score z
Percentile
P(Z < z), area to the left
P(Z > z), area to the right

Chart, table, and steps

Show the normal curve

Plot the standard normal distribution and where your z-score sits on it.

Show the z-to-percentile table

List the percentile and tail areas for the z-scores people look up most.

Show the calculation steps

Walk through the arithmetic for the quantity you are solving for.

Percentile and right-tail area for common z-scores

Z-score

Percentile (% below)

P(Z > z)

-30.13%0.999
-2.580.49%0.995
-1.962.50%0.975
-1.6455.00%0.95
-115.87%0.841
-0.530.85%0.692
050.00%0.5
0.569.15%0.309
184.13%0.159
1.2889.97%0.1
1.64595.00%0.05
1.9697.50%0.025
297.72%0.023
2.5899.51%0.005
399.87%0.001
Loading calculator…

The Z-score (also called the standard score) indicates how many standard deviations a value is above or below the mean. It's a dimensionless number: positive values indicate that the value is above the mean, negative values indicate it's below the mean, and zero means it's exactly equal to the mean.

Because the z-score removes the original unit of measurement, you can compare very different values on the same scale. Once they are expressed as z-scores, test results and physical measurements can be directly compared with each other.

Formula for z-score:

For a single value from a population whose mean and standard deviation are known, the standardized value is:

z=xμσz = \frac{x - \mu}{\sigma}

In this formula x is the original value, μ (the Greek letter mu) is the population mean and σ (sigma) is the population standard deviation. Subtracting the mean measures how far the value is from the center, and dividing by the standard deviation expresses that distance in units of the standard deviation.

The same equation can be used to calculate four different quantities.

The identity above links four quantities together so that if you know three of them, you can calculate the fourth. This calculator solves the equation for the quantity you select:

z=xμσx=μ+zσμ=xzσσ=xμzz = \frac{x - \mu}{\sigma} \quad\Longleftrightarrow\quad x = \mu + z\sigma \quad\Longleftrightarrow\quad \mu = x - z\sigma \quad\Longleftrightarrow\quad \sigma = \frac{x - \mu}{z}

Computing x from a z-score is an inverse lookup that is required when a particular cut-off point is given as a z-score. For example, an admissions rule that takes the top percent actually refers to a z-score, and converting it back to the original value will determine who has met the admission threshold.

An example:

Suppose the test score is 85, the mean is 75 and the standard deviation is 10. These are the values that the calculator will load by default.

z=857510=1010=1z = \frac{85 - 75}{10} = \frac{10}{10} = 1

A z-score of 1 means that the value is exactly one standard deviation above the mean. In a normal distribution this position is approximately at the 84th percentile, meaning it exceeds about 84% of the values in the group.

Version for sample means.

When you are looking at the mean of a sample and not individual values, the spread in the mean is less than the spread in individual values. You need to divide by the standard error; as your sample size goes up, this standard error reduces that spread.

z=xˉμσ/nz = \frac{\bar{x} - \mu}{\sigma / \sqrt{n}}

Suppose a lot of 16 bolts has a target mean of 10 mm and a standard deviation of 0.4 mm. If the actual mean for this lot is 10.2 mm, with a standard error of 0.1, then the z-score would be 0.2 divided by 0.1, or 2. A seemingly small difference in raw values corresponds to a change of two standard errors when sample size is taken into account.

When you switch to the sample mean mode, the calculator adds a field for the sample size and uses this formula. The t-distribution is more accurate for small samples with unknown population standard deviation because it accounts for the extra uncertainty that comes from estimating the spread from the sample itself.

From Z-scores to percentiles.

Z-scores and percentiles describe the same position from two different perspectives. A percentile is the area under the standard normal distribution to the left of a z-score. The calculator gives probabilities for the left, right, or both sides.

There are some important values to note: a z-score of 0 is the 50th percentile, 1 is approximately the 84th percentile, 2 is approximately the 98th percentile and -1 is approximately the 16th percentile. A complete lookup table on the calculator lists the most commonly used values.

Rules of thumb

For distributions that are approximately normal, the "68–95–99.7 rule" can quickly give an idea of a range of values. Roughly 68% of values lie within one standard deviation of the mean, about 95% within two standard deviations, and roughly 99.7% within three standard deviations.

P(1<Z<1)0.68P(2<Z<2)0.95P(3<Z<3)0.997P(-1 < Z < 1) \approx 0.68 \qquad P(-2 < Z < 2) \approx 0.95 \qquad P(-3 < Z < 3) \approx 0.997

You can also check any arbitrary range by enabling the option for area between two z-scores. The calculator will load the range of -1 to 1 by default and return the known value of 0.6827.

Interpretation of z-scores

The sign indicates the direction while the magnitude indicates how unusual a value is. The following table lists some commonly used thresholds.

Z-score

Meaning

Typical use

0

Exactly the mean

The center of the distribution

Plus or minus 1

One standard deviation out

Within the typical range

Plus or minus 1.645

About the 5th or 95th percentile

One-tailed 95 percent cutoff

Plus or minus 1.96

About the 2.5th or 97.5th percentile

Two-tailed 95 percent cutoff

Plus or minus 2.58

About the 0.5th or 99.5th percentile

Two-tailed 99 percent cutoff

Beyond plus or minus 3

Less than 0.3 percent of data

Common outlier threshold

Application areas for z-values

In education, standardized tests are reported with z-scores and percentiles so that the results can be compared to all other test takers rather than just being a raw score.

In quality control, the z-score indicates when a measured value deviates from the target value outside of the range of normal fluctuations.

In data analysis, standardizing each column to a z-score allows all features to be on the same scale. Many statistical and machine learning procedures require this before comparing or combining features.

Situations where a z-score can be misleading.

Distorted data.Interpretation of percentiles is complicated by the fact that the data may not be normally distributed. For highly skewed distributions such as incomes or reaction times, the percentile calculated in this manner may misrepresent the "typical" value shown by the data.

The sample size is very small.If the number of observations is small, say less than 30, then the sample standard deviation can only be considered as a rough estimate. The t-distribution takes additional uncertainties into account compared to normal z-values.

The standard deviation is wrong.Confusing sample standard deviations with population standard deviations or using a standard deviation from the wrong reference group will result in a z-score that looks impressive but is actually flawed.

Extreme outliers.A single extreme value can increase the standard deviation and thus decrease the z-scores of all others, possibly masking outliers you are looking for.

Symbols used

The table below lists the symbols used in the above formulas.

Symbol

Meaning

Example

z

The z-score, or standard score

1

x

The raw value being standardized

85

mu

The population mean

75

sigma

The population standard deviation

10

x-bar

The sample mean

10.2

n

The sample size

16

σ ∕ √n

The standard error of the mean

0.1

This calculator is a tool for general educational purposes and analysis. It assumes normal distribution when converting Z-scores to percentiles, so the percentiles should be considered as approximations for small samples or highly skewed data.

Frequently asked questions

How to Calculate a Z-Score.

Subtract the mean from your value and then divide by the standard deviation: z = (x - μ) / σ. For example, if the value is 85, the mean is 75, and the standard deviation is 10, then z = (85 - 75) / 10 = 1, which means that this particular data point falls exactly one standard deviation above the mean.

What does a z-score tell you?

It indicates how many standard deviations an element is away from the mean and in which direction. A z-score of zero means that the value is exactly at the mean. Positive z-scores are above the mean, negative z-scores are below the mean. A z-score of 1 means that the value is one standard deviation above the mean and approximately at the 84th percentile.

How do you convert a z-score to percentile?

The percentile is the area under the standard normal distribution curve to the left of the z-score. This calculator does this automatically: for a z-score of 1, it's approximately the 84th percentile; for negative 1.5, it's approximately the 7th percentile; and for 0, it's exactly the 50th percentile. A table on the page lists common values.

What is the z-score corresponding to the 95th percentile?

About 1.645. This is a one-sided cutoff for the 95%. The 97.5th percentile would be used for a two-sided test with 95% where the z-score is about 1.96; the 99th percentile would be about 2.33.

Can z-scores be negative, and what does zero mean?

Yes. Negative z-scores simply mean that the value is below average; this is not an error and it's not necessarily bad to be below average. A z-score of exactly 0 means that the value is equal to the mean, so it's right in the center of the distribution.

What is the difference between a z-score and a t-score?

Z-values use the population standard deviation while t-values use the sample standard deviation and are corrected for the added uncertainty that comes from estimating the sample standard deviation. If the population standard deviation is unknown and the sample size is less than about 30, then a t-value should be used.

Related calculators

Disclaimer: This calculator is provided for general informational and educational purposes only. Our calculators are under active development, and results may be inaccurate, incomplete, or unsuitable for your situation. Always verify the figures independently and seek advice from a qualified professional before relying on them. We make no warranties and accept no liability for any loss or decision arising from use of this tool.

References

  1. Wikipedia: Standard score

    Definition of the z-score, the standardizing transform, and the sample-mean version.

  2. NIST/SEMATECH e-Handbook: Normal distribution

    The standard normal distribution and cumulative probabilities behind z-to-percentile.

  3. Wikipedia: 68-95-99.7 rule

    The empirical rule for the share of a normal distribution within 1, 2, and 3 standard deviations.