Formula & Calculator

Z-Score

Standardizes a data point by expressing how many standard deviations it is from the mean, enabling comparison across different scales.

StatisticsDescriptive StatisticsStandardization

Z-Score CalculatorStandard Score

z = ( xμ ) / σ
z = standard score  ·  x = data value  ·  μ = mean  ·  σ = standard deviation
⟹ Solvez, x, μ, σ
Please fix the errors above.
Solve for:
Presets:
Z-Score
z: x: μ: σ:
z = (x − μ) / σ
✓ Copied!
|z| Magnitude
Small (< 1) Medium (1–2) Large (2–3) Extreme (> 3)
z = (xμ) / σ  ·  Measures how many standard deviations a value is from the mean.

Interpretation

z = (x − μ)/σ. Number of standard deviations a value is from the mean. Used to standardise data, detect outliers, and compare across different distributions.

z = (x - μ) / σ
Z-Score

Variables

SymbolQuantityUnit
zZ-score
xData value
μPopulation mean
σPopulation standard deviation

What it means

A z‑score (or standard score) indicates how many standard deviations an observation is above or below the mean. It transforms data to a standard normal distribution (mean 0, standard deviation 1). Z‑scores are used to compare observations from different distributions, to identify outliers (|z| > 3), and to calculate percentiles. They are also the basis for many statistical tests (z‑test). In quality control, z‑scores are used to monitor processes. In education, they are used to standardise test scores. Understanding z‑scores is essential for interpreting data relative to a distribution and for standardising variables in regression.

Worked example

Z‑Score – Two Examples

Real‑World
Scenario: A student scores 85 on a test with mean 75 and σ=10. Compute the z‑score.
ParameterValue
x85
μ75
σ10
1z = (85−75)/10 = 1
Result 1 ✓ 1 σ above mean
Scenario: Another student scores 60 on the same test. Find z.
ParameterValue
x60
μ75
σ10
1z = (60−75)/10 = −1.5
Result −1.5 ✓ 1.5 σ below mean
Insight: Z‑score standardizes values, showing how many standard deviations away from the mean. It allows comparison across different distributions.

Common mistakes

  • Z‑score: Measures how many standard deviations a value is from the mean.
  • Mean μ and standard deviation σ: Use population parameters – for sample, use x̄ and s.
  • Sign: Positive means above the mean; negative means below.
  • Units: The z‑score is dimensionless.
  • Distribution: The z‑score is used for standard normal distribution – but can be applied to any data.

Applications

The Z‑score expresses a data point as the number of standard deviations from the mean, standardising values across different scales. It is used to compare observations from different populations, to detect outliers, and to compute probabilities in the normal distribution. Engineers use Z‑scores to set tolerance limits, to monitor process performance, and to standardise measurements. In finance, it assesses credit risk (Altman Z‑score). In education, it compares test scores. By using Z‑scores, professionals can determine how unusual a value is, identify anomalies, and make cross‑dataset comparisons. This transformation is fundamental to many statistical methods, including standardisation in machine learning.

  • Outlier detection and anomaly identification
  • Standardisation of variables for multivariate analysis
  • Process capability indices (Cpk calculation)
  • Credit scoring and risk assessment (Altman Z‑score)
  • Educational testing – comparing scores across different tests

Frequently Asked Questions

Q01What is a z‑score and what does it represent?
A01

z = (x − μ) / σ. It standardizes a data point by expressing how many standard deviations it is away from the mean. A positive z means above average; negative means below.

Q02Why is the z‑score useful in statistics?
A02

It allows comparison of values from different distributions or different units. It is also used to identify outliers and to compute probabilities under the normal distribution.

Q03How do you interpret a z‑score of 1.5?
A03

A z‑score of 1.5 means the data point is 1.5 standard deviations above the mean. In a normal distribution, this corresponds to about the 93rd percentile.

Q04What is the relationship between z‑scores and percentiles?
A04

Z‑scores can be converted to percentiles using the standard normal CDF. For example, z = 1.96 corresponds to the 97.5th percentile (two‑tailed).

Q05How are z‑scores used in hypothesis testing?
A05

In a z‑test, the test statistic is a z‑score that measures how many standard errors the sample mean is from the hypothesized mean. It is used to compute p‑values.

Q06What are the properties of the z‑score distribution?
A06

If the original data is normally distributed, the z‑scores have a standard normal distribution with mean 0 and standard deviation 1. The transformation is linear.

Q07Can z‑scores be used for non‑normal data?
A07

They can still be computed, but the interpretation in terms of percentiles requires knowledge of the distribution. They are often used as a scaling technique regardless of normality.

Q08What is the difference between z‑score and t‑score?
A08

A t‑score is used when the population standard deviation is unknown and is estimated from the sample. It follows a t‑distribution, which has heavier tails for small samples.

Q09How do you compute a z‑score for a sample mean?
A09

For the sampling distribution of the mean, the z‑score is z = (x̄ − μ) / (σ/√n), which is the standard error of the mean.

Q10What is the role of z‑scores in machine learning?
A10

Z‑score normalization (standardization) is a common preprocessing step to bring features to a similar scale, which improves the performance of many algorithms like SVM, PCA, and neural networks.