Loading…

How to Calculate a Z Score

How to calculate z score for a value x given a mean μ and standard deviation σ, and what does the result represent?

Subject: Statistics Chapter: Continuous Random Variables and the Normal Distribution Topic: Standardizing a Normal Distribution Answer included
how to calculate z score z score formula standard score standardization standard normal distribution normal distribution mean standard deviation
Accepted answer Answer included

How to calculate z score

The phrase how to calculate z score refers to converting a raw value x into a standardized value z that measures distance from the mean in units of the standard deviation. This standard score supports comparisons across different scales and connects raw values to the standard normal distribution.

Definition and notation

A z score (standard score) is a dimensionless number describing how far a value x lies from a distribution’s mean μ, measured in standard deviations σ.

Core definition

\[ z = \frac{x - \mu}{\sigma} \]

Positive z indicates x above the mean; negative z indicates x below the mean; z = 0 corresponds to x = μ.

Interpretation in standard-deviation units

  • Magnitude: |z| equals the number of standard deviations from the mean.
  • Sign: z > 0 lies to the right of μ; z < 0 lies to the left.
  • Scale-free: units cancel because both numerator and denominator share the same units.

Standardization is also written as a linear transformation:

\[ x = \mu + z \cdot \sigma \]

This inverse relationship supports converting a known z back into a raw value x.

Worked example with complete calculation

Consider test scores modeled as approximately normal with mean μ = 80 and standard deviation σ = 4. For a score x = 86, the standard score becomes:

\[ z = \frac{86 - 80}{4} \]

\[ z = \frac{6}{4} = 1.5 \]

Quantity Meaning Value
x Observed raw value 86
μ Mean (population or model mean) 80
σ Standard deviation (population or model) 4
z Standard score in standard-deviation units 1.5

Visualization of standardization on a normal curve

Normal curve showing x mapped to a z score A bell curve on the z scale from -3 to 3. The mean (z = 0) and a point at z = 1.5 are marked. The area to the left of z = 1.5 is shaded, representing the left-tail probability Φ(1.5). A secondary axis shows the corresponding x values for μ = 80 and σ = 4. Standardization on a normal curve (example: μ = 80, σ = 4, x = 86 → z = 1.5) Shaded area = Φ(z), where z = 1.5 z = (x − μ) / σ = (86 − 80) / 4 = 1.5 density curve left-tail probability mean (z = 0) value (z = 1.5) x = 86 z = 1.5 density
The shaded region represents the left-tail probability \(P(Z \le z)\) for the standard normal variable \(Z\). The vertical red line marks the standardized location corresponding to \(x = 86\) when \(μ = 80\) and \(σ = 4\), giving \(z = 1.5\).

Connection to percentiles and probabilities

Under a normal model, standardization converts \(X \sim \mathcal{N}(\mu,\sigma^2)\) to a standard normal variable:

\[ Z = \frac{X - \mu}{\sigma} \quad \Rightarrow \quad Z \sim \mathcal{N}(0,1) \]

The standard normal cumulative distribution function is denoted by \(\Phi(z)\). Typical probability expressions become:

\[ P(X \le x) = P\!\left(Z \le \frac{x-\mu}{\sigma}\right) = \Phi\!\left(\frac{x-\mu}{\sigma}\right) \]

\[ P(X \ge x) = 1 - \Phi\!\left(\frac{x-\mu}{\sigma}\right) \]

\[ P(a \le X \le b) = \Phi\!\left(\frac{b-\mu}{\sigma}\right) - \Phi\!\left(\frac{a-\mu}{\sigma}\right) \]

Reference values for Φ(z)

Many z tables report \(\Phi(z)=P(Z \le z)\). The table below lists common values used for percentiles and critical values.

z \(\Phi(z)\) Percentile (≈ \(100 \cdot \Phi(z)\)) Common use
0.00 0.5000 50.00 Mean / median of the standard normal
1.00 0.8413 84.13 One standard deviation above the mean
1.50 0.9332 93.32 Example in the figure
1.645 0.9500 95.00 One-sided 5% critical value
1.96 0.9750 97.50 Two-sided 5% (central 95%) critical value
2.00 0.9772 97.72 Approximately “two-sigma” bound
−1.00 0.1587 15.87 Symmetry: \(\Phi(-z)=1-\Phi(z)\)
−1.96 0.0250 2.50 Lower two-sided 5% critical value

Sample-based z scores and standardization beyond normal models

In practice, sample estimates often replace population parameters. For a dataset with sample mean \(\bar{x}\) and sample standard deviation \(s\), a common standardized score is:

\[ z = \frac{x - \bar{x}}{s} \]

This quantity still measures distance from the sample mean in units of \(s\). The normal-table connection \(\Phi(z)\) remains appropriate only when a normal model is justified for the underlying variable or for an explicitly standardized normal approximation.

Common pitfalls and consistency checks

  • Zero variability: \(\sigma = 0\) (or \(s = 0\)) makes \(z\) undefined because division by zero occurs.
  • Unit mismatch: \(x\), \(\mu\), and \(\sigma\) must share the same units; mixing units breaks the standardization.
  • Rounding: early rounding of \(z\) changes probabilities; a few extra decimals in \(z\) preserves accuracy before table lookup.
  • Symmetry check: \(\Phi(-z) = 1 - \Phi(z)\) provides a quick validation for left-tail probabilities.

Summary statement

The z score formula \(z = (x - \mu)/\sigma\) expresses a raw value as a standard score on the standard normal scale, enabling percentile and probability calculations through \(\Phi(z)\) when a normal model is appropriate.

Vote on the accepted answer
Upvotes: 0 Downvotes: 0 Score: 0
Community answers No approved answers yet

No approved community answers are published yet. You can submit one below.

Submit your answer Moderated before publishing

Plain text only. Your name is required. Links, HTML, and scripts are blocked.

Fresh

Most recent questions

109 questions · Sorted by newest first

Showing 1–10 of 109
per page
  1. Mar 5, 2026 Published
    Formula of the Variance (Population and Sample)
    Statistics Numerical Descriptive Measures Measures of Dispersion for Ungrouped Data
  2. Mar 5, 2026 Published
    Mean Median Mode Calculator (Formulas, Interpretation, and Example)
    Statistics Numerical Descriptive Measures Measures of Central Tendency for Ungrouped Data
  3. Mar 4, 2026 Published
    How to Calculate Standard Deviation in Excel (STDEV.S vs STDEV.P)
    Statistics Numerical Descriptive Measures Measures of Dispersion for Ungrouped Data
  4. Mar 4, 2026 Published
    Suppose T and Z Are Random Variables: How T Relates to Z in the t Distribution
    Statistics Estimation of the Mean and Proportion Estimation of a Population Mean σ Not Known the T Distribution
  5. Mar 4, 2026 Published
    What Does R Squared Mean in Statistics (Coefficient of Determination)
    Statistics Simple Linear Regression Coefficient of Determination
  6. Mar 3, 2026 Published
    Box and Plot Graph (Box Plot) Explained
    Statistics Numerical Descriptive Measures Box and Whisker Plot
  7. Mar 3, 2026 Published
    How to Calculate a Z Score
    Statistics Continuous Random Variables and the Normal Distribution Standardizing a Normal Distribution
  8. Mar 3, 2026 Published
    How to Calculate Relative Frequency
    Statistics Organizing and Graphing Data Organizing and Graphing Quantitative Data
  9. Mar 3, 2026 Published
    Is zero an even number?
    Statistics Numerical Descriptive Measures Measures of Central Tendency for Ungrouped Data
  10. Mar 3, 2026 Published
    Monty Hall Paradox (Conditional Probability Explained)
    Statistics Probability Marginal and Conditional Probabilities
Showing 1–10 of 109
Open the calculator for this topic