A raw number by itself rarely tells you much. A score of 85 means very different things on an easy test, a hard exam, or a whole year of grades. The z-score fixes this by translating any raw value into a position on the standard normal curve — telling you how far it sits from the average and how unusual it really is. This calculator turns your raw score, the mean, and the standard deviation into a standardized z-score, a percentile rank, and a two-tailed p-value in one step.
Whether you are grading exams, analyzing lab measurements, comparing sales against a benchmark, or doing a quick statistical significance check, the z-score is the bridge between a single number and the distribution it came from.
How to Use
- Enter the Raw Score (x) — the individual value you want to place, such as a test score, a measurement, or a data point.
- Enter the Mean (μ) — the average of the full distribution your value comes from. On a test this is the class average; in business it might be the period mean.
- Enter the Std Deviation (σ) — how spread out the values are around that mean. It must be greater than zero; a standard deviation of zero means every value is identical and the z-score is undefined.
- Read the result card. The Z-Score itself shows signed distance from the mean in units of standard deviation. The Percentile Rank shows the share of the distribution below your value, and the Two-Tailed P-Value shows how surprising that result is under a normal model.
A positive z-score means your value is above the mean; a negative z-score means it is below the mean. The larger the absolute z-score, the more exceptional the value.
The Z-Score Formula
The z-score (also called the standard score or standardized score) is defined as:
z = (x − μ) / σ
Where:
- x is the raw value.
- μ is the population mean.
- σ is the population standard deviation.
Dividing the distance from the mean by the standard deviation rescales any distribution onto the standard normal curve — a mean of 0 and a standard deviation of 1. Once the score is standardized, the cumulative normal distribution Φ(z) gives the percentile:
percentile = Φ(z) = 0.5 × (1 + erf(z / √2))
And the two-tailed p-value, which measures how extreme the result is in either direction:
p = 2 × (1 − Φ(|z|))
On a typical bell curve, a z-score of 1 covers roughly the 84th percentile, z = 1.96 marks the conventional 95% threshold, z = 2 the 97.7th percentile, and z = 3 the 99.9th percentile. Values beyond z = ±2 are already somewhat unusual; beyond ±3 they are rare.
Examples
Example 1 — A strong exam result. A student scores 85 on a test where the class mean is 72 and the standard deviation is 8. The z-score is (85 − 72) / 8 = 1.625, which corresponds to about the 94.79th percentile. Only roughly 5% of the class scored higher. The two-tailed p-value is about 0.104, meaning the result is strong but not conventionally "significant" at the 5% level.
Example 2 — A below-average score. Another student scores 60 on the same test. The z-score is (60 − 72) / 8 = −1.50, landing near the 6.68th percentile. About 93% of the class scored higher, and the two-tailed p-value is roughly 0.134. The sign flips the interpretation, but the absolute magnitude still drives how unusual the result is.
Example 3 — A large-scale benchmark. A factory's monthly output averages 500,000 units with a standard deviation of 250,000 units. One month reaches 1,000,000 units. The z-score is (1,000,000 − 500,000) / 250,000 = 2.0, placing that month at about the 97.72nd percentile with a two-tailed p-value near 0.046 — a statistically strong outperformance under a normal model.
What the Results Mean
- Z-Score — The signed number of standard deviations between your value and the mean. z = 0 is exactly average.
- Percentile Rank — The estimated share of observations at or below your value. A percentile of 90% means your value exceeds about 90% of the distribution.
- Two-Tailed P-Value — The probability of seeing a value at least this far from the mean, in either direction, if the data are truly normal. A p-value below 0.05 is the common cutoff for "unlikely by chance."
Keep in mind that the percentile and p-value assume your data follow a roughly normal distribution. If your data are heavily skewed, bimodal, or heavy-tailed, these numbers are only an approximation.
FAQ
What is a z-score in simple terms?
A z-score tells you how many standard deviations a value sits above or below the mean. z = 0 means the value equals the average; z = +1 means one standard deviation above average; z = −1.5 means one and a half standard deviations below average. It puts values from different scales onto one common ruler.
How do I calculate a z-score by hand?
Subtract the mean from your raw score, then divide by the standard deviation: z = (x − μ) / σ. For example, a score of 85 against a mean of 72 and standard deviation of 8 gives (85 − 72) / 8 = 1.625.
What is a good or bad z-score?
There is no universal good or bad — it depends on context. A high positive z-score is good for exam results or sales, but bad for error rates or blood pressure readings. What matters is the magnitude: |z| beyond 2 is unusual, and |z| beyond 3 is rare.
How do I turn a z-score into a percentile?
Use the cumulative standard normal distribution Φ(z). For z = 1, the percentile is about 84.13%; for z = 2 it is about 97.72%; for z = −1.5 it is about 6.68%. This calculator computes it automatically from your raw score.
What is the difference between a one-tailed and a two-tailed p-value?
A two-tailed p-value measures how extreme a result is in either direction from the mean, so it doubles the tail probability. A one-tailed p-value only tests one direction (e.g., "above the mean"). This calculator reports the two-tailed value, the more conservative and commonly reported figure.
Can a z-score be negative?
Yes. A negative z-score simply means the raw value is below the mean. The sign tells you direction; the absolute value tells you how far. Negative z-scores correspond to percentiles below 50%.
What if my standard deviation is zero or negative?
A standard deviation can never be negative. If it is zero, every observation equals the mean, the denominator is zero, and the z-score is undefined. The calculator rejects a non-positive standard deviation rather than returning a meaningless result.
Disclaimer
This z-score calculator is provided for informational purposes only and does not constitute statistical, medical, financial, or other professional advice. Percentiles and p-values assume an approximately normal distribution and are estimates based on the inputs you enter. Always consult a qualified statistician or relevant professional before making important decisions based on these results.