Z Score Calculator

By Easy Stat CalcLast updated November 30, 2026

This free calculator computes a z-score from a raw value, the mean and the standard deviation: it converts a value into the number of standard deviations it sits above or below the mean, so values from different samples can be compared. Choose a raw score, a pasted data sample or a sample mean, and the z-score calculator shows the z-score, the percentile, z-scores and probabilities in plain words, the working with your numbers filled in and a shaded graph of the normal distribution. It works both ways, because you can also turn a z-score back into a raw value. Nothing is saved and no z-table is needed.

Loading calculator…

What is a z-score?

What is a z score in statistics? A z-score, also called a standard score, z-value or normal score, is a signed count of standard deviations: how far a value is from the mean, measured in standard deviations. That is the z-score definition in one line, and a z-score represents a position, not an amount. A z-score is a measure of position in standard deviations, so the same z-score analysis works for heights, exam marks or any other variable, and a z-score explained simply is how far a value is from average. It standardizes a raw score so numbers from different scales can sit on the same line. A z-score of 0 means the value is exactly at the mean, +1.5 means 1.5 SDs above the mean, and −2 means 2 SDs below. Positive z-scores are above average (positive values of z) and negative z-scores are below average (the negative values in a z-table), and the comparison works because the units cancel when you divide by the standard deviation. The result is a dimensionless value with no units. In other words, z = 0 is the center of the curve, the mean. A z-score is also called a standardized variable, because it puts any value on the same scale of standard deviations.

When the data are roughly normal, the z-score also places the value on the standard normal curve, the bell curve with mean 0 and SD 1. The area under the normal curve below z, written Φ(z), is the cumulative standard normal distribution at that point, and it is the percentile. The calculator gives it as one line under the result, with the shaded curve beside it, so it works as a z score probability calculator for the left tail, and the percentile is also called the percentile rank. A z-table, also called a standard normal table or unit normal table, lists the same left-tail areas. There are several types of z-table, and some books list the area between 0 and z instead, so check which type yours is. The row headings give z to the tenths digit and the column headings give the hundredths digit, so z = 1.12 sits in row 1.1, column 0.02. In the area-between-0-and-z type that cell is 0.36864, a 36.864% chance of landing between the mean and z. For printable tables, use the z-score table page.

Z-score formula

Three formulas cover everything the calculator does. Each one uses the same idea: subtract the mean, then divide by the spread.

Z-score of a raw score

z = (x − μ) ÷ σ, also written z = (x − μ) / σ

Here x is the raw observed value, μ is the population mean and σ is the population standard deviation. When you only have a sample, put the sample mean and the sample standard deviation in their places. This formula is the z score equation for a single data point, and it also goes by the names formula for z score and z-score calculation formula.

Z-score of a sample mean

z = (x̄ − μ) / (σ / √n)

Here x̄ is the sample mean, n is the sample size and σ / √n is the standard error of the mean. Use it with a known σ, the population standard deviation, when you want to compare a sample mean with the population mean instead of one value.

Raw score from a z-score

x = μ + zσ

This reverses the first formula. The z-score is converted back to a raw value on the original scale, which is why the calculator works both ways.

Percentiles and probability

The link between a z-score and a probability is P(X < x) = Φ(z). The probability that a value falls between two points is P(a < X < b) = Φ(z_b) − Φ(z_a), and the area to the right of z is 1 − Φ(z). The calculator gives the left-tail area as a percentile. In notation, the left tail is P(x < Z), the right tail is P(x > Z), the area from the mean is P(0 to Z or Z to 0), the middle region is P(−Z < x < Z) and the two outer tails are P(x < −Z or x > Z). The probability between two z-scores, with Z1 as the left bound and Z2 as the right bound, is built from the same left-tail areas, and so are the two-tailed total and the right-tail probabilities. For each of them, open the lookup box on the z table page, which lists the left-tail probabilities and the areas in the middle regions.

Z-score formula z = (x - mu) / sigma worked with x 85, mean 70 and SD 10, giving z = 1.5, the 93.32nd percentile
Worked example: x = 85, mean 70 and SD 10 give z = 1.5, which is the 93.32nd percentile.

How to calculate a z-score step by step

Calculating a z-score by hand takes two operations, a subtraction and a division. Whether you compute a z score, solve for a z score, figure out the z score, determine a z score or are finding a z score from a table, the method is the same. How is a z-score calculated, and how do you get a z score or do a z score by hand? Subtract, then divide. To define a z score for any value, and for figuring z scores in bulk, use that same two-step method. To find a z-score with the mean and standard deviation, follow the steps below. Take an exam where the class average is 70 and the spread is 10 points, so mean 70 and SD 10, and you got mark 85. This example problem shows how to calculate a z-score from a raw score:

  1. Write down the raw score, the mean and the standard deviation: x = 85, μ = 70, σ = 10.
  2. Subtract the mean from the raw score: 85 − 70 = 15.
  3. Divide the difference by the standard deviation: 15 ÷ 10 = 1.5, so z = 1.5.
  4. Read the result: z = 1.5, so the score is 1.5 standard deviations above the mean.
  5. For the percentile, find the area to the left of z = 1.5: Φ(1.5) = 0.93319, so about 93.32% of scores are lower, which is the 93.32nd percentile.

A second example uses a mean of 80 (μ = 80) and σ = 5, with x = 90. Then z = (90 − 80) / 5 = 2.00, and P(Z ≤ 2.00) ≈ 0.9772, so a mark of 90 is at the 97.72nd percentile. The chance above z = 2 is the right tail, 0.0228. Z-scores also let you compare results from different tests and different samples. Suppose you scored 88 on a math test with a mean of 75 and an SD of 10, and 74 on a biology test with a mean of 62 and an SD of 6. The math z-score is (88 − 75) ÷ 10 = 1.3 and the biology z-score is (74 − 62) ÷ 6 = 2.0. The lower biology mark is the stronger result, because it sits 2 SDs above its class mean and the math mark sits only 1.3 SDs above its own. In a textbook question that says find the indicated z-score shown in the graph, the shaded area is given and you read the indicated z score from a table; in the curve below, the shaded left area is 0.9332, so the indicated z-score is 1.5. That is how to calculate z score by hand, and the same two steps show how to calculate z scores for a whole list.

Standard normal curve with the area to the left of z = 1.5 shaded, 0.9332, and the right tail 0.0668
The area to the left of z = 1.5 is 0.9332; the right tail beyond it is 0.0668.

How to use the z-score calculator

Pick one of the four input modes at the top of the calculator, select it, enter your numbers and press Calculate. The calculator derives the result and shows every step for the selected mode.

  1. Raw score (raw score to z). Enter one data point or a range of values x, the mean μ and the standard deviation σ (SD greater than 0). You get the z-score, a plain sentence, the percentile line, the working and a shaded curve. With several values, the first one is drawn and a table gives the z-score for each value.
  2. Data list. This mode works as a z score generator for a whole data set. Paste a data sample and choose the sample standard deviation (n − 1) or the population standard deviation (n). The calculator shows n, the mean and the SD it used, and a table with each value, its deviation from the mean and its z-score. Copy table and Download CSV include every row.
  3. Sample mean. Enter the sample mean and size: the sample mean x̄, the population mean, the population SD and the sample size n. The standard error appears as one working step, and the z-score compares a sample from the same population with that population.
  4. Z to raw score. Enter one or more z-scores with the mean and SD to get x = μ + zσ.

The accepted data formats are flexible. Values can be comma separated, separated by spaces or tabs, or placed on new lines, so numbers pasted from a spreadsheet column work as they are, and mixed delimiters are processed as one list. A line break and a comma mean the same thing here, so 42, 54, 65 and the same three numbers on separate line breaks are combined into the same input. An example input is 42, 54, 65, 47, 59, 40, 53, which gives the same result as one number per line. Text or symbols in the list are ignored and shown to you, so you can see what was left out, and a list can hold up to 10,000 values. The Load this example buttons fill each mode with sample numbers, Copy result copies the answer, and Reset clears the box. Under every result, check-it-yourself lines show the same calculation in Excel, R and Python. The data list table works like a z score sheet, and the page also acts as a z score finder and solver for z score calculations.

Z-scores for a list of numbers

The data list mode is useful when you have a whole data set and want the z-score of each value, not one value at a time. Take these eight values: 12, 15, 17, 21, 22, 26, 29 and 38. Their mean is 22.5, the sample standard deviation is 8.4007 and the population standard deviation is 7.8581. Each z-score is the deviation from the mean divided by the SD.

Z-scores for the data list 12, 15, 17, 21, 22, 26, 29 and 38 using the sample and population SD
ValueDeviation (x − mean)z (sample SD)z (population SD)
12−10.5−1.2499−1.3362
15−7.5−0.8928−0.9544
17−5.5−0.6547−0.6999
21−1.5−0.1786−0.1909
22−0.5−0.0595−0.0636
263.50.41660.4454
296.50.77370.8272
3815.51.84511.9725

The z-scores of a full list always average 0, and with the sample SD they have a standard deviation of exactly 1. The population SD is smaller, so its z-scores are slightly larger. Pick the one that matches your data: the population SD when the list is every value you care about, the sample SD when it is a sample from something bigger. Turning every value in a data set into a z-score like this is called standardization or z-score normalization (to normalize z score values means the same thing), and the normalized z-scores have a mean of 0 and an SD of 1. Data scientists use it to put features on the same scale. To get the mean and SD on their own, use the standard deviation calculator or the mean calculator.

Z-score of a sample mean

A sample mean varies less than a single value, so its z-score divides by the standard error σ / √n instead of σ. Suppose a population has mean 100 and SD 15, and a sample of 36 people has a mean of 105. The standard error is 15 ÷ √36 = 2.5, and the z-score is (105 − 100) ÷ 2.5 = 2.0, which is the 97.72nd percentile. It says the sample mean is 2 standard errors above the population mean, not that one person is 2 SDs above it.

This is the z statistic in a one-sample z-test. It needs the population standard deviation. If you only know the sample SD, the t distribution is the right tool; see the t table and the t critical value calculator. The standard error calculator shows the standard error step on its own.

From a z-score to a raw score and a percentile

To go from z back to the original scale, use x = μ + zσ. A test has a mean of 500 and a standard deviation of 100, and a student has z = −1.2. Then x = 500 + (−1.2) × 100 = 380, so x = 380 with mean 500 and SD 100, and the percentile line shows 11.51%, which is the 11.51st percentile. The same idea turns a percentile into a mark. Suppose the class average is 70 with a spread of 10 points. The 95th percentile is z = 1.6449, so the mark is 70 + 1.6449 × 10 = 86.45, a mark of 86.45. The step from z to percentile is the left-tail area, which for z = 1.28 is 0.8997, or 89.97%, the percentile at z = 1.28.

The percentile is the left-tail probability times 100. Multiply by 100 and you have the z score to percentage conversion, so z = 1.5 is 93.32%. For a percentile to z-score calculator, use the “z from an area” box on the z table page, which converts the other way. A few results people look up often: the 90th percentile z-score is 1.2816, the 95th percentile z-score is 1.6449, the 97.5th is 1.9600 and the 99th is 2.3263. For confidence intervals, a 90% interval uses 1.645, a 95% interval uses 1.96 (z = 1.96) and a 99% interval uses 2.576, so those are the z-scores for a 90, 95 and 99 confidence interval. A 98% interval uses 2.326, so the z-score for a 98 confidence interval is 2.326, and the 90 CI z score is 1.645. They connect to the usual cut-offs. The one-sided 5% cut-off is 1.645, the two-sided 95% limit is ±1.96 (97.5% below it) and the two-sided 99% limit is ±2.576 (99.5% below it). With z = ±1.96 each tail holds 0.0250 and the two-tailed total is 0.0500, the 5% boundary used for significance levels and 95% confidence intervals. The critical z value calculator page covers those cut-offs for any level. For the share of the population between two raw values, convert both to z-scores and subtract the left-tail areas, as in the formula above. Marks between 60 and 80 (the range 60–80), with the same average of 70 and spread of 10, run from z = −1 to z = 1, so the area between two values is Φ(1) − Φ(−1) = 0.6827. The two-tailed area for ±1, ±2 and ±3 SD is on the empirical rule page. For a z score table with negatives, a neg z score table, an appendix table for z scores or a z score table PDF, open the z table page, which has the negative and positive halves. To turn a z score to percentile, read the area to the left of z in the z score tables. A z score to p value works the same way once you choose one tail or two, so the p value from z score is one table lookup. The z score percentile is that area written as a percent, and to find z score from percentile you run the same lookup in reverse.

Z-score interpretation

How to interpret a z-score: read the sign first, then the size. A negative z-score is below the mean and a positive one is above it. What conditions would produce a negative z score? Only one: x smaller than the mean. In z score statistics, that sign is the whole story of direction, and the farther from 0, the more unusual the value. The table gives the share of values below each z in a normal distribution.

Z-score interpretation guide with the share of values below each z-score
z-scoreMeaningShare of values below
−2Unusually low2.28%
−1Below average15.87%
0Exactly average50.00%
1Above average84.13%
2Unusually high97.72%
3Very high99.87%

What counts as a good z-score depends on the context. A high z-score is good for an exam score and a low one is good for a delivery time or a defect rate, so decide first which direction you want. As a rule of thumb, a z-score between −1 and 1 is ordinary, beyond ±2 is unusual and beyond ±3 is rare. A z-score of 0 is the mean, and the 50th percentile, which is 50% of the values. Key facts: the area below z = 0 is 0.50, the middle area from −1 to 1 is about 68%, and the outer tails beyond ±2 hold about 5%. A z score graph tells the same story: the bell curve with your value marked, and a positive z score table gives the area to its left for values above the mean.

Z-score in Excel, R and Python

To calculate a z-score in Excel, use STANDARDIZE; to find a z-score in Excel for a whole column, copy the formula down. You can reproduce the calculator’s numbers in a spreadsheet or in code. The examples use the test score from the step-by-step section, a score of 85, a class average of 70 and a spread of 10, so every row returns the same answer.

Z-score formulas in Excel, R and Python
TaskExcelRPython
z-score of one value=STANDARDIZE(85,70,10)(85 – 70) / 10(85 – 70) / 10
Percentile of z = 1.5=NORM.S.DIST(1.5,TRUE)pnorm(1.5)norm.cdf(1.5)
z for the 95th percentile=NORM.S.INV(0.95)qnorm(0.95)norm.ppf(0.95)
z-score of every value in a list=STANDARDIZE(A2,AVERAGE($A$2:$A$9),STDEV.S($A$2:$A$9))scale(x)zscore(x, ddof=1)

In Python, norm comes from scipy.stats and zscore comes from scipy.stats too. For a population SD, use STDEV.P in Excel and ddof=0 in Python. R’s scale() uses the sample SD.

Find a z-score on a calculator

On a scientific calculator, key in (x − mean) ÷ SD. To find a z-score on a TI-84, press STAT, choose CALC and 1-Var Stats to get the mean x̄ and the sample SD Sx from a list, then do the same subtraction and division. For the percentile of z, use normalcdf(-1E99, z, 0, 1) from 2nd DISTR (2:normalcdf).

Z-score vs t-score, standard deviation and test statistic

Z score versus t score comes down to one thing. A z-score and a t statistic are built the same way, but a t statistic uses the sample standard deviation and changes with the degrees of freedom, so it has fatter tails for small samples. A z-score also is not the standard deviation: the SD is the unit, and the z-score counts how many of those units a value is from the mean. Is the test statistic the same as the z-score? In a z-test it is, because the test statistic is the z-score of the sample mean. Z-value and z-score mean the same thing here. To find a z value or calculate a z value from data, use the z-score formula above, because the z value formula is the same one. The z critical value is the cut-off you compare it with, and the z value table is the z table, which has a negative z score table and a positive half. To turn the z statistic of a test into a p-value, use the p value calculator. For a 95 confidence interval z score, the value to use is 1.96.

A few other names look similar but are different. The Altman Z-score is a finance formula that rates bankruptcy risk from company accounts, and it has nothing to do with standardizing a value. A modified z-score, also called a robust z-score, replaces the mean and SD with the median and the median absolute deviation, which makes it less sensitive to outliers; the median absolute deviation calculator shows that spread measure. A T-score in bone density or in psychology tests is a different standardized score, with its own mean and SD.

Z-scores in medicine and other fields

People also search for a z-score calculator for pediatric growth, height and weight, bone density, echo (echocardiogram) measurements, Kawasaki disease, spirometry or IGF-1. Those clinical z-scores compare a measurement with age-matched and sex-matched reference values, and the reference mean and SD, or the reference equations, come from specific clinical charts. This calculator does the same arithmetic, z = (x − mean) ÷ SD, if you already know the reference mean and SD, but it does not hold any medical charts. For a diagnosis, use the calculator published by your hospital or guideline, and ask a clinician.

Elsewhere, z-scores are used for significance testing, prediction intervals, quality control and process control, converting test scores to a common scale, hypothesis tests and z-tests. They are useful wherever you are comparing scores or comparing values from different scales, or looking for the share of values between cut-offs.

Common mistakes and limits

  • Assuming normal data. Normal-based probabilities only hold for roughly normal data, and a z-score from non-normal data can be misleading. For skewed data, use the actual data percentiles instead.
  • Using a small sample. With small samples the sample SD is only an estimate, so t-based methods are safer.
  • Mixing up sample and population SDs. The sample SD (n − 1) and the population SD (n) give different z-scores, as the table above shows.
  • Rounding z too early. Keep several decimals until the end, then round the percentile.
  • Reading the wrong tail. Left-tail probabilities give the percentile, and right-tail probabilities are their complements. The percent above a score is 100 minus the percentile, so convert z to a percentile first.
  • Forgetting that an SD greater than 0 is required. If every value is equal, the SD is 0 and the z-score is invalid.
  • Treating a negative z-score as an error. It only tells you the value sits under the mean.
  • Removing values too fast. A value with |z| > 3 deserves a look, but check the data for a typing error before removing values or outliers. One extreme value also pulls the mean and the SD, which changes every other z-score.

Z score calculator FAQs

How do you calculate a z-score?

Subtract the mean from the value, then divide by the standard deviation: z = (x − μ) ÷ σ. With x = 85, mean 70 and SD 10, z = (85 − 70) ÷ 10 = 1.5.

How do I find a z-score on a calculator?

Use the calculator above, or key in (x − mean) ÷ SD on any scientific calculator. On a TI-84, 1-Var Stats gives the mean and sample SD of a list, and normalcdf(-1E99, z, 0, 1) gives the percentile.

What does a z-score tell you?

It tells you the number of standard deviations separating a value from the mean, and in which direction. That makes values from different tests or scales comparable.

Can a z-score be negative?

Yes. A negative z-score puts the value under the mean, so it is below average. A negative z of −1 sits at about the 16th percentile, and z = −2 is two SDs below the mean, near the 2nd percentile.

What is a good z-score?

It depends on the context. For an exam, a z-score above 0 is above average, above 1 puts you above 84% of values, and above 2 is above about 97.7%. For something where less is better, such as a wait time, a negative z-score is the good one.

What does a z-score of 0 mean?

The value is exactly at the mean. In a normal distribution that is the 50th percentile, a left-tail probability of 0.50, with half of the values below it.

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

Find the left-tail area at z, which is Φ(z), and multiply by 100. For z = 1.28 the left-tail probability is 0.8997, so the 89.97th percentile, and for z = 1.5 it is 0.9332, the 93.32nd percentile. The calculator shows this percentile line for every z-score, which covers the z to percentile conversion in one step.

How do I find a z-score from a percentile?

Use the inverse of the cumulative distribution: qnorm(0.95) in R or NORM.S.INV(0.95) in Excel gives 1.6449 for the 95th percentile. The z table page has a “z from an area” box that does the same.

What z-score corresponds to a 95% confidence level?

For a two-tailed interval at the 95% confidence level the z-score is ±1.96. For a one-tailed cut-off it is 1.645.

How do I find a p-value from a z-score?

For a two-tailed test, p = 2 × (1 − Φ(|z|)). With z = 2.1, Φ(2.1) is 0.9821, so p = 2 × 0.0179 = 0.0357. For a one-tailed test, use only one tail.

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

A z-score uses the population standard deviation, or a large sample, and the normal curve. A t-score uses the sample standard deviation and the t distribution, which depends on the degrees of freedom.

Is a z-score the same as a standard deviation?

No. The standard deviation is the unit of spread in your data. The z-score is a count of those units from the mean.

What is the difference between left-tail and right-tail probability?

The left tail is the area at or below z and the right tail is the area at or above z, so the left-tail probability and the right-tail probability sum to 1.

What is the empirical rule?

In a normal distribution about 68.27% of values land inside ±1 SD of the mean, 95.45% within ±2 SD and 99.73% within ±3 SD. It is also known as the 68-95-99.7 rule.

What is a two-tailed z-score calculation used for?

It is used when a difference in either direction counts, for example in hypothesis tests and confidence intervals. You add the two tails, so extreme values on both sides are included. With z = ±1.96 the two-tailed total is 0.0500.

How accurate is this z-score calculator?

The z-scores and percentiles match R, Python (SciPy) and Excel formulas to the digits shown. It works in double precision and uses the exact z instead of rounding z to two decimals like a printed table, so it can be more accurate than a z-table. The display rounds z to four decimals and the percentile to two.

Easy Stat Calc · Results checked against Python, R and Excel formulas · Last updated November 30, 2026 · Methodology