Z-Score Calculator (with Normal Probability)

  • Free
  • No sign-up
  • Works on phones
  • Shows the working
Geometry & Stats#44

Z-Score & Normal Probability

\(z = \frac{x - \mu}{\sigma}\), with the area to the left and right under the normal curve and the percentile.

This z-score calculator tells you how many standard deviations a value lies from the mean, and what that means as a probability. Enter the value x, the mean ( mu ) and the standard deviation ( sigma ). You get the z-score, the probability of a value below it, ( P(Z < z) ), the probability above it, the probability within ( pm z ) of the mean, and the percentile, all computed accurately from the normal distribution, so you don’t need a z-table.

It’s free and needs no sign-up.

Z-Score Calculator (with Normal Probability): A score of 85 with mean 70 and standard deviation 10 has z = 1.5; the shaded…
A score of 85 with mean 70 and standard deviation 10 has z = 1.5; the shaded area to the left, about 0.9332, is its percentile.

How to use it

  1. Enter the value x you’re interested in.
  2. Enter the mean ( mu ) and standard deviation ( sigma ) of the distribution. For example, for a standard normal variable, use 0 and 1.
  3. Press Calculate.

Formula

$$z = frac{x - mu}{sigma}$$

A blank whiteboard with two markers, ready for writing formulas.

A positive z is above the mean, while a negative z is below it. The probabilities are areas under the standard normal curve:

$$P(Z < z) = Phi(z) = int_{-infty}^{z}frac{1}{sqrt{2pi}}e^{-t^2/2},dt$$

Worked example: a test score z score calculator

Scores have mean 70 and SD 10. A student scores 85 (as loaded above):

$$z = frac{85 - 70}{10} = 1.5$$

( P(Z < 1.5) approx 0.9332 ), so the student scored better than about 93.3% of test-takers: the 93rd percentile.

Worked example: below the mean

A machine fills bottles with mean 70 ml and SD 5 ml. What fraction contain less than 62 ml? ( z = frac{62 – 70}{5} = -1.6 ), and ( P(Z < -1.6) approx 0.0548 ): about 5.5% of bottles.

Worked example: comparing scores

SAT score 1300 (mean 1050, SD 200) gives ( z = 1.25 ). An ACT score of 28 (mean 21, SD 5) gives ( z = 1.4 ). The ACT result is relatively stronger, even though the raw numbers aren’t comparable.

Key values

z( P(Z < z) )Meaning
−20.02282.3% below
−10.158715.9% below
00.5000the mean
10.841384th percentile
1.6450.950095th percentile
1.960.9750middle 95% lies within ±1.96
2.5760.9950middle 99% lies within ±2.576

For the full table, see z-score and the z table.

Common mistakes

  • Using the variance instead of the SD. ( sigma ) is the square root of the variance.
  • Reading the wrong tail. ( P(Z > z) = 1 – P(Z < z) ).
  • Non-normal data. The probabilities assume a bell-shaped (normal) distribution. However, the z-score itself is still a valid measure of distance from the mean.

The calculus behind it

The normal curve ( frac{1}{sqrt{2pi}}e^{-z^2/2} ) lacks an elementary antiderivative. As a result, areas are computed numerically. Its total area is 1. A famous double integral proves this fact. See the integral of e^(x²) and improper integrals for more. A z score calculator uses such numerical methods.

A young man studying with a calculator and pen, doing calculations.

From z-score to percentile

For a normal distribution, the area to the left of a z-score is its percentile:

zArea to the left (percentile)
−30.13%
−22.28%
−115.87%
050.00%
184.13%
1.593.32%
1.9697.50%
297.72%
399.87%

Finding a value from a percentile

Turn the formula around: \( x = \mu + z\sigma \). To find the score needed for the top 10% when the mean is 70 and the standard deviation is 10, use a z score calculator to look up the z-score with 90% to its left, about 1.2816, so \( x = 70 + 1.2816 \times 10 \approx 82.8 \).

Probability between two values

To find the share of scores between 60 and 85 (mean 70, standard deviation 10):

  • \( z_1 = (60 - 70)/10 = -1 \), area to the left 0.1587
  • \( z_2 = (85 - 70)/10 = 1.5 \), area to the left 0.9332
  • Between them: \( 0.9332 - 0.1587 = 0.7745 \), about 77.5%

z-scores for a sample mean

The mean of a sample varies less than single values. Its standard deviation is the standard error \( \sigma/\sqrt{n} \):

$$z = \frac{\bar{x} - \mu}{\sigma/\sqrt{n}}$$

If IQ scores have \( \mu = 100 \) and \( \sigma = 15 \), a class of 36 with mean 104 has \( z = 4 / (15/6) = 1.6 \). However, a single person scoring 104 has only \( z \approx 0.27 \).

When z-scores are and are not meaningful

  • They work for any data as a measure of “how many standard deviations from the mean”.
  • However, converting them into percentiles with the table above assumes the data are roughly normal. For skewed data (incomes, waiting times), percentiles from the table can be badly wrong.
  • As a result, outliers inflate the standard deviation and shrink every other z-score. See the standard deviation calculator.

Step-by-step method

  1. Find the mean \( \mu \) and standard deviation \( \sigma \) of the data (or use the published values).
  2. Subtract the mean from your value.
  3. Divide by the standard deviation.
  4. Read the sign: positive is above the mean, negative below.
  5. If the data are roughly normal, use the table to turn the z-score into a percentile.

z-scores and t-scores

When population standard deviation is unknown, and the sample is small (under 30), statistics courses use the t-distribution. The calculation looks the same, \( t = (\bar{x} - \mu)/(s/\sqrt{n}) \), but the t-distribution has heavier tails. A t-score needs to be larger than a z-score to be equally unusual, unlike a z score calculator.

Worked example: comparing two different tests

Ana scores 78 on a test with mean 70 and standard deviation 5, and 82 on another with mean 75 and standard deviation 10. Her z-scores are \( (78 - 70)/5 = 1.6 \) and \( (82 - 75)/10 = 0.7 \). Although 82 is the higher mark, the 78 is the stronger result relative to the class.

What counts as unusual?

A common rule of thumb treats values with \( |z| > 2 \) as unusual (about 5% of normal data) and \( |z| > 3 \) as very unusual (about 0.3%). Many quality-control charts flag any measurement more than 3 standard deviations from the mean for investigation.

Reading a negative z-score

A negative z-score is not bad; it just means the value is below the mean. For example, for race times or golf scores, lower is better. A z-score of −1.5 is an excellent result. However, for exam marks, this would be below average. You can use a z score calculator for these comparisons.

Practice problems

Heights have mean 170 cm and standard deviation 8 cm.

  1. What is the z-score of 182 cm?
  2. Next, what percentage of people are shorter than 154 cm?
  3. What height marks the 97.5th percentile?

Answers: 1. \( (182 - 170)/8 = 1.5 \). 2. \( z = -2 \), about 2.28%. 3. \( 170 + 1.96 \times 8 \approx 185.7 \) cm.

Related guides

Further reading

FAQ

What is a z-score?

The number of standard deviations a value is from the mean: ( z = frac{x – mu}{sigma} ).

What does a negative z-score mean?

The value is below the mean. For example, ( z = -1 ) is one standard deviation below.

How do I convert a z-score to a percentile?

First, find ( P(Z < z) ) and multiply by 100. A z-score of 1 is about the 84th percentile.

What is a good z-score?

It depends on context. Above 2 or below −2 is usually considered unusual, since only about 5% of normal data is that far from the mean.

Embed this calculator on your website

Teachers, tutors and bloggers are welcome to use this calculator for free. Copy the code below and paste it into any page (in WordPress, use a "Custom HTML" block). The small script makes the calculator grow to fit its answer; if your site removes scripts, it still works at a fixed height. Please keep the credit link.

More calculators

See all calculators