Z-Score Calculator
Calculate the z-score (standard score) for any value in a normal distribution. Find the percentile ranking and probability associated with your data point.
About this calculator
This calculator computes z = (Value − Mean) / Standard Deviation (line 79), then runs that z-score through an Abramowitz & Stegun (formula 7.1.26) approximation of the standard normal CDF (lines 7-25) to get Percentile Rank and Cumulative Probability, rather than reading from an exact table. Standard Deviation gets a dedicated, exact-equality branch: `if (standardDeviation === 0)` (line 32) skips the division entirely and instead compares Value to Mean directly, returning a Z-Score of exactly 0 and a Percentile of 50, 100, or 0 depending on whether Value equals, exceeds, or falls short of Mean — a deliberate guard against dividing by zero, not a claim that a zero-spread dataset has a meaningful z-score. At the defaults (Value 85, Mean 100, Standard Deviation 15), Z-Score comes to exactly −1, and nudging Mean and Value up and down by the same 10% shows Mean moving Z-Score more than Value does, purely because Mean's default magnitude (100) is larger than Value's (85), so an equal 10% nudge produces a bigger absolute swing — not because the formula weighs Mean more heavily.
Raising Value always raises Z-Score, and raising Mean always lowers it, regardless of which side of the mean Value sits on (line 79's slopes are constant), but Standard Deviation's direction is not fixed the same way: at these defaults, where Value sits below Mean, raising Standard Deviation nudges Z-Score up, toward 0; if Value instead sat above Mean, the identical change to Standard Deviation would push Z-Score down instead, because it's shrinking the magnitude of whichever-signed ratio you started with. What this does not account for: skewed or non-normal distributions, where a z-score's percentile interpretation stops applying.
Inputs
Results
Z-Score
-1
How to Use This Calculator
- Enter the individual data value (X), the population mean (μ), and the population standard deviation (σ).
- The z-score is computed as z = (X − μ) / σ, measuring how many standard deviations X is from the mean.
- A z-score of 0 means X equals the mean; ±1 covers ~68% of data; ±2 covers ~95%; ±3 covers ~99.7%.
- Percentile Rank shows the percentage of values in a standard normal distribution that fall below X.
- The probability output (area under the curve) is useful for hypothesis testing and quality control (Six Sigma).
- σ must be greater than 0; negative z-scores simply indicate values below the mean.
How the result changes with Mean (μ)
| Mean (μ) | Z-Score |
|---|---|
| 50 | 2.3333 |
| 75 | 0.6667 |
| 150 | -4.3333 |
| 250 | -11 |
What each input means
- Value (x)
- The data point you want to analyze
- Mean (μ)
- The average of your dataset
- Standard Deviation (σ)
- The standard deviation of your dataset
What each result means
- Cumulative Probability
- P(X ≤ x)
- Probability Above
- P(X > x)
How this is calculated
Formula
z = (x - μ) / σEngine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does Mean move the Z-Score more than Value does, when Value is the number being analyzed?
It's a scale effect, not a difference in how the formula treats them. Nudging each input by 10% moves Mean by 10% of 100 (its default) but moves Value by 10% of only 85, so the absolute nudge to Mean is larger even though both inputs enter z = (Value − Mean) / Standard Deviation (line 79) with the same coefficient magnitude, 1/Standard Deviation.
What happens if I set Standard Deviation to 0?
The calculator does not divide by zero. An explicit check, `if (standardDeviation === 0)` (line 32), routes around the normal formula entirely and instead compares Value to Mean directly — Z-Score becomes exactly 0, and Percentile Rank becomes 50, 100, or 0 depending on whether Value equals, exceeds, or falls short of Mean, since a zero-spread dataset has no meaningful standard deviation to divide by.
Does raising Standard Deviation always push the Z-Score in the same direction?
No — its direction depends on which side of Mean your Value sits on. At the defaults, Value (85) sits below Mean (100), so Z-Score is negative, and raising Standard Deviation shrinks that negative ratio's magnitude, nudging Z-Score up toward 0. If Value instead sat above Mean, the same increase to Standard Deviation would shrink a positive ratio instead, pushing Z-Score down toward 0 — the same math, opposite direction, because Standard Deviation only scales the magnitude, never the sign.
Does raising Value always raise Percentile Rank?
Yes, robustly — raising Value always raises Z-Score (line 79's coefficient on Value is fixed at 1/Standard Deviation, always positive for a valid, positive Standard Deviation), and the normal-CDF approximation that converts Z-Score into Percentile Rank (lines 7-25) is monotonically increasing, so a higher Z-Score always means a higher Percentile Rank, regardless of where Value started relative to Mean.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Confidence Interval Calculator
Calculate the confidence interval for a population mean. Determine the margin of error and range where the true population parameter likely falls.
Math & StatisticsStandard Deviation Calculator
Calculate the mean, median, standard deviation, and variance for a set of numbers. Supports both population and sample calculations.
Math & StatisticsProbability Calculator
Calculate probability of single events, combined events (AND/OR), permutations, and combinations.
Game DesignLoot Drop Probability Calculator
Calculate expected items and attempt counts from drop rates.
Math & StatisticsScientific Calculator
Scientific calculator with multiple modes and expression input
More in Math & Statistics.