Z-Score Standardization Calculator
Standardization (the z-score transformation) re-expresses every observation of a variable as the number of standard deviations it sits from the mean. After the transformation the series has a mean of exactly 0 and a standard deviation of exactly 1; the values become unitless, and variables measured on different scales become directly comparable.
This calculator standardizes not a single score but the whole data set: it lists each observation's deviation from the mean, its z-score, and the T score used in educational measurement (50 + 10z), flags observations beyond the threshold you choose, and draws before-and-after histograms. This is the preprocessing step that lets variables contribute with equal weight in regression, principal component analysis, clustering, and neural networks.
Standardization Formulas
z-score: zᵢ = (xᵢ − x̄) / s Population form: zᵢ = (xᵢ − μ) / σ Sum of deviations: Σ(xᵢ − x̄) = 0 → z̄ = 0 Transformed variance: s²_z = Σ(zᵢ − z̄)² / (n − 1) = 1 T score: T = 50 + 10 · z IQ scale: IQ = 100 + 15 · z Inverse transform: x = x̄ + z · s
The identities z̄ = 0 and s_z = 1 hold algebraically for every data set; if the computation is correct, those two numbers cannot take any other value. The very small deviations you may see on screen come only from floating-point rounding.
How to Calculate
- Paste every value you want to standardize into the box; commas, spaces, and line breaks are all accepted.
- Choose whether the data is a sample or the entire population — this decides whether the standard deviation in the denominator of the z formula uses n−1 or n.
- Choose the outlier threshold: |z| > 3 is common in the social sciences, while |z| > 2 is often used in small samples.
- Read each observation's z-score and T score from the table; rows beyond the threshold are flagged as 'Beyond threshold'.
- Confirm in the results card that the transformed series has a mean of 0 and a standard deviation of 1 — that is the check that the transformation was applied correctly.
- Compare the before and after histograms: the shape staying the same shows that standardization does not make the distribution normal.
Worked Examples
Standardizing exam scores
The 15 scores have a mean of 73.20 and a sample standard deviation of 14.18; the score of 40 is the only observation beyond the |z| > 2 threshold, with z = -2.341 and a T score of 26.6. The transformed series has a mean of 0.0000 and a standard deviation of 1.0000, while the skewness stays at -0.589.
Sample size (n): 15 · Raw mean (x̄): 73.20 · Raw standard deviation (s): 14.18
Standardizing with the population formula
The five values have a mean of 14.00 and a population standard deviation of √(40.00 / 5) = 2.83. The two ends of the series take z = 1.414 for 18 and z = -1.414 for 10. If the same data were treated as a sample, the denominator would be n − 1 instead of n and the z-scores at the ends would shrink slightly.
Sample size (n): 5 · Raw mean (x̄): 14.00 · Raw standard deviation (σ): 2.83
Flagging an outlier
The mean is 31.07 and the standard deviation is 13.53; the value 78 is the only observation beyond the |z| > 3 threshold, with z = 3.469. Because the outlier inflates the standard deviation, the z-scores of the remaining 14 observations are squeezed between -0.744 and 0.217.
Sample size (n): 15 · Raw mean (x̄): 31.07 · Raw standard deviation (s): 13.53