How it works
A z-score tells you how many standard deviations a value sits away from the mean. It's the foundation of statistical comparison—it lets you measure whether a score is typical, unusually high, or unusually low, regardless of the original scale of measurement.
When you input a value, its mean, and standard deviation, the calculator transforms that raw number into a standardized score. This standardized score can then be mapped to a percentile, showing what percentage of the population falls below that point on a normal distribution.
Z-scores are essential in fields like quality control, academic grading, medical testing, and finance. They answer the question: "How unusual is this observation?"
The formula
z = (x − μ) / σ
Where:
- x = your data point (the value you're standardizing)
- μ = mean (average of the dataset)
- σ = standard deviation (spread of the data)
Worked example
Imagine you scored 78 on an exam. The class mean was 72, and the standard deviation was 6.
Step 1: Identify your inputs.
- Value (x) = 78
- Mean (μ) = 72
- Standard deviation (σ) = 6
Step 2: Subtract the mean from your value.
- 78 − 72 = 6
Step 3: Divide by the standard deviation.
- 6 ÷ 6 = 1.0
Your z-score is 1.0.
This means your score is exactly one standard deviation above the mean. Using a standard normal distribution table, a z-score of 1.0 corresponds to approximately the 84th percentile—meaning about 84% of students scored at or below your mark.
Another example: A patient's cholesterol reading is 200 mg/dL. The population mean is 210, with a standard deviation of 20.
- z = (200 − 210) / 20
- z = −10 / 20
- z = −0.5
A z-score of −0.5 means this reading is half a standard deviation below the mean, placing it around the 31st percentile. The negative sign simply indicates the value is below average.
Common mistakes
Confusing the sign: A negative z-score doesn't mean something is "bad"—it just means below average. Whether that's good or bad depends on context. (A negative z-score for test anxiety might be desirable; a negative z-score for income might not be.)
Using the wrong standard deviation: Make sure you're using the standard deviation of the entire population or sample you're comparing to, not just a subset. If you're comparing one student's score to a class, use the class standard deviation—not the school's or national average.
Forgetting the order of operations: Always subtract the mean before dividing by the standard deviation. Doing it in reverse will give you a completely different result.
Assuming z-scores only apply to normal distributions: While z-scores are most useful with normally distributed data, you can calculate them for any dataset. However, the percentile interpretation only holds reliably if the data is approximately normal.
Z-scores are most powerful when comparing values from different datasets or scales. For instance, comparing a SAT score (mean ≈ 1050, SD ≈ 210) directly to an ACT score (mean ≈ 21, SD ≈ 5) is meaningless—but converting both to z-scores lets you see which performance was truly more exceptional relative to its test-taking population.