How to use the calculator
Choose what you start from:
- Raw score: enter a value x with the mean μ and standard deviation σ of its distribution.
- Z-score: enter z directly to read the probabilities.
- Percentile: enter a percentile to find the z-score and the raw score at that point.
The results show the z-score and four areas under the normal curve: left of z, right of z, between −|z| and |z|, and outside that band. They also show the percentile rank, and a bar splits the distribution into below and above.
The formulas
z = (x − μ) ÷ σ
The left-tail probability is Φ(z), the standard normal cumulative distribution function. The other areas follow from it:
- Right tail: 1 − Φ(z)
- Between −|z| and |z|: 1 − 2 × (1 − Φ(|z|))
- Outside: 2 × (1 − Φ(|z|))
Φ has no simple closed form. The calculator evaluates it through the regularized incomplete gamma function, which is accurate to about 15 significant digits. It computes tail areas directly instead of subtracting from 1, so even tiny probabilities such as 1 − Φ(8) ≈ 6.2 × 10⁻¹⁶ stay accurate. Percentiles are converted to z with an inverse function that is refined until it matches Φ to full precision.
Worked example
The defaults describe a test with a mean of 70 and a standard deviation of 10, and a student who scored 85.
- Z-score: z = (85 − 70) ÷ 10 = 1.5. The score is one and a half standard deviations above average.
- Left tail: Φ(1.5) = 0.9332, so the student scored higher than about 93.3% of test takers.
- Right tail: 1 − 0.9332 = 0.0668. About 6.7% scored higher.
- Between −1.5 and 1.5: 0.8664. About 86.6% of scores lie within 15 points of the mean.
- Outside: 0.1336.
In percentile mode, the 90th percentile is z = 1.2816. On this test that is a raw score of 70 + 1.2816 × 10 = 82.8.
Why z-scores are useful
Z-scores put different scales on a common footing. A score of 85 on a test with a mean of 70 and SD of 10 (z = 1.5) is more impressive than 90 on a test with a mean of 80 and SD of 8 (z = 1.25), even though 90 is the higher number.
If you only have raw data, find its mean and spread first with the standard deviation calculator.
Limitations
- The probabilities assume the data is normally distributed. For skewed data, the z-score still measures distance from the mean, but the percentages can be well off.
- The mean and standard deviation should describe the population the value comes from. With a small sample, estimates of σ are uncertain.
- The standard deviation must be greater than zero.
Frequently asked questions
What is a good z-score?
It depends on the context. A z-score of 0 is exactly average. Around 68% of normal data falls between −1 and 1, and around 95% between −2 and 2. A z-score above 2 or below −2 is unusual, and beyond ±3 it is rare.
Can a z-score be negative?
Yes. A negative z-score means the value is below the mean. For example, z = −1.5 means 1.5 standard deviations below average, which is about the 6.7th percentile.
How do I turn a z-score into a percentile?
The percentile is the left-tail probability Φ(z) multiplied by 100. The calculator shows it directly as the percentile rank. A z-score of 1.5 corresponds to about the 93rd percentile.
Do I need the mean and standard deviation in z-score mode?
No. They are only used to convert back to a raw score. If you leave them blank, the calculator uses the standard normal distribution, with a mean of 0 and a standard deviation of 1.
Last reviewed: