Z-Score Calculator — Bidirectional (Value ↔ z) + Percentile
Drop a value, mean, and SD — get the z-score, percentile, and how rare the observation is (tail probability). Or go the other way: enter a z-score, get the matching raw value. Standard normal math, NIST-style.
- Instant result
- Private — nothing saved
- Works on any device
- AI insight included
Z-Score Calculator
You might also need
What is a Z-Score?
A z-score (sometimes called a standard score) measures how far an observation sits from the mean of its distribution, expressed in standard-deviation units. It strips away the original units and the original scale of the data and replaces them with a single dimensionless number whose interpretation is the same across every dataset: how many standard deviations above or below the average is this value?
Concretely, a z of +1 means “one standard deviation above the mean,” a z of −2 means “two standard deviations below the mean,” and a z of 0 means “exactly at the mean.” That common scale is what makes z-scores so useful — you can take an SAT score, a height measurement, a blood-pressure reading, and a quarterly investment return, convert all four to z-scores, and compare them head-to-head as if they were measured in the same units. Standardization is the glue that holds inferential statistics together.
Every confidence interval, every hypothesis test against a normal benchmark, every percentile ranking in standardized testing, every outlier-detection rule in industrial quality control, and every control chart in manufacturing rests on the z-score. It is one of the half-dozen most-used quantities in applied statistics.
The Formula
The z-score is defined as:
z = (x − μ) / σ
Where x is the raw observation, μ is the population mean of the underlying distribution, and σis the population standard deviation. Subtracting μ recenters the distribution on zero; dividing by σ rescales it so that one unit equals one standard deviation. The result has mean 0 and standard deviation 1 — the so-called standard normal distribution, denoted N(0, 1).
To go the other direction — convert a known z back into the corresponding raw value — rearrange the formula:
x = μ + z × σ
Both directions are useful: forward to ask “where does this observation sit?” and backward to ask “what raw value corresponds to this percentile or this threshold?”
Worked Example — SAT = 1400 in a Population with μ=1050, σ=200
A real-world case familiar to every American teenager. A student takes the SAT and scores 1400. The national distribution has a long-run mean around 1050 and a standard deviation around 200. How rare is the 1400?
Step 1 — Apply the formula.
z = (1400 − 1050) / 200 = 350 / 200 = 1.75
The student is 1.75 standard deviations above the mean.
Step 2 — Look up the percentile.
Using the standard normal cumulative distribution function (CDF), often written Φ(z), Φ(1.75) ≈ 0.9599. That means about 96% of test-takers score at or below 1400, and only about 4% score above it. The student is in roughly the 96th percentile nationally.
Step 3 — Translate into “tail probability.”
The complement is 1 − 0.9599 = 0.0401, so the score is rarer than about 4.01% of test-takers in the upper tail. The two-sided rarity (|z| ≥ 1.75 in either direction) is roughly 2 × 0.0401 = 0.0802, or about 8%.
Drop the same numbers into the calculator above (Value → z mode) and you will see the matching z, percentile, and tail probability fall out automatically.
Critical Z-Values You Should Memorize
A handful of z-values come up so often that they are worth memorizing. They are the cutoff points behind every standard confidence interval and every basic two-tailed hypothesis test.
- z = 1.282→ 80th percentile (10th to 90th, the central 80%).
- z = 1.645→ 95th percentile (one-tailed), the threshold for a 90% two-sided confidence interval.
- z = 1.96→ 97.5th percentile (one-tailed), the threshold for the canonical 95% confidence interval. This is the most-used z in all of applied statistics.
- z = 2.576→ 99.5th percentile, the threshold for a 99% confidence interval.
- z = 3.0→ 99.87th percentile, the conventional outlier cutoff: observations with |z| greater than 3 are unusual enough to flag for inspection.
The standard normal table (z-table) in the back of every statistics textbook is nothing more than a dense lookup of Φ(z) for thousands of values. Software like R, Python, Excel, and the calculator on this page replaces the table with the same CDF computed numerically — the accuracy of the underlying Abramowitz & Stegun series approximation is around 7 to 8 decimal places, far beyond anything a printed table delivers.
What “Percentile” Actually Means
Percentile is the percentage of the underlying distribution that falls at or below a given observation. For a z-score of 1.0, percentile is roughly 84.13% — meaning 84.13% of values in a normal distribution are at or below one standard deviation above the mean. For z = 0 percentile is exactly 50% (half the distribution lies below the mean). For z = −1 percentile is roughly 15.87%.
Percentile is dependent on the distribution being normal. If the underlying data is skewed or heavy-tailed, the z → percentile mapping the calculator uses will be off. A z of 1.0 in a right-skewed distribution might correspond to the 70th percentile, not the 84th. Always plot the histogram before trusting percentile claims based on z-scores.
Practical Uses of Z-Scores
- Standardized testing. SAT, ACT, GRE, LSAT, IQ tests are all reported with mean and SD chosen so that z-scores map cleanly onto percentiles. Converting between SAT and ACT scaled scores is essentially a z-score round-trip.
- Hypothesis testing. A test statistic that follows a normal distribution under the null hypothesis can be compared directly to z = 1.96 (for two-tailed α = 0.05). Above that magnitude, reject the null.
- Percentile rankings in clinical medicine.Pediatric growth charts plot a child’s height and weight as z-scores against age-specific norms (the WHO calls them “Z-scores”). A z below −2 flags concern.
- Outlier detection. Quality control, fraud detection, and anomaly detection in industrial sensor data routinely flag |z| greater than 3 as worth investigating. For very large datasets that threshold should be tightened, since you expect more 3-sigma observations purely by chance when you sample millions of times.
- Comparing apples to oranges.Cross-subject performance comparisons in education or sports often standardize first. Was this student’s 95th-percentile math score better than their 85th-percentile reading score? The z-score answer is yes, by exactly the gap in their two z-values.
Common Mistakes & Edge Cases
- Assuming normality without checking.The z-score formula works on any distribution — it is just (value − mean) / SD. But the percentile interpretation requires a roughly normal distribution. Skewed or heavy-tailed data routinely produces misleading percentile claims.
- Mixing sample SD into a z-score and calling it “z”. When you estimate σ from a sample, the resulting statistic is technically a t-score, not a z-score. For small samples (n < 30) the difference matters and you should use the t-distribution. Calling it z is a labeling error.
- Treating |z| greater than 3 as automatic outlier. In a dataset of 10,000 normally-distributed observations you expect about 27 observations with |z| greater than 3 purely by chance. The rule of thumb is context-dependent.
- Forgetting the sign.A z of −2 and a z of +2 are equally far from the mean but mean very different things in context (low blood pressure is dangerous; high blood pressure is also dangerous — but for different reasons).
- Using a known μ and σ when they are actually estimated.If the “population mean” came from a separate small sample, you have extra uncertainty that the basic z-score ignores. Bootstrap or uncertainty-propagation methods can correct for this when it matters.
- Computing z on transformed data without back-transforming.If you log-transformed the data before computing the mean and SD, the resulting z applies to the log scale, not the original scale — and the back-transformation requires a careful exponentiation.
Z-Score vs Percentile vs Raw Score
Three ways to describe the same observation, each with its own use:
- Raw score (x).The original value — SAT = 1400, height = 72 inches, blood pressure = 142 mmHg. Has units, but no comparison context.
- Z-score (z). Dimensionless distance from the mean in SD units. Easy to compare across different measurements. Hardest to communicate to non-statistical audiences.
- Percentile (P).Easiest to communicate — “you scored higher than 96% of test-takers.” Slightly less mathematically convenient because the mapping is non-linear (the gap between the 95th and 99th percentile is much bigger in z-units than the gap between the 50th and 54th).
Bidirectional Conversion (z → x and x → z)
The calculator above supports both directions. Forward mode (value → z) is the more common case — you have an observation and want to know how rare it is. Reverse mode (z → value) is useful when you have a percentile target and want the matching cutoff:
- “What height puts a US adult man in the 95th percentile?” With μ = 70 inches, σ = 3 inches, z₀.₉₅ = 1.645, so x = 70 + 1.645 × 3 ≈ 74.9 inches.
- “What SAT score is the cutoff for the top 10% of test-takers?” With μ = 1050, σ = 200, z₀.₉ = 1.282, so x = 1050 + 1.282 × 200 ≈ 1306.
- “What blood pressure threshold flags the top 1% as severely hypertensive?” With μ = 120, σ = 16, z₀.₉₉ = 2.326, so x ≈ 157 mmHg.
Reverse mode is essentially a percentile-to-value lookup using the inverse standard normal CDF (Φ⁻¹).
Related Calculators
- Standard Deviation Calculator — compute the σ or s you feed into the z-score formula.
- P-Value Calculator— convert a z-statistic (or t / chi-square / F) into a hypothesis-test p-value.
- SAT Score Calculator — project SAT scaled scores from practice test raw counts, the natural companion to z-score percentile interpretation.
- Percentage Calculator— quick percent-of-total + percent-change for everyday numeric work.
- Average Calculator— if you only need the mean of a dataset without the standardization step.
Frequently Asked Questions
The most common questions we get about this calculator — each answer is kept under 60 words so you can scan.
What is a z-score?
A z-score (also called a standard score) measures how many standard deviations an observation is from the mean. z = (x − μ) / σ. Positive z = above mean; negative z = below; zero = at the mean. A z of 2 means the observation is 2 standard deviations above the mean — relatively unusual in a normal distribution (~2.3% of values).What's a 'good' or 'bad' z-score?
Context-dependent. For test scores, percentile rank, or measurements where higher is better, positive z is good. For risk metrics, error rates, or where lower is better, negative z is good. As a general rule: |z| < 1 is typical (~68% of values), |z| < 2 is mildly unusual, |z| < 3 is rare, |z| ≥ 3 is very rare (<0.3% of normal data).How does the percentile relate to z?
Percentile = the percentage of values that fall AT OR BELOW the observation. For a z-score of 1.0, the percentile is ~84.13% — 84% of normally-distributed values fall below that observation. The calculator uses the standard normal CDF (Φ(z)) to convert z to percentile.What's the 'rarer than X% of values' line?
It tells you what fraction of observations are MORE extreme than yours in the tail direction. For a z-score of +2.5: 99.38% of values are below you; 0.62% are above. We report it as 'rarer than 0.62% of values' — meaning only 0.62% of the distribution is in the more-extreme tail. Useful for outlier interpretation.Does z-score only work for normal distributions?
The CALCULATION (x − μ) / σ works for any distribution — it just measures how-many-SDs-from-mean. But the PERCENTILE interpretation (z = 1.0 → 84th percentile) is only correct for normal distributions. For skewed or heavy-tailed data, z = 1.0 might be at the 75th percentile or the 90th — the calculator's percentile assumes normality.When is the value → z direction useful?
When you want to standardize observations across different scales or distributions. Convert SAT (μ=1050, σ=200) and ACT (μ=21, σ=5) to z-scores to compare student performance head-to-head. Convert blood pressure readings to z-scores against age-specific norms. Convert investment returns to z-scores against historical mean and SD. Standardization makes apples-to-apples comparison possible.When is the z → value direction useful?
When you know a percentile and want the matching observed value. Examples: 'What height is the 95th percentile of US men?' → use μ=70 inches, σ=3, find x for z=1.645. 'What test score corresponds to the top 10%?' → use distribution parameters, find x for z=1.282. The reverse calculation is essential for setting thresholds.What are critical z-values for common significance levels?
Two-tailed (most common): α=0.05 → ±1.960; α=0.01 → ±2.576; α=0.001 → ±3.291. One-tailed: α=0.05 → ±1.645; α=0.01 → ±2.326. Use these as decision thresholds in hypothesis testing — if |computed z| > critical z, reject the null hypothesis.What's the empirical rule (68-95-99.7)?
For normally-distributed data: ~68.27% of values fall within ±1σ of the mean. ~95.45% within ±2σ. ~99.73% within ±3σ. Used as a quick mental check on observations: anything beyond ±3σ is rare enough that it suggests either an outlier or a non-normal distribution. The rule is approximate; the calculator's percentile is exact.Can I have a z-score larger than 3?
Yes — z-scores have no upper or lower limit. A z of 4 is very rare in normal data (1 in 31,000); a z of 5 is essentially impossible (1 in 3.5 million) UNLESS the data is non-normal. Large z-scores almost always signal: (1) a data-entry error, (2) a non-normal distribution, or (3) a genuine outlier worth investigating.How is the percentile calculated for negative z?
Same formula: percentile = Φ(z) × 100. For z = -1.5, percentile ≈ 6.68% — meaning the observation is below ~93% of values. The 'rarer than' line then reports it as 'rarer than 6.68% of values' — the smaller tail. Negative z is treated symmetrically with positive z; the underlying CDF is monotonic.What if my σ is zero?
z-score is undefined when σ = 0 (all values identical; no spread). The calculator returns an error rather than dividing by zero. If you genuinely have a 'distribution' with σ = 0, there's nothing to standardize — every observation equals the mean by definition.