How to Calculate a Z-Score

Learn the z-score formula z = (x − μ) / σ, percentiles on the normal curve, reverse lookup, and when standardized scores help — free tool.

By Generatr Team

A z-score (standard score) tells you how many standard deviations a value sits above or below the mean. One formula covers it: z = (x − μ) / σ for a population, or z = (x − x̄) / s with sample mean and sample SD.

This guide walks through the formula with numbers, how z-scores map to percentiles on a normal curve, reverse lookup from z back to x, and common uses in class, quality control, and data analysis. When you want instant conversion, open the free z-score calculator with your value, mean, and standard deviation.

You need a reliable mean and SD first — use the free average calculator and standard deviation calculator, plus our guides on mean/median/mode and standard deviation and variance.

Free tool

Use the Z-Score Calculator now

Open the interactive z-score calculator in your browser — free, instant, no signup.

Open Z-Score Calculator

What Is the Z-Score Formula?

The core standardization formula:

z = (x − μ) / σ

  • x — the raw data value you care about
  • μ (mu) — population mean (or x̄ for a sample mean)
  • σ (sigma) — population standard deviation (or s for sample SD)

What the sign and size mean

  • z = 0 — the value equals the mean
  • z > 0 — above the mean (e.g. z = 1.5 → 1.5 SDs above)
  • z < 0 — below the mean (e.g. z = −2 → 2 SDs below)
  • |z| large — unusual relative to that mean and SD (context matters)

Worked examples

Exam: x = 88, class mean μ = 80, σ = 5 → z = (88 − 80) / 5 = 1.6.

Height: x = 170 cm, μ = 178 cm, σ = 8 → z = (170 − 178) / 8 = −1.0.

Process: measurement 102.4 against target mean 100 with σ = 1.2 → z = (102.4 − 100) / 1.2 = 2.0.

Never reverse the subtraction (mean − x) unless you intentionally want the opposite sign. Divide by SD, not by variance, and never by the mean.

Run any triple (x, mean, SD) through the free z-score calculator to confirm hand math.

Why Do You Convert Values to Z-Scores?

Raw units differ. A “+10” on a test might be huge or tiny depending on how spread scores are. Z-scores put different measures on a shared “SDs from the mean” scale.

Compare across distributions

Student A scores 90 on Exam 1 (mean 85, SD 5) → z = 1.0. Student B scores 78 on Exam 2 (mean 70, SD 4) → z = 2.0. B is farther above that exam’s mean even though 78 < 90 in raw points.

Flag outliers (with care)

Values with |z| above 2 or 3 are often reviewed as unusual under roughly normal data — not automatic “delete me” orders. Skewed data and small samples need more judgment.

Feed other methods

Many classical procedures (and normal-table lookups) assume standardized units. Knowing z is the bridge between a raw measurement and tabled probabilities for a normal model.

Standardization still depends on a stable mean and SD estimate. Garbage SD in → garbage z out. Revisit how to calculate standard deviation if your spread number is shaky.

How Do Z-Scores Relate to Percentiles on a Normal Curve?

If data (or a model) follow a normal distribution, each z maps to a cumulative probability: the share of the distribution at or below that z. That cumulative probability × 100 is often called a percentile rank under the normal model.

Famous anchors (approximate)

  • z = 0 → 50th percentile (half below the mean)
  • z ≈ 1 → about the 84th percentile
  • z ≈ −1 → about the 16th percentile
  • z ≈ 1.96 → about the 97.5th percentile (two-tailed 95% landmark)
  • z ≈ 2 → roughly the 97.7th percentile

Empirical rule in z language

About 68% of normal mass lies between z = −1 and +1; about 95% between −2 and +2; about 99.7% between −3 and +3. That is the same empirical rule stated with standard scores.

From z to percent of people “higher”

If z = 1.0 ≈ 84th percentile, roughly 16% score higher under the normal model (100% − 84%). Use a z-table, software, or the calculator’s probability readout for finer values (e.g. z = 0.84 ≈ 80th percentile).

Turning a cumulative probability into a percent is basic percent math — the percentage calculator and percentage guide cover part-whole conversions if you need them separately.

How Do You Convert a Z-Score Back to a Raw Value?

Reverse the formula when you know the mean, SD, and desired z (or a percentile’s z):

x = μ + z × σ

Examples

Mean 80, SD 5, want z = 1.6 → x = 80 + 1.6 × 5 = 80 + 8 = 88.

Mean 100, SD 15, want the score at z = −1 → x = 100 + (−1) × 15 = 85.

Manufacturing target 50.0 mm, σ = 0.2, upper alert at z = 3 → x = 50 + 3 × 0.2 = 50.6 mm.

Percentile → z → x workflow

  1. Decide the percentile you want under a normal model (e.g. 90th).
  2. Find the z that corresponds (≈ 1.28 for 90th, from a table or tool).
  3. Compute x = μ + zσ.

The free z-score calculator reverse mode does the algebra once mean and SD are set. For event-style probabilities that are not “continuous normal,” use the probability guide and probability calculator instead of forcing a z model.

What Does the Normal Distribution Have to Do With Z-Scores?

Z-scores exist for any mean and SD — you can standardize skewed data too. The normal distribution is special because standardized normals use a single reference curve: mean 0, SD 1. Tables and many rules of thumb assume that shape.

When the normal model is a decent fit

  • Symmetric, unimodal histograms without extreme skew
  • Measurement errors that average many small factors
  • Large-sample averages (central limit theorem territory) even if individuals are not normal

When to be careful

  • Income and wealth (right-skewed) — a z of +3 may mean something different than on a bell curve
  • Bounded scores (0–100% tests) near the ceiling
  • Tiny samples where μ and σ are poorly estimated

Always ask: “Am I only describing position relative to this sample’s mean/SD?” (always valid algebra) vs “Am I claiming a normal percentile?” (needs the shape assumption).

Computing μ and σ from a list is covered step by step in the standard deviation guide; center-only summaries live in the average guide.

How Do You Use an Online Z-Score Calculator?

Three honest inputs beat a pretty chart.

  1. Open the free z-score calculator.
  2. Enter the raw value x.
  3. Enter the mean (population μ or sample x̄ — be consistent with your SD).
  4. Enter the matching standard deviation (σ or s). SD must be > 0.
  5. Read z, and if provided, approximate percentile / tail probability under a normal model.
  6. Use reverse mode: enter z, mean, and SD to recover x.
  7. Cross-check one example by hand: (x − mean) / SD.
  8. If SD came from a short list, recompute SD after cleaning outliers that were typos.

Input mistakes

  • Using variance in the denominator instead of SD
  • Mixing sample mean with an unrelated published σ from another population
  • Percentages entered as 85 instead of 0.85 when the data are proportions — keep units consistent

For salary comparisons, standardize only within a well-defined peer group; national “means” without SD (or with the wrong occupation mix) produce misleading z values. Context tools like the salary guide address pay structure, not z-scores themselves.

What Z-Score Mistakes Should You Avoid?

Algebra is short; interpretation is where people slip.

  • Dividing by the mean — denominator is always SD
  • Claiming exact percentiles without normality — z still measures distance; percentiles need a model or empirical rank
  • Comparing z-scores from different populations as if means/SDs matched
  • Treating |z| > 2 as automatic error — in true normal data, about 5% of points sit beyond ±2 by chance
  • Using n that is tiny — estimated s swings hard; z ranks become noisy
  • Forgetting units canceled — z is dimensionless; don’t append “cm” to z

This guide is educational statistics, not medical, hiring, or financial advice. High or low z on one metric never defines a person or investment by itself.

Practice with a 5–10 number list: compute mean and SD, pick one x, compute z by hand, then verify in the z-score calculator and the standard deviation calculator.

Step-by-Step Instructions

  1. 1Open the free z-score calculator on Generatr.
  2. 2Gather the raw value x, the mean, and the standard deviation for the same population or sample.
  3. 3Confirm SD is greater than zero and in the same units as x and the mean.
  4. 4Enter x, mean, and SD into the calculator (or compute z = (x − mean) / SD by hand).
  5. 5Read the z-score: positive means above average, negative means below.
  6. 6If needed, read the approximate normal percentile or tail probability from the tool.
  7. 7For reverse problems, enter z with mean and SD to solve x = mean + z × SD.
  8. 8Document which mean/SD source you used so others can reproduce the z-score.

Frequently Asked Questions

What is the formula for a z-score?+

z = (x − μ) / σ, where x is the value, μ is the mean, and σ is the standard deviation. With sample statistics, use z = (x − x̄) / s. The result is how many SDs x sits from the mean.

What does a z-score of 1.5 mean?+

The value is 1.5 standard deviations above the mean. A z-score of −1.5 is 1.5 standard deviations below the mean. On a normal curve, z = 1.5 is roughly around the 93rd percentile.

How do I convert a z-score back to a raw score?+

Use x = μ + z × σ. Example: mean 100, SD 15, z = 2 → x = 100 + 30 = 130.

Can I calculate a z-score without a normal distribution?+

Yes. The algebra only needs a mean and SD. Normal-based percentiles and the 68–95–99.7 rule assume an approximately normal shape; without that, treat z as a standardized distance, not an automatic percentile.

What is the difference between a z-score and standard deviation?+

Standard deviation measures overall spread of a data set. A z-score uses that spread (and the mean) to locate one value: how many SDs that value is from the mean.

Is Generatr’s z-score calculator free?+

Yes. It runs in your browser for forward z-scores, reverse raw values, and normal-related readouts without requiring an account.

Ready to try it yourself?

Use the free Z-Score Calculator — no download, no account.

Launch Z-Score Calculator