Z-Score Calculator
Get the z-score of a value, then read what share of a normal population falls below it, above it or beyond it.
https://flxcode.com/z-score-calculator/
Example z-score
z-score
The value is 1.5 standard deviations above the mean.
| Percentile (area below z) | 93.3193% (0.933193) |
|---|---|
| Area above z (right tail) | 0.0668072 |
| Two-tailed p (beyond ±|z|) | 0.133614 |
| Between −|z| and +|z| | 0.866386 |
The steps, with your numbers
z = (x − μ) / σ = (85 − 70) / 10 = 15 / 10 = 1.5
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.
Problem or idea? Email us
Quick start
- From x, mean, SD: type the value, the mean and the standard deviation.
- From my data: paste your list and the value you want to score. The mean and SD are worked out for you.
- z to percentile: you have a z-score and want the probability. Percentile to z: you have a percentile and want the z-score.
The formula
z = (x − μ) / σ
The probability comes from the standard normal curve. The area to the left of z is Φ(z). The right tail is 1 − Φ(z). The two-tailed p-value is 2 × the smaller tail, which is the chance of a value at least this far from the mean in either direction.
Worked examples
| Case | Inputs | z | Percentile | Two-tailed p |
|---|---|---|---|---|
| IQ of 130 | x = 130, μ = 100, σ = 15 | 2 | 97.72% | 0.0455003 |
| Exam score of 85 | x = 85, μ = 70, σ = 10 | 1.5 | 93.32% | 0.133614 |
| Height of 160 cm | x = 160, μ = 170, σ = 7 | -1.42857 | 7.656% | 0.153127 |
| Test score of 62 | x = 62, μ = 75, σ = 8 | -1.625 | 5.208% | 0.104163 |
Short z table
Area to the left of z, computed by the same code as the tool.
| z | Area to the left | Meaning |
|---|---|---|
| 0 | 0.5 | The mean |
| 0.5 | 0.691462 | |
| 1 | 0.841345 | |
| 1.5 | 0.933193 | |
| 1.96 | 0.975002 | Two-tailed 95% cut-off |
| 2 | 0.97725 | |
| 2.58 | 0.99506 | Two-tailed 99% cut-off |
| 3 | 0.99865 | Very rare above this |
The 68-95-99.7 rule
For a normal distribution, 68.27% of values lie within z = ±1, 95.45% within ±2 and 99.73% within ±3. A z-score only means this if the data are close to normal. For skewed data, use a percentile from the data itself.
Numbers this uses
Every constant the tool uses is listed here with its source. Where a number varies, you can edit it in the tool.
- Normal curve is the standard normal, mean 0 and standard deviation 1. The area comes from the regularized incomplete gamma function, accurate to about 15 digits.
- Inverse is Acklam's approximation with one Halley refinement step. Checked: the 97.5th percentile is 1.959964.
- Range is z from −38 to 38. Beyond that the probability is below what a number on a computer can tell from 0 or 1.
Common mistakes
- Using the formula with the sample standard deviation when the true σ is known, or the other way round.
- Reading the percentile for a two-tailed question. A two-tailed p is the tail on both sides, so it is double the one-tail area.
- Applying normal percentiles to data that are clearly skewed.
Nothing you type or paste is uploaded. We count events without cookies (details).
FAQ
What is a z-score?
A z-score says how many standard deviations a value is from the mean. A score of 85 on a test with a mean of 70 and a standard deviation of 10 has z = 1.5. A negative z means below the mean.
How do I calculate a z-score?
Subtract the mean from the value and divide by the standard deviation: z = (x − μ) / σ. The tool shows this with your numbers. If you only have a list, pick From my data and it finds the mean and standard deviation for you.
How do I turn a z-score into a percentile?
Look up the area under the normal curve to the left of z. A z of 2 is the 97.72th percentile, so an IQ of 130 beats about 98% of people. Pick z to percentile and type the z-score.
What z-score do I need for the 90th, 95th or 99th percentile?
The 90th percentile is z = 1.2816, the 95th is 1.6449 and the 99th is 2.3263. The 97.5th, which leaves 2.5% in each tail, is 1.96. Use Percentile to z for any other value.
What is a good or unusual z-score?
Between −2 and 2 is ordinary, since about 95% of a normal population falls there. Beyond ±3 is rare, about 3 in 1,000. Many fields call a value an outlier at |z| > 3, but that depends on the data.
Population or sample standard deviation for z?
Use σ when you know the population value, as with IQ. For a list of data, a z-score against the sample itself usually uses the sample standard deviation s. The tool lets you switch. For score 90 in the example list it gives z = 1.156.
How do I find z in Excel or Google Sheets?
=STANDARDIZE(x, mean, sd) gives the z-score. =NORM.S.DIST(z, TRUE) turns it into a percentile as a fraction, and =NORM.S.INV(p) goes back from a probability to z.
Does my data leave the page?
No. The numbers stay in your browser, are not stored and are not counted. We only count which of the four modes you used.
More from FLXCode
P-Value CalculatorNew
p-value from a z, t, chi-square or F statistic, one or two tailed, with the tails shown.
Standard Deviation CalculatorNew
Paste your numbers and get the sample and population standard deviation, with the steps shown.
Percentile CalculatorNew
Value at a percentile, or the percentile of a value, in your data, with the method stated.
Average CalculatorNew
Average (mean) of pasted numbers, or a weighted average for grades and prices, with the steps.