Z-Score Calculator

Reviewed by CalcMulti Editorial Team·Last updated: ·Statistics Hub

A z-score (standard score) expresses how many standard deviations a value lies above or below the mean of its distribution. It lets you compare values from different datasets on a common scale — making it one of the most widely used tools in statistics.

This calculator computes the z-score from a raw value, finds the corresponding percentile rank, and calculates cumulative normal distribution probabilities.

Formula

z = (x − μ) / σ

z
z-score (standard score)
x
the raw value you are standardising
μ
mean of the distribution
σ
standard deviation of the distribution (σ > 0)

Enter a raw value plus the distribution's mean and standard deviation to compute the z-score and percentile.

The 68–95–99.7 Rule (Empirical Rule)

|z| ≤ 1

68.27%

Within 1 std dev of mean

|z| ≤ 2

95.45%

Within 2 std devs of mean

|z| ≤ 3

99.73%

Within 3 std devs of mean

Under a normal distribution, about 68% of observations fall within one standard deviation of the mean, 95% within two, and 99.7% within three. Values with |z| > 3 are rare — less than 0.3% of the distribution.

Common Critical Z-Values

Z-ScoreP(X ≤ z)PercentileUse Case
−2.5760.50%0.5th99% CI lower tail
−1.9602.50%2.5th95% CI lower tail
−1.6455.00%5th90% CI lower tail / one-tail 5%
0.00050.00%50thMean — median for symmetric dist.
+1.28290.00%90thOne-tail 10% significance
+1.64595.00%95thOne-tail 5% / 90% CI upper tail
+1.96097.50%97.5th95% CI upper tail
+2.32699.00%99th98% CI upper tail / one-tail 1%
+2.57699.50%99.5th99% CI upper tail
+3.00099.87%99.87thSix-sigma quality baseline

Z-Score vs T-Score — When to Use Which

ConditionUse ZUse T
Population σ known
Population σ unknown
Large sample (n ≥ 30)Acceptable
Small sample (n < 30)Not ideal
Data is normal
Comparing means across populations✓ (known σ)✓ (unknown σ)

As sample size grows, the t-distribution approaches the standard normal distribution, so z and t values converge for n ≥ 30.

Common Mistakes with Z-Scores

Using z-scores on non-normal data

Z-scores and percentile lookups assume a normal distribution. Applying them to heavily skewed data (income, web traffic) gives misleading percentiles. Check your distribution first with a histogram or Q-Q plot.

Forgetting to use the correct standard deviation

Use population SD (σ) when standardising against a known distribution. Use sample SD (s) when working with a dataset sample. The formula looks the same but the interpretation — and the error it introduces — differs.

Reading z-score as probability directly

A z-score of 1.5 is not a 1.5% probability. You must look up Φ(1.5) ≈ 0.9332, meaning 93.3% of values fall below. Use the cumulative distribution function, not the z-score value itself.

Mixing one-tailed and two-tailed areas

P(Z < 1.96) = 97.5%, but for a 95% confidence interval you need both tails, so you use z = ±1.96 (2.5% in each tail). Confusing one-tailed and two-tailed interpretations is one of the most common errors in hypothesis testing.

Case Study: Detecting Out-of-Spec Tablets in Pharmaceutical QC

A quality control engineer at a pharmaceutical plant monitors tablet weight on the production line. The target weight is μ = 500 mg with a process standard deviation of σ = 4.2 mg, established from a large historical population of production runs.

During a routine sample of 80 tablets, one weighs 493.1 mg. The z-score is (493.1 − 500) / 4.2 = −1.64. Looking up Φ(−1.64) ≈ 0.0505 — just over 5% of tablets from this distribution are expected to fall this low or lower.

The action limit is z < −2.0 (below 2.3% of the distribution). At z = −1.64, the tablet is within spec but is flagged for trend monitoring. If three consecutive tablets show z < −1.5, it triggers a process review — catching variability drift before it becomes a compliance failure.

Disclaimer

This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.

Frequently Asked Questions