Z-Score Calculator
Type a value with the mean and standard deviation to get its z-score…
Type a value with the mean and standard deviation to get its z-score: how many standard deviations it sits from the mean, and what share falls below it.
Need the mean and SD of your data first? The standard deviation calculator works them out from a list.
ExampleZ-score
1.5
82 is 1.5 standard deviations above the mean. 93.32% of values fall below it and 6.68% above.
Type your own numbers, or drag the cut-off.
Drag the cut-off along the axis; the shaded area is the probability.
- Probability below
- 93.32%
- Probability above
- 6.68%
- Percentile rank
- 93rd
How this works: 9 sources,
How this works
Method
A z-score says how far a value sits from the mean, counted in standard deviations: z = (x − μ) ÷ σ. A score of 82 on a test with a mean of 70 and a standard deviation of 8 has z = 12 ÷ 8 = 1.5, one and a half standard deviations above average. A negative z is below the mean, and z = 0 is the mean itself. Full method
Sources
- Wikipedia, Standard score
- Wikipedia, 68–95–99.7 rule
- NIST/SEMATECH e-Handbook of Statistical Methods
- Abramowitz and Stegun, Handbook of Mathematical Functions, chapters 6, 7 and 26 (1964)
- SciPy 1.18 scipy.stats (reference values for the tests)
- statsmodels 0.15 (reference values for the A/B test and regression intervals)
- Welch, The generalization of Student’s problem when several different population variances are involved (Biometrika) (1947)
- Fleiss, Levin and Paik, Statistical Methods for Rates and Proportions, 3rd edition (sample size for two proportions) (2003)
- Hyndman and Fan, Sample quantiles in statistical packages (The American Statistician) (1996)
How it’s tested
2 worked examples for this page are checked by automated tests before every release: given the inputs, the tool must show the expected answer.
Privacy
On your device. Nothing you enter or open leaves this browser. About privacy labels
Changes
- First published: live curves with draggable cut-offs, and tests on pasted data (t-tests, ANOVA, chi-square, Fisher’s exact, correlation, regression, A/B), checked against SciPy.
How to calculate a z-score
A z-score says how far a value sits from the mean, counted in standard deviations: z = (x − μ) ÷ σ. A score of 82 on a test with a mean of 70 and a standard deviation of 8 has z = 12 ÷ 8 = 1.5, one and a half standard deviations above average. A negative z is below the mean, and z = 0 is the mean itself.
Because z has no units, it compares things measured on different scales. A height of 185 cm when men average 176 cm with an SD of 7 cm is z ≈ 1.29; a 100 m time of 11.2 s when the field averages 12.0 s with an SD of 0.4 s is z = −2, and for running lower is better. The sprint result is the more unusual of the two.
If the values follow a normal distribution, z also gives the share below: the area under the standard normal curve to the left of z, written Φ(z). Φ(1.5) ≈ 0.9332, so 82 beats about 93% of scores. Data that are skewed (incomes, waiting times) still have z-scores, but the percentages from the normal curve won’t fit them.
z = (x − μ) ÷ σ · share below = Φ(z)
- A z-score (standard score) is the number of standard deviations a value lies above or below the mean. Source: Wikipedia, Standard score.
- In a normal distribution about 68.27% of values have |z| < 1, 95.45% have |z| < 2 and 99.73% have |z| < 3. Source: Wikipedia, 68–95–99.7 rule.
Z-scores and the share of a normal curve below and above
For each z-score, the share of a normal distribution below it (Φ(z)) and above it, and the percentile it marks.
| z | Below | Above | Percentile rank |
|---|---|---|---|
| −3 | 0.13% | 99.87% | 0.13 |
| −2.5 | 0.62% | 99.38% | 1st |
| −2 | 2.28% | 97.72% | 2nd |
| −1.5 | 6.68% | 93.32% | 7th |
| −1 | 15.87% | 84.13% | 16th |
| −0.5 | 30.85% | 69.15% | 31st |
| 0 | 50% | 50% | 50th |
| 0.5 | 69.15% | 30.85% | 69th |
| 1 | 84.13% | 15.87% | 84th |
| 1.5 | 93.32% | 6.68% | 93rd |
Show all 17 rowsShow fewer
| 1.645 | 95% | 5% | 95th |
| 1.96 | 97.5% | 2.5% | 98th |
| 2 | 97.72% | 2.28% | 98th |
| 2.326 | 99% | 1% | 99th |
| 2.5 | 99.38% | 0.62% | 99th |
| 2.576 | 99.5% | 0.5% | 99.5 |
| 3 | 99.87% | 0.13% | 99.87 |
Common questions
What is a good z-score?
It depends on whether high is good. For test scores, z = 1 beats about 84% and z = 2 about 98%. For something like a blood pressure reading, a z far from 0 in either direction is the unusual one.
Can a z-score be negative?
Yes. A negative z is below the mean: z = −1 means one standard deviation below, which in a normal distribution is about the 16th percentile.
Should I use the sample or population standard deviation?
Use the population standard deviation when you know it (published norms for a test, say). When you only have your own sample, its standard deviation stands in for it; the standard deviation calculator gives both.