Z-Score
What it is
A Z‑score (standard score) measures how far a single data point lies from the mean of a dataset, expressed in standard deviations. It shows whether a value is typical or unusual within a distribution:
– Z = 0 → the value equals the mean.
– Z > 0 → the value is above the mean.
– Z < 0 → the value is below the mean.
Note: The Altman Z‑score is a different metric used to assess corporate bankruptcy risk and should not be confused with the statistical Z‑score.
Explore More Resources
Formula
z = (x − μ) / σ
Where:
– x = the value being evaluated
– μ = mean of the dataset
– σ = standard deviation of the dataset
Explore More Resources
How to calculate (step‑by‑step)
- Compute the mean (μ) of the dataset.
- Compute the standard deviation (σ) of the dataset.
- Substitute x, μ, and σ into the formula.
Example:
– x = 57, μ = 52, σ = 4
– z = (57 − 52) / 4 = 1.25
This means the value is 1.25 standard deviations above the mean.
Spreadsheets:
– Calculate mean: =AVERAGE(range)
– Calculate standard deviation: =STDEV(range)
– Calculate Z for a cell A2 (with mean in B2 and SD in C2): =(A2 − B2) / C2
Explore More Resources
Interpretation
For normally distributed data, the empirical rule applies approximately:
– About 68% of values lie within ±1 SD (z between −1 and 1)
– About 95% within ±2 SD (z between −2 and 2)
– About 99.7% within ±3 SD (z between −3 and 3)
A large absolute Z‑score indicates the value is far from the mean; whether that is “good” or “bad” depends on context and the decision criteria being used.
Explore More Resources
Z‑Score vs. Standard Deviation
- Standard deviation quantifies overall dispersion of a dataset.
- Z‑score places an individual data point in relation to that dispersion by expressing its distance from the mean in units of standard deviations.
You must calculate the standard deviation before computing a Z‑score because the Z‑score uses it to contextualize the distance from the mean.
Common uses
- Statistics and hypothesis testing: normalizing values and identifying outliers.
- Education and psychometrics: comparing test scores across different scales.
- Medicine: standardizing measurements (e.g., lab values relative to population norms).
- Finance and trading: comparing asset returns to historical averages, measuring volatility, and creating factor scores for quantitative models.
- Business analytics: benchmarking performance metrics across groups or time.
Quantitative traders (quants) often use Z‑scores to detect anomalies, build normalized factor exposures, or evaluate strategy performance relative to expected variability.
Explore More Resources
Practical guidance
- Choose the reference sample carefully (historical returns, peer group, index) because the mean and standard deviation depend on that sample.
- Verify distribution assumptions: Z‑scores are most interpretable when the underlying distribution is approximately normal. For skewed or heavy‑tailed data, consider transformations or robust alternatives.
- Use Z‑scores to rank or standardize variables before combining them in composite metrics.
Bottom line
A Z‑score converts a raw value into a standardized metric that shows how many standard deviations it lies from the mean. It’s a simple, widely used tool for comparing values across different scales, detecting outliers, and supporting statistical and quantitative decision‑making.