In statistics, comparing raw numbers from different datasets can be extremely difficult. For example, comparing a score of 85 on a hard math test to a score of 85 on an easy history test is not a fair comparison because the test conditions and averages differ. A Z-score (also called a standard score) resolves this issue, measuring exactly how many standard deviations an individual data point is from the average of its group. This allows you to place different numbers onto a standardized scale for fair comparisons.
The formula for calculating a Z-score is: z = (x - mean) / standard_deviation, where x is your raw value. A positive Z-score means the value is above the average. A negative Z-score means it is below the average. A score of zero means the value is exactly equal to the average.
To find the baseline values for your formula, you can use our measuring dataset variation tool and our finding central averages tool. For a broader look at descriptive statistics, check out our comprehensive statistics calculators tool. To run significance tests, check our significance p-value testing tool.
In a normal bell curve distribution, about 68% of all data points fall between a Z-score of -1.0 and 1.0. About 95% fall between -2.0 and 2.0, and 99.7% fall within three standard deviations.
By converting a Z-score using a standard normal distribution table (Z-table), you can determine the percentile rank of the value. For example, a Z-score of 1.0 places a value in approximately the 84th percentile, meaning it is higher than 84% of the group.
Standard scores are also used to identify outliers in a dataset. In general, any Z-score that falls below -3.0 or rises above 3.0 represents an extremely rare event occurring in less than 0.3% of cases. Analysts and researchers flag these points for manual review, as they often indicate measurement errors, anomalous events, or critical failures.
Suppose a student scores 85 on a test where the class average was 75 and the standard deviation was 5.
To find the Z-score: (85 - 75) / 5 = 10 / 5 = 2.0. This means the student's score was exactly two standard deviations above the class average. According to the bell curve distribution, a Z-score of 2.0 places the student in the 97.7th percentile, showing that they performed better than the vast majority of their classmates. This example illustrates how standard scores provide context.