Z-Score Calculator
Find a z-score from a value, mean and standard deviation, see its percentile and p-values, or work backward from a percentile to the z-score and value.
How to use the z-score calculator
Choose what you know:
- A value, the mean and SD: get the z-score and its percentile.
- A z-score: get the area to the left and right and the p-values.
- A percentile: get the z-score, and the matching value if you enter a mean and SD.
The z-score formula
z = (x − μ) ÷ σ
A z-score is how many standard deviations a value is above (positive) or below (negative) the mean.
Example: a test score of 85 with a class mean of 75 and a standard deviation of 8: z = (85 − 75) ÷ 8 = 1.25, which is about the 89th percentile for normally distributed scores.
Common z-scores
| z | Percentile (area to the left) | Two-tailed p-value | Middle area |
|---|---|---|---|
| −2.0 | 2.28% | 0.0455 | 95.45% |
| −1.0 | 15.87% | 0.3173 | 68.27% |
| 0 | 50% | 1 | 0% |
| 1.0 | 84.13% | 0.3173 | 68.27% |
| 1.282 | 90% | 0.20 | 80% |
| 1.645 | 95% | 0.10 | 90% |
| 1.96 | 97.5% | 0.05 | 95% |
| 2.326 | 99% | 0.02 | 98% |
| 2.576 | 99.5% | 0.01 | 99% |
| 3.0 | 99.87% | 0.0027 | 99.73% |
The values 1.645, 1.96 and 2.576 are the critical values for 90%, 95% and 99% confidence intervals.
Percentile to value
To find the score at a percentile, look up its z-score and convert back: x = μ + z × σ. For the 90th percentile of scores with mean 75 and SD 8: z = 1.282, so x = 75 + 1.282 × 8 = 85.3.
Z-scores and p-values
In a z-test, the p-value is the probability of a result at least as extreme as yours if the null hypothesis is true. A two-tailed test counts both tails: z = 2.1 gives p = 0.036, significant at the 5% level. A one-tailed test uses just one tail (p = 0.018 here).
When z-scores apply
Percentiles from z-scores assume the data is roughly normal (bell-shaped). For small samples where the population standard deviation is unknown, a t-distribution is more appropriate. Compute the mean and standard deviation of your data first with the standard deviation calculator.
Frequently asked questions
How do I calculate a z-score?
Subtract the mean from the value and divide by the standard deviation: z = (x − μ) ÷ σ.
What percentile is a z-score of 1?
About the 84th percentile (84.13% of values fall below it).
What z-score is the 95th percentile?
About 1.645. The 97.5th percentile, used for 95% two-sided confidence intervals, is 1.96.
Can a z-score be negative?
Yes. A negative z-score means the value is below the mean.