Clinicians often need to know how unusual a measurement is. Is a child of 117 cm short for age? Is a bone density result low for a patient’s age? The z-score answers these questions with one number. It shows how many standard deviations a value lies above or below the mean of a reference population. However, a common mistake is to use the wrong reference, or to read the result as a percentage. This guide explains the z-score in simple steps, from the formula and the z table to reporting, using one hypothetical clinical example.
Table of Contents
Working on a study? StatisMed biostatisticians can run your analysis, calculate your sample size, and write your Results section. Get a free quote →
What Is a Z-Score?
A z-score (also called a standard score) is the distance between a value and the mean, measured in standard deviation units. The z-score formula is z = (x − mean) / SD. Therefore, a value of 0 equals the mean, +1 is one standard deviation above the mean, and −2 is two standard deviations below it (Andrade, 2021). If you need a refresher on these two quantities, our article on mean and standard deviation explains them.
Standard Score of a Single Measurement
The most common use is to standardize one patient’s value against a reference population. For example, a child’s height is compared with the mean and SD of healthy children of the same age and sex. Notably, the result has no units, so it can be compared across ages and measurements.
Standardizing Within a Study Sample
A z score can also be calculated with the mean and SD of the study sample itself. This is useful to put variables on the same scale before analysis, or to detect possible outliers. In this case, values beyond ±3 are usually checked for data entry errors.
The Z-Statistic of a Test
Many statistical tests produce a z-statistic, for example the test of two proportions or the Mann-Whitney U test with a large sample. Moreover, this statistic is read from the same standard normal curve to obtain the p-value. Indeed, the value 1.96 in every 95% confidence interval is a z-score.
Importance of the Z-Score in Medical Research
Comparing Values on Different Scales
Height in centimetres, weight in kilograms and blood pressure in mmHg cannot be compared directly. However, once each value is standardized, all of them are expressed in the same unit: standard deviations from the reference mean.
Adjusting for Age, Sex and Body Size
Many measurements change with age, sex or body size. Standardization removes this effect by comparing each patient with the right reference group. For example, echocardiographic and aortic dimensions are often reported as standard scores adjusted for body surface area (Curtis et al., 2016).
Linking Values to Percentiles
When the reference distribution is normal, each standard score corresponds to a percentile. Therefore, a clinician can say that a child is below the 2.3rd percentile, which is easy for parents and colleagues to understand. Our article on the characteristics of the normal distribution explains this link.
Applications of the Z-Score in Clinical Studies
Growth Charts in Paediatrics
Height-for-age, weight-for-age and BMI-for-age scores are the standard way to assess child growth. In addition, the World Health Organization uses fixed cut-offs: a height-for-age value below −2 SD indicates stunting, and below −3 SD indicates severe stunting.
Bone Mineral Density
Bone density reports give two standardized scores. The T-score compares the patient with healthy young adults, whereas the Z-score compares the patient with people of the same age and sex. Notably, the Z-score is preferred in children, premenopausal women and younger men.
Cardiology and Laboratory Medicine
Paediatric cardiologists report coronary artery and aortic diameters in SD units. Furthermore, laboratories use the same idea for quality control, where a control result beyond ±2 SD from the target mean triggers a check of the analyser.
Assumptions of the Z-Score
The calculation is easy, but its meaning depends on the following conditions:
- The reference mean and SD come from a suitable population (same age, sex and, where needed, ethnicity).
- The reference sample is large, so its mean and SD are precise.
- The reference distribution is approximately normal if results are converted to percentiles with the z table.
- Skewed measurements (such as weight or BMI) are transformed first, for example with the LMS method used in growth references.
- The patient’s value is measured with the same method and units as the reference.
- Each patient’s score is calculated from an independent measurement.
How to Calculate a Z-Score: A Clinical Example
Consider a hypothetical study of height in boys aged 8 years. To keep the calculation simple, the reference population has a mean height of 128.0 cm and an SD of 5.5 cm. In practice, researchers should use published growth references (WHO or CDC), which apply the LMS method rather than a single mean and SD.
Step 1: Define the Reference Mean and SD
The first step is to choose the reference and write down its mean and SD. Moreover, the cut-offs can be converted back to centimetres with x = mean + z × SD. Table 1 shows these values for the hypothetical reference.
| Cut-off (z) | Height (cm) | Classification |
|---|---|---|
| +2 | 139.0 | Tall for age (above) |
| 0 | 128.0 | Reference mean |
| −2 | 117.0 | Stunted (below) |
| −3 | 111.5 | Severely stunted (below) |
Table 1. Height-for-age cut-offs for the hypothetical reference (mean = 128.0 cm, SD = 5.5 cm).
Step 2: Apply the Z-Score Formula
A boy aged 8 years measures 117.0 cm. His score is z = (117.0 − 128.0) / 5.5 = −11.0 / 5.5 = −2.00. Therefore, he is exactly two standard deviations below the reference mean. A z score calculator gives the same result, but the manual calculation shows clearly what the number means.
Step 3: Find the Percentile in the Z Table
The z table gives the proportion of the standard normal curve below each value of z. For z = −2.00, the proportion is 0.0228. Therefore, the boy is at the 2.3rd percentile, and about 2.3% of healthy boys of his age are shorter. Table 2 shows the most useful values.
| z | Proportion below | Percentile |
|---|---|---|
| −3.00 | 0.0013 | 0.1st |
| −2.00 | 0.0228 | 2.3rd |
| −1.96 | 0.0250 | 2.5th |
| −1.00 | 0.1587 | 15.9th |
| 0.00 | 0.5000 | 50th |
| +1.00 | 0.8413 | 84.1st |
| +1.96 | 0.9750 | 97.5th |
| +2.00 | 0.9772 | 97.7th |
Table 2. Selected values from the standard normal (z) table.
In addition, about 68.3% of values lie within ±1 SD, 95.4% within ±2 SD and 99.7% within ±3 SD. Our article on the normal distribution curve shows these areas.
Step 4: Calculate and Classify Several Patients
The same formula is applied to every child in the clinic. Table 3 shows six boys, their scores, percentiles and classification.
| Child | Height (cm) | z | Percentile | Classification |
|---|---|---|---|---|
| A | 136.3 | +1.51 | 93.4th | Normal |
| B | 131.0 | +0.55 | 70.7th | Normal |
| C | 128.0 | 0.00 | 50.0th | Normal |
| D | 122.5 | −1.00 | 15.9th | Normal |
| E | 117.0 | −2.00 | 2.3rd | Borderline (at the cut-off) |
| F | 110.4 | −3.20 | 0.1st | Severely stunted |
Table 3. Height-for-age z-scores of six hypothetical boys aged 8 years.
Notably, child E is exactly at −2.00. Because stunting is defined as a value below −2, he is not classified as stunted. Therefore, the protocol should state clearly whether the cut-off is “below” or “at or below”.
Step 5: Summarize the Scores of a Study Group
Now consider a hypothetical comparative study of 120 boys aged 8 years with chronic kidney disease and 120 healthy controls of the same age. Each boy’s height was standardized with the same reference. The scores were approximately normal, so they were summarized as mean (SD). The mean height-for-age z-score was −1.12 (SD 1.05) in the chronic kidney disease group and −0.08 (SD 0.98) in the control group.
Step 6: Compare the Groups
The means of two independent groups are compared with the independent samples t-test. The result was t = −7.93, df = 238, p < 0.001, with MD = −1.04, 95% CI, −1.30 to −0.78. Moreover, the standardized effect size was large (Cohen’s d = −1.02).
In addition, the proportion of stunted boys (below −2) was compared with the chi-square test. All expected counts were above 5 (the smallest was 13.5), and the result was χ² = 18.40, df = 1, p < 0.001. The odds ratio was OR = 9.75, 95% CI, 2.85 to 33.36, p < 0.001.
| Outcome | Chronic kidney disease (n = 120) | Healthy controls (n = 120) | Effect (95% CI) | p-value |
|---|---|---|---|---|
| Height-for-age z-score, mean (SD) | −1.12 (1.05) | −0.08 (0.98) | MD = −1.04 (−1.30 to −0.78) | < 0.001 |
| Stunting (below −2 SD), n (%) | 24 (20.0%) | 3 (2.5%) | OR = 9.75 (2.85 to 33.36) | < 0.001 |
Table 4. Comparison of height-for-age scores between groups (hypothetical data; t-test and chi-square test).
How to Report Z-Score Results in a Manuscript
The Methods section should name the reference population (for example, WHO 2007 growth reference), the software or z score calculator used, and the cut-offs. It should also state how the groups were compared. The Results section should then present the significant findings, as shown below:
Height-for-Age Z-Scores by Study Group
The mean height-for-age z-score was significantly lower among boys with chronic kidney disease (mean = −1.12, SD 1.05) than among healthy controls (mean = −0.08, SD 0.98; MD = −1.04, 95% CI, −1.30 to −0.78, p < 0.001). Moreover, stunting (height-for-age below −2 SD) was significantly more frequent among boys with chronic kidney disease (24 of 120, 20.0%) than among healthy controls (3 of 120, 2.5%; OR = 9.75, 95% CI, 2.85 to 33.36, p < 0.001). (Table 4)
Notably, the interpretation of these findings and the comparison with previous studies belong to the Discussion section, not to the Results.
Common Mistakes When Using the Z-Score
Using the Wrong Reference Population
A standard score is only as good as its reference. For example, comparing a child with an adult reference, or a girl with a boys’ chart, gives a meaningless number. Therefore, always state the reference and check that it matches the age and sex of each patient.
Reading a Z-Score as a Percentage
A value of −2 does not mean “2% below normal”. It means two standard deviations below the mean, which corresponds to the 2.3rd percentile. In addition, percentiles change slowly near the mean and very quickly in the tails.
Converting Skewed Data with a Simple Formula
Weight, BMI and many laboratory values are right-skewed. In this case, the simple formula gives wrong percentiles in the tails. Indeed, this is why growth references use the LMS method, and why the source of each equation should always be reported (Curtis et al., 2016).
Confusing the T-Score and the Z-Score
In bone densitometry, the two scores use different reference groups. Using the T-score in a child or a young adult overestimates bone loss. Moreover, the two scores should never be mixed in the same analysis.
Dichotomizing Without Reporting the Mean
Reporting only “stunted vs not stunted” discards information. As in the example above, report both the mean score with its 95% CI and the proportion below the cut-off. Our article on confidence intervals explains how to present the precision of the mean difference.
Calculating the Z-Score in SPSS and R
In SPSS, standardized values based on the study sample are created with Analyze → Descriptive Statistics → Descriptives, ticking “Save standardized values as variables”. For an external reference, use Transform → Compute Variable with the expression (height − 128.0) / 5.5. Then compare the groups with Analyze → Compare Means → Independent-Samples T Test.
In R, one line gives the score and its percentile: z <- (height - 128) / 5.5; pnorm(z) * 100. In addition, the anthro and childsds packages use WHO and other growth references directly.
Conclusion
The z-score expresses any measurement as the number of standard deviations from a reference mean. It allows comparison across ages and scales, links values to percentiles through the z table, and gives clear clinical cut-offs such as −2 for stunting. However, its meaning depends on a suitable reference and, for skewed data, on the right transformation. Finally, when groups are compared, both the mean and the proportion below the cut-off should be reported.
If you need support in choosing a growth reference or analyzing your clinical data, the StatisMed team of biostatisticians provides statistical analysis services for medical studies. You can request a free quote today.
Frequently Asked Questions
1. What is a good z-score?
There is no “good” z-score in general. In growth assessment, values between −2 and +2 are usually considered within the normal range. However, the clinical meaning depends on the measurement and the guideline used.
2. Can a z-score be negative?
Yes. A negative value means that the measurement is below the reference mean, and a positive value means that it is above. For example, −1.00 corresponds to the 15.9th percentile.
3. What is the difference between a z-score and a p-value?
A standard score describes the position of one value or one test statistic on the standard normal curve. The p-value is the probability of a result at least as extreme as this z-statistic under the null hypothesis. For example, z = 1.96 gives a two-sided p-value of 0.05. Our guide to probability fundamentals explains this idea further.
References
Andrade, C. (2021). Z scores, standard scores, and composite test scores explained. Indian Journal of Psychological Medicine, 43(6), 555–557. https://doi.org/10.1177/02537176211046525
Curtis, A. E., Smith, T. A., Ziganshin, B. A., & Elefteriades, J. A. (2016). The mystery of the Z-score. AORTA Journal, 4(4), 124–130. https://doi.org/10.12945/j.aorta.2016.16.014




