What is a z-score?
A z-score, or standard score, puts a value on a common scale. It counts how many standard deviations the value lies from the mean. Positive means above average, and negative means below.
This tool also estimates the percentile for roughly normal data. That tells you what share of values fall below yours.
Z-score formula
Here x is the value, μ is the mean and σ is the standard deviation.
How to use the z-score calculator
- Choose whether you want a z-score from a value, or a value from a z-score.
- Type the mean and the standard deviation.
- Type the value x, or the z-score.
- Read the answer, the position relative to the mean and the percentile.
- Compare different tests by comparing their z-scores.
Z-score examples
Example 1: A z-score and percentile
A test has a mean of 70 and a standard deviation of 10. Find the z-score of 85. z = (85 − 70) ÷ 10 = 1.5. On a normal curve, about 93.32 percent of scores are below it, so 85 is near the 93rd percentile.
Example 2: Below average
Find the z-score of 65 on the same test. z = (65 − 70) ÷ 10 = −0.5. The score is half a standard deviation below the mean, and about 30.85 percent of scores are lower.
Example 3: A value from z
Which score has z = 2 on the test? x = 70 + 2 × 10 = 90. About 97.72 percent of scores are below 90.
Example 4: Comparing two tests
Maya scores 78 on a math test with mean 70 and standard deviation 4. She scores 85 on an English test with mean 80 and standard deviation 10. Her math z-score is 2. Her English z-score is 0.5. She did relatively better in math.
Z-scores you will see again and again
| z-score | Share below (percentile) | What it is used for |
|---|---|---|
| 0 | 50% | exactly at the mean |
| ±1 | 15.87% / 84.13% | about 68.27% lies between −1 and 1 |
| 1.28 | about 90% | the 90th percentile |
| 1.645 | about 95% | one-tailed 95% cut-off |
| ±1.96 | 2.5% / 97.5% | two-tailed 95% confidence |
| 2 | 97.72% | only about 2.28% lies above |
These come from the standard normal table. The calculator prints the below and above shares for any z, so you do not need to look them up.
Left tail, right tail and two tails
The share below a z-score is the left tail, and the share above is the right tail. A two-tailed area counts both ends: for z = ±1.96, each tail holds about 2.5 percent, which adds to 5 percent. That is why 1.96 goes with a 95 percent confidence level. The z-scores and normal distribution guide explains the 68-95-99.7 rule.
Z-score or t-score?
Use a z-score when you know the population standard deviation, or the sample is large. With a small sample and an estimated standard deviation, statistics courses switch to the t-distribution, which has fatter tails. This calculator uses the normal distribution only. To get the mean and standard deviation from raw data first, use the standard deviation calculator.
From raw data to a z-score, step by step
If you have the data rather than the mean and standard deviation, work out those two first. Take the eight values 2, 4, 4, 4, 5, 5, 7, 9:
- Mean: the values add to 40, and 40 ÷ 8 = 5.
- Population standard deviation: the squared distances from 5 add to 32, 32 ÷ 8 = 4, and √4 = 2.
- z-score of 9: (9 − 5) ÷ 2 = 2. It is two standard deviations above the mean.
- z-score of 2: (2 − 5) ÷ 2 = −1.5.
The standard deviation calculator does steps 1 and 2 with the same data as its default example, so you can paste its mean and SD straight into this page. If your data is a sample, use the sample standard deviation there, and the z-scores will be slightly smaller.
The probability between two z-scores
This calculator gives the share below and above one value. For the share between two values, run it twice and subtract the smaller "below" figure from the larger one.
Test scores have mean 70 and standard deviation 10. What share scores between 60 and 85?
- 60 gives z = −1, with about 15.87% below.
- 85 gives z = 1.5, with about 93.32% below.
- Between them: 93.32 − 15.87 = 77.45%.
Turning a z-score into a p-value
In a z-test, the p-value is a tail area. Use the "above" figure for a right-tailed test, the "below" figure for a left-tailed test, and double the smaller tail for a two-tailed test.
For z = 2.1, about 1.79% of the curve lies above it. The one-tailed p-value is about 0.018, and the two-tailed p-value is about 0.036, which is below the usual 0.05 cut-off. The z-scores and normal distribution guide explains where these tails come from.
Spotting outliers with z-scores
A common screen flags any value with a z-score beyond ±3, or beyond ±2 for a quick look at small data sets. Two cautions apply. One extreme value inflates the standard deviation, which shrinks every z-score, including its own, so a real outlier can hide in a small sample. And for skewed data, such as incomes or reaction times, many legitimate values sit far out in one tail. Treat a large z-score as a reason to look at the value, not as proof it is wrong.
Z-scores in Excel and Google Sheets
| Task | Formula |
|---|---|
| z-score of a value | =STANDARDIZE(x, mean, sd) |
| share below a z-score | =NORM.S.DIST(z, TRUE) |
| z-score for a percentile | =NORM.S.INV(0.9) gives about 1.28 |
| share below a raw value | =NORM.DIST(x, mean, sd, TRUE) |
These give the same results as this calculator, which is handy for scoring a whole column at once.
Three things to confirm first
- Which standard deviation. Population and sample SDs give different z-scores for the same value. Use the one your course or report expects.
- A z-score is not a percent. z = 1.5 means one and a half standard deviations, while its percentile is about 93.
- The shape of the data. The z-score is always correct arithmetic, but the percentile and p-value assume a roughly normal, bell-shaped distribution.