Z-Score Calculator: Z-Score, Percentile & Area
A z-score says how many standard deviations a value is from the mean, and on which side. Turn it into a percentile with the normal curve, or work back from a percentile to the value.
- Value → z-score
- z-score → percentile
- Percentile → value
- x − μ12
- ÷ σ6
- Area to the left0.9772
- Area to the right0.0228
To find a z-score, subtract the mean from the value and divide by the standard deviation: z = (x − μ) ÷ σ. A positive z is above the mean and a negative z is below it. For x = 17, μ = 5 and σ = 6, z = 12 ÷ 6 = 2, and in a normal distribution about 97.72% of values fall below that (example from OpenStax Introductory Statistics, section 6.1). This z-score calculator also works backward: give it a z-score to get the area to the left and right, or a percentile to get the z-score and the value.
Z-Score Formula and How to Calculate It
z = (x − μ) ÷ σ, where x is the value, μ (mu) is the mean and σ (sigma) is the standard deviation.
- Subtract the mean from the value: 17 − 5 = 12.
- Divide by the standard deviation: 12 ÷ 6 = 2. (Don't know σ? Get it from your data with the standard deviation calculator.)
- Read the sign: z = 2 means the value is 2 standard deviations above the mean; z = −2 would be 2 below it.
To go the other way, x = μ + zσ: a z-score of 3 with μ = 5 and σ = 2 is the value 5 + 3 × 2 = 11. Both formulas are from OpenStax's chapter on the standard normal distribution (OpenStax Introductory Statistics 2e, 6.1).
Z-Score to Percentile
For a normal distribution, the area under the curve to the left of z is the share of values below it, P(X < x), which is the percentile (OpenStax, 6.2). The area to the right is 1 minus that. Common values:
| z-score | Area to the left | Share of values below |
|---|---|---|
| −3 | 0.0013 | 0.13% |
| −2 | 0.0228 | 2.28% |
| −1.645 | 0.05 | 5% |
| −1 | 0.1587 | 15.87% |
| 0 | 0.5 | 50% |
| 1 | 0.8413 | 84.13% |
| 1.28 | 0.8997 | 89.97% |
| 1.645 | 0.95 | 95% |
| 1.96 | 0.975 | 97.5% |
| 2 | 0.9772 | 97.72% |
| 2.576 | 0.995 | 99.5% |
| 3 | 0.9987 | 99.87% |
z = 1.28 is just under the 90th percentile (89.97%); the exact 90th percentile is z ≈ 1.2816.
Percentile to Z-Score
Going from a percentile to a z-score works in reverse: find the z with that much area to its left, then turn it into a value with x = μ + zσ. OpenStax's example uses test scores with a mean of 63 and a standard deviation of 5 (OpenStax, section 6.2). This calculator puts the 90th percentile at z ≈ 1.2816, so x = 63 + 1.2816 × 5 ≈ 69.41; OpenStax gets 69.4.
The Empirical Rule (68–95–99.7)
In a normal distribution, about 68% of values are within 1 standard deviation of the mean, about 95% within 2, and about 99.7% within 3 (OpenStax, 6.1). The exact areas are 68.27%, 95.45% and 99.73%. So in a normal distribution, only about 4.55% of values lie more than 2 standard deviations from the mean, and about 0.27% more than 3.
Frequently Asked Questions
What does a z-score tell you?
How far a value is from the mean, measured in standard deviations, and on which side. A z-score of 0 is exactly at the mean. Because z-scores have no units, they let you compare values from different scales, such as two tests with different means.
Can a z-score be negative?
Yes. A negative z-score means the value is below the mean: z = −1.5 is 1.5 standard deviations below it.
What z-score is the 95th percentile?
On the standard normal curve, about 1.645. And 95% of a normal distribution lies between z = −1.96 and 1.96, which is where the 1.96 used in 95% confidence intervals comes from.
Do I need a normal distribution to use z-scores?
You can calculate a z-score for any value. Turning it into a percentile or area with the normal curve only works when the data are roughly normally distributed.
More tools: the percentile calculator for percentiles of your own data, the probability calculator, the variance calculator, the mean absolute deviation calculator and all the math calculators.
Sources
- OpenStax, Introductory Statistics 2e, 6.1 The Standard Normal Distribution
- OpenStax, Introductory Statistics 2e, 6.2 Using the Normal Distribution
- Formulas, the normal-curve approximation and test cases: how we calculate