About the Z-Score Calculator
A z-score shows how unusual a value is by counting the standard deviations between it and the mean. This z score calculator converts a value into a z-score and a percentile using the normal distribution: a test score of 85 in a class with a mean of 70 and a standard deviation of 10 has z = 1.5, higher than about 93.3 percent of scores. It also works in reverse and gives p-values.
The formula is z = (x − μ) ÷ σ, where x is the value, μ the mean and σ the standard deviation. For normally distributed data, the percentile is the area under the standard normal curve to the left of z, Φ(z), which this calculator computes directly rather than looking it up in a printed z-table. The one-tailed p-value is the area beyond z on one side, and the two-tailed p-value counts both tails, which is what many hypothesis tests use.
Example: a test score of 85 in a class with mean 70 and standard deviation 10 has z = (85 − 70) ÷ 10 = 1.5. That is the 93.3193rd percentile: about 93% of scores fall below it, 6.6807% above, and the two-tailed p-value is 0.1336. Going the other way, the 95th percentile corresponds to z ≈ 1.644854, which for this class is a score of about 86.45.
Percentiles assume the data are roughly normal. For areas between two values use the normal distribution calculator, for p-values from other test statistics the p-value calculator, and for the standard deviation itself the standard deviation calculator.
How to use the Z-Score Calculator
- Choose what you knowA value, a z-score, or a percentile.
- Enter the mean and standard deviationType the distribution's mean and standard deviation.
- Enter the value, z or percentileType the figure you want to convert.
- Read the resultsSee the z-score, the value, the percentile and the tail probabilities.
Z-Score Calculator features
- z = (x − μ) ÷ σ
- Percentile from the exact normal CDF
- One-tailed and two-tailed p-values
- Value from a z-score
- z-score and value from a percentile
- No printed z-table needed
- Accurate deep into the tails
Common uses
- Comparing scores from different tests
- Finding percentiles of exam results
- Hypothesis testing with a z statistic
- Spotting unusual measurements
- Growth and test score percentiles
Z-scores in practice: quality checks, growth charts, outliers and standardising data
A z-score tells you how many standard deviations a value lies above or below the mean. It turns measurements on any scale into a common one, which makes unusual values easy to spot and different measurements easy to combine. This guide covers z-scores in manufacturing, children's growth monitoring, outlier detection and data science, with a worked quality-control example and a note about another "Z-score" used in finance.
The idea in one line
A z-score of 0 means a value equals the mean; +1 means one standard deviation above; −2 means two standard deviations below. For data that is roughly normally distributed, about 68% of values have z-scores between −1 and +1, about 95% between −2 and +2 and about 99.7% between −3 and +3. Values beyond ±3 are rare, which is why they attract attention.
A worked example: checking a bolt
A machine makes bolts with an average length of 50.00 mm and a standard deviation of 0.05 mm. An inspector measures a bolt at 50.17 mm. Its z-score is (50.17 − 50.00) ÷ 0.05 = 3.4, more than three standard deviations above the mean. Such a value would occur by chance only very rarely, so the inspector checks the machine's settings and the measuring tool.
Z-scores let inspectors apply the same rule, such as "investigate anything beyond 3", to every measurement, whatever its units.
Children's growth monitoring
Health organisations, including the World Health Organization, express children's height and weight as z-scores compared with reference growth standards for their age and sex. A height-for-age z-score below −2 is one of the indicators used to identify stunting in public health surveys. For individual children, doctors interpret these figures alongside other information; a single measurement is not a diagnosis. This is general information, not medical advice.
Finding outliers
In data analysis, values with z-scores beyond ±3 are often flagged as possible outliers, worth checking for errors or unusual circumstances. The method works best for roughly normal data. For skewed data, or small samples where a single extreme value inflates the standard deviation, methods based on the interquartile range are more reliable.
Standardising data for analysis
Data scientists often convert each variable to z-scores before analysis, a process called standardisation. It puts variables measured in different units, such as income in rupees and age in years, on a common scale, so that neither dominates methods based on distances, such as clustering. After standardisation, each variable has a mean of 0 and a standard deviation of 1.
From z-scores to percentiles
For normally distributed data, a z-score converts directly to a percentile using the normal distribution. A z-score of 1 corresponds to about the 84th percentile, and 2 to about the 98th. Standardised tests often report results this way, sometimes rescaled to friendlier numbers, such as a mean of 100 and a standard deviation of 15 for many intelligence tests.
A different Z-score in finance
The Altman Z-score, used in finance to estimate the risk of a company going bankrupt, shares the name but is a different measure: a weighted combination of financial ratios. It is not a standard score in the statistical sense. When you meet "Z-score" in a financial report, check which one is meant.
Common mistakes
- Using a z-score with data that is far from normal and reading percentiles from the normal table.
- Calculating with the sample standard deviation from a tiny sample and over-interpreting extremes.
- Forgetting the sign: a negative z-score means below the mean.
- Confusing the statistical z-score with the Altman Z-score.
Related tools
For normal probabilities, use Normal Distribution Calculator. For outliers, try Outlier Calculator, and for percentiles, Percentile Calculator.
Z-scores in spreadsheets
Spreadsheets calculate z-scores with =STANDARDIZE(value, mean, standard_deviation), or simply =(value − mean)/sd. To turn a z-score into a percentile for normal data, use =NORM.S.DIST(z, TRUE), which returns the share of values below that z-score. Applying these formulas down a column standardises a whole data set in seconds.
Combining measures into an index
Z-scores let you combine measures on different scales into one index. A school might average students' z-scores across several subjects, so that a strong result in a hard test counts as much as a strong result in an easy one. Researchers build wellbeing, development and economic indices in a similar way. Deciding whether each measure should carry equal weight is part of designing such an index.
Small samples
With small samples, the sample mean and standard deviation are themselves uncertain, so z-scores calculated from them are less reliable. Statisticians use the t-distribution instead of the normal distribution when estimating means from small samples, which allows for that extra uncertainty. For a handful of values, treat any z-score as a rough guide rather than a precise percentile.
Limits
Calculations are exact; percentile conversions assume a normal distribution, which real data may only approximate.
Frequently asked questions
What is a z-score?
The number of standard deviations a value is from the mean. Positive z-scores are above the mean and negative ones below. A z-score of 2 means the value is two standard deviations above average.
How do I calculate a z-score?
Subtract the mean from the value and divide by the standard deviation: z = (x − μ) ÷ σ. A height of 190 cm with mean 175 and SD 7.5 gives z = 15 ÷ 7.5 = 2.
How do I convert a z-score to a percentile?
Find the area under the standard normal curve to the left of z, Φ(z), and multiply by 100. A z of 1 is about the 84th percentile, 0 is the 50th and −1 is about the 16th.
What is a good z-score?
It depends on context. For test scores, anything above 0 is above average and above 2 is exceptional, roughly the top 2.3%. In hypothesis tests, |z| above 1.96 is significant at the 5% level, two-tailed.
What z-score is the 95th percentile?
About 1.644854. The 97.5th percentile is z ≈ 1.959964, which is why 1.96 appears in 95% confidence intervals: 95% of a normal distribution lies within 1.96 standard deviations of the mean.
Can a z-score be negative?
Yes. A negative z-score simply means the value is below the mean. A z-score of −1.5 is one and a half standard deviations below average, around the 6.7th percentile.
Do z-scores require a normal distribution?
You can compute a z-score for any data, but turning it into a percentile or p-value with the normal curve is only accurate when the data are approximately normal.
How do I compare scores from two different tests?
Convert each to a z-score using that test's own mean and standard deviation. A 75 on a test with mean 65 and SD 5 (z = 2) is more impressive than an 85 on a test with mean 80 and SD 10 (z = 0.5).