Menu

Z-Score Calculator

How many standard deviations a value sits from the mean, exact, with the percentile it lands on.

By Nethanel Bar, Co-founder & CEO

Last updated

Want to solve these without the calculator?

The Coddy math course teaches the method itself - you work each step on an interactive board and get told exactly where a move went wrong.

A z-score is a distance measured in standard deviations

Take any value from a distribution, subtract the mean, and divide by the standard deviation. The result is how many standard deviations the value sits from the centre, and in which direction. A z of 2 means two standard deviations above the mean; a z of minus 0.5 means half a standard deviation below. That is the whole formula, and it is worth doing by hand once because every later idea in statistics, from confidence intervals to hypothesis tests, is a z-score in disguise.

The reason z-scores matter is that they put every normal distribution on one ruler. A test score of 85 on a test with mean 70 and standard deviation 6 is z = 2.5; a height of 190 cm in a population with mean 175 and standard deviation 6 is also z = 2.5. Both sit at the same percentile, about the 99.4th, and one table serves them both. This page reads that table for you, drawing the curve with the area below your value shaded, and reports the share above and the share within that distance of the mean as well.

The arithmetic here stays exact. A z of 15 over 6 is 5/2, and the page prints 5/2 with 2.5 beside it, rather than a decimal that would have to be rounded when the numbers are less convenient. The percentile, being an area under a curve, is necessarily a decimal, and it is labelled as one.

What to know about z-scores

  • The sign tells you the side. Negative is below the mean, positive is above; a z of 0 is the mean itself.
  • Almost everything sits within three. About 68% of a normal population is within one standard deviation, 95% within two, 99.7% within three. A z of 4 is genuinely rare.
  • Percentile is the area to the left. A z of 1.28 sits at about the 90th percentile, 1.645 at the 95th, 2.33 at the 99th.
  • The same formula runs backwards. The value at a given z is the mean plus z times the standard deviation, which is how cut-offs are set: the top 5% of a test starts at mean plus 1.645 sigma.
  • A z-score assumes the distribution is roughly normal. The score itself is always computable; the percentile only means something when the bell shape holds.

How to find a z-score by hand

  1. Subtract the mean from your value

    Keep the sign. A value below the mean gives a negative difference, and that sign carries through to the answer.

  2. Divide by the standard deviation

    Use the population standard deviation if you have it, the sample one if that is all there is. Keep the result exact if the division is not clean.

  3. Read the percentile from the normal curve

    The area to the left of z is the share of the population below your value. Tables list it; this page computes it directly.

  4. For the reverse, multiply and add

    Value equals mean plus z times the standard deviation. This is how a percentile cut-off is turned back into a score.

Common z-scores and their percentiles

Area to the left of z on the standard normal curve.

zPercentileShare aboveWhere it is used
−22.3%97.7%Two standard deviations below
−115.9%84.1%One below
050%50%The mean
184.1%15.9%One above
1.2890%10%Top 10% cut-off
1.64595%5%One-tailed 5% test
1.9697.5%2.5%Two-tailed 5% test
2.3399%1%Top 1% cut-off

Worked examples

A test score of 85, mean 70, standard deviation 6

plain
x = 85, μ = 70, σ = 6

85 minus 70 is 15, and 15 over 6 is 5/2, so z = 2.5. The area to the left of 2.5 is 0.9938, so the score sits at about the 99.4th percentile: fewer than one student in a hundred scored higher.

A reading of 48, mean 50, standard deviation 2.5

plain
x = 48, μ = 50, σ = 2.5

48 minus 50 is minus 2, and minus 2 over 2.5 is minus 4/5, so z = −0.8. About 21% of readings are lower. A negative z is not a bad z; it is just below the middle.

Which score is the top 5% cut-off, mean 1000, standard deviation 150?

plain
z = 1.645, μ = 1000, σ = 150

The reverse question. The top 5% begins at z = 1.645, and 1000 plus 1.645 times 150 is about 1247. Switch the page to "find the value at a z-score" to see the substitution.

Z-score mistakes

  • Dividing by the variance instead of the standard deviation. The variance is the square; the answer would be off by a factor of sigma.
  • Dropping the sign. A z of −1.5 and a z of 1.5 are at the 7th and 93rd percentiles, not the same place.
  • Reading the wrong side of the table. Some tables give the area to the left, some the area between the mean and z, some the right tail. Know which one you are holding.
  • Rounding z before looking it up. A z of 1.96 rounded to 2.0 moves the percentile from 97.5 to 97.7; on a cut-off that is real people.
  • Using a z-score on a distribution that is nowhere near normal. The number still computes; the percentile is fiction.

Z-score FAQ

What is the z-score formula?
z equals x minus the mean, all divided by the standard deviation. In symbols, z = (x − μ) / σ. The result is the number of standard deviations the value x sits from the mean, positive above and negative below.
How do I convert a z-score to a percentile?
The percentile is the area under the standard normal curve to the left of z. A z of 0 is the 50th percentile, a z of 1 is about the 84th, a z of 2 about the 97.7th. Type the value above and the page shades that area on the curve and prints it.
What is a good z-score?
That depends entirely on what is being measured. On a test, a high positive z is good. For a blood pressure reading or a delivery time, a z near zero is good and a large one in either direction is a warning. The z-score says how unusual a value is, not whether unusual is welcome.
Can a z-score be negative?
Yes. A negative z-score means the value is below the mean. A z of −1 is one standard deviation below, and about 16% of a normal population sits lower than that.
How do I find the raw value from a z-score?
Rearrange the formula: x = μ + zσ. Multiply the z-score by the standard deviation and add the mean. Switch the page to the reverse mode and it shows the substitution step by step.
What is the difference between a z-score and a t-score?
A z-score uses a known population standard deviation and the normal curve. A t statistic uses a sample standard deviation and the t curve, whose fatter tails allow for the extra uncertainty of estimating sigma from the same data. With large samples they agree; with small ones the t is the honest choice.
Why does this page keep the z-score as a fraction?
Because it is exact, and a rounded z is a rounded percentile. A z of 5/2 is 2.5 either way, but a z of 7/3 is not 2.33, and the page would rather print 7/3 with 2.3333 beside it than pretend the decimal is the answer.

More math tools

Coddy programming languages illustration

Learn math with Coddy

GET STARTED