Skip to Content
Z-score Calculator — Fast, Accurate & Free

Calculator

The observed value you want to standardize.

Population or sample mean of the distribution.

Must be positive. Measures spread of values.

Z-score

Formula: Z = (X − μ) / σ
Interpretation: —

Percentile (CDF)

Left tail P(X ≤ x) from standard normal.

Tail probabilities

Left: — | Right: — | Two-tailed: —
Right tail P(X ≥ x); Two-tailed = 2 × min(left, right).
Shaded area reflects chosen tail(s) under the standard normal curve.
Tip: Use Z to compare values across different scales. If σ is unknown and sample size is small, consider t-scores.

Z-scores and the normal distribution: A complete guide

Z-scores standardize values so you can compare across datasets and scales. A Z-score tells you how many standard deviations a value lies from the mean. Positive Z means above the mean, negative Z means below, and a Z near 0 is close to average.

What is a Z-score?

The Z-score is computed as \(Z=\frac{X-\mu}{\sigma}\), where \(X\) is your value, \(\mu\) is the mean, and \(\sigma\) is the standard deviation. Because the formula rescales by \(\sigma\), Z reveals relative standing independent of units, enabling comparisons across different distributions.

Percentiles and probabilities

Using the standard normal distribution, the cumulative distribution function (CDF) converts Z to a percentile (the proportion of values at or below \(X\)). Tail probabilities show how extreme a value is: left tail \(P(X\le x)\), right tail \(P(X\ge x)\), and two-tailed \(2\cdot\min(\text{left},\text{right})\).

When to use Z-scores

  • Comparisons across scales: Standardize exam scores, quality measures, or financial metrics.
  • Outlier detection: Large \(|Z|\) indicates values far from the mean.
  • Probability and hypothesis testing: Map Z to p-values under normal assumptions.
  • Feature scaling: In data science, Z-scores (standardization) aid model training and interpretation.

Assumptions and cautions

  • Normality: Z-to-probability mapping assumes normality; for means, the central limit theorem can help.
  • Known σ vs. t-scores: If \(\sigma\) is unknown and sample is small, t-scores are more appropriate.
  • Context matters: Domains like finance or biology may have skewed distributions; check robustness before interpreting tails.

Worked example

Example: Exam score \(X=88\), class mean \(\mu=80\), \(\sigma=6\). \(Z=(88-80)/6=1.3333\). Percentile ≈ 90.8%, right tail ≈ 9.2%, two-tailed ≈ 18.4%.

Frequently asked questions

HOW TO compute a Z-score?

Enter \(X\), \(\mu\), and \(\sigma\). Click Calculate. The tool returns Z, percentile (CDF), and left/right/two-tailed probabilities.

HOW TO interpret negative Z?

Negative Z means the value is below the mean. The magnitude indicates how far below in standard deviation units.

HOW TO compare two values?

Compute Z for each value using the same \(\mu\) and \(\sigma\), then compare their Z-scores. Higher Z is further above the mean.

HOW TO get p-values for tests?

Use right tail for one-sided “greater” tests, left tail for “less” tests, and two-tailed for “not equal” hypotheses.

HOW TO handle σ = 0 or missing inputs?

\(\sigma\) must be positive and all inputs required. If \(\sigma=0\), Z is undefined; adjust inputs and re-calculate.