Statistics • Core Flagship Pillar

Z-Score Calculator

Convert raw observations (x) to standardized Z-scores (z = (x − μ)/σ), evaluate cumulative normal probabilities (P(Z ≤ z)), two-tailed p-values, and percentile ranks on an interactive Gaussian bell curve.

|
Last Updated: September 2026
|
Standard Normal N(0, 1) Standard
Quick-Select Z-Score Presets Standard Benchmarks

Normal Distribution Parameters

Calculated Z-Score
Z = +2.0000
Value x is exactly 2.00 standard deviations above the mean.
Standard Normal Distribution (Z ~ N(0, 1)) & Shaded Area
Cumulative Probability (Left-Tail)
0.9772
P(Z ≤ z)
Percentile Rank
97.72%
Percentage of population below x
Right-Tail Probability
0.0228 (2.28%)
P(Z > z) = 1 − P(Z ≤ z)
Two-Tailed P-Value
0.0455 (4.55%)
2 · (1 − P(Z ≤ |z|))
Z

Step-by-Step Z-Score & Probability Derivation

Direct Answer & Overview
Verified Educational Guide

How to Calculate a Z-Score

To find a Z-score: 1. Subtract the mean μ from the raw observation x (x − μ). 2. Divide the deviation by the standard deviation σ: z = (x − μ) / σ. 3. Use the standard normal distribution CDF Φ(z) to determine the left-tail percentile rank P(Z ≤ z) or right-tail exceedance probability 1 − Φ(z).

Primary Mathematical Formula Standard Mathematical Model
Standard Equation
ƒ(x)
Q.E.D.
z=x−μσ,x=μ+zσ,P(Z≤z)=Φ(z)=12π∫−∞ze−t2/2 dtz = \frac{x - \mu}{\sigma}, \quad x = \mu + z\sigma, \quad P(Z \le z) = \Phi(z) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^z e^{-t^2/2} \, dt
Evaluated with exact mathematical formulation • Rigorously verified
Exact Formula
Input Parameters
Required
1
Raw observation score x
2
Population/Sample mean μ and standard deviation σ
Expected Outputs
Calculated
Standardized Z-Score
Percentile rank, left-tail probability, right-tail probability, and shaded normal curve
Worked Numerical Example
Instant Verification
IQ score x = 130 with population mean μ = 100 and SD σ = 15
→ z = (130 − 100) / 15 = 30 / 15 = +2.00; Φ(2.00) = 0.9772
Z-Score = +2.0000 | Percentile Rank = 97.72nd Percentile

Z-Score Definition & Dimensional Normalization

A Z-score (or standard score) is a dimensionless statistic that expresses the relative position of any numerical observation in units of standard deviation from the distribution mean:

z = (x − μ) / σ

Because both numerator and denominator share the same physical units (e.g. centimeters or dollars), the resulting Z-score is a pure dimensionless number allowing fair comparison across completely different scales.

Standard Normal Z-Tables & Cumulative Probabilities

The Standard Normal Distribution (denoted $Z \sim N(0, 1)$) has a mean of 0 and standard deviation of 1. The cumulative distribution function $\Phi(z)$ computes the probability that a random variable falls below $z$:

Z-Score Cumulative Left P(Z ≤ z) Percentile Rank Exceedance Right P(Z > z)
−2.000.02282.28%0.9772
−1.000.158715.87%0.8413
0.000.500050.00% (Median)0.5000
+1.000.841384.13%0.1587
+1.960.975097.50%0.0250 (α/2)
+2.000.977297.72%0.0228

Real-World Applications of Z-Scores

Standardized College Testing

Admissions committees convert SAT scores (mean 1050, SD 210) and ACT scores (mean 21, SD 5) to Z-scores for unbiased applicant comparison.

Clinical Medicine & Outliers

Blood pressure, bone density (DEXA T-score), and pediatric growth charts use Z-scores to flag pathological abnormalities ($|z| > 2$).

Machine Learning Preprocessing

StandardScaler algorithms standardize tabular features ($x_{\text{norm}} = (x - \bar{x})/s$) to ensure uniform gradient descent convergence.

Step-by-Step Worked Numerical Solutions

Example 1: Computing Z-Score & Percentile SAT Scoring

Problem: A student scores 1365 on an exam with population mean μ = 1050 and SD σ = 210. Find the Z-score and percentile rank.

1. z = (1365 − 1050) / 210 = 315 / 210 = +1.50.
2. Look up z = 1.50 in the standard normal table: Φ(1.50) = 0.9332.
3. Percentile Rank = 0.9332 × 100 = 93.32nd percentile.
4. Exceedance Probability = 1 − 0.9332 = 0.0668 (Top 6.68%).
Result: Z = +1.50, Percentile = 93.32%

Common Pitfalls & Mistakes

Assuming Normality on Skewed Data

Z-table probabilities are only valid if the underlying population distribution is reasonably normal.

Sign Reversal on Deviations

Always compute (x − μ), NOT (μ − x). Scores below the mean must produce negative Z-scores.

Small Samples with Unknown σ

When sample size n < 30 and population σ is unknown, use Student's t-distribution rather than the Z-distribution.

Fact-Checked & Verified • Computational Accuracy Standards
Updated August 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

What is a Z-score and what does it indicate in statistics?
A Z-score (standard score) measures the exact number of standard deviations an individual data point x lies above or below the mean μ of a distribution. A positive Z-score indicates the value is above the mean, a negative Z-score indicates it is below the mean, and Z = 0 represents the mean itself.
How do you calculate a Z-score from raw data?
Subtract the population mean μ from the raw observation x and divide by the standard deviation σ: z = (x − μ) / σ. For sample data with unknown population parameters, the sample statistic is calculated as z = (x − x̄) / s.
How do you convert a Z-score to a percentile rank?
The percentile rank corresponds to the cumulative left-tail probability P(Z ≤ z) under the standard normal curve Φ(z). For example, a Z-score of +1.00 equals approximately the 84.13th percentile, and a Z-score of +2.00 corresponds to the 97.72nd percentile.
What is the relationship between Z-scores and two-tailed P-values?
In hypothesis testing, the two-tailed p-value measures the probability of observing a test statistic at least as extreme as |z| under the null hypothesis: p = 2 × [1 − Φ(|z|)]. A Z-score of ±1.96 corresponds to a p-value of 0.05 (the standard 95% confidence threshold).
How do you convert a Z-score back into a raw score (Inverse Z)?
Multiply the Z-score by the standard deviation σ and add the mean μ: x = μ + (z × σ). For example, with μ = 100 and σ = 15, a Z-score of +1.5 yields x = 100 + (1.5 × 15) = 122.5.
Why do machine learning algorithms require Z-score feature standardization?
Gradient descent optimization and distance-based machine learning models (like KNN, SVM, and Neural Networks) perform poorly when input features have widely differing scales. Z-score normalization transforms all features to have mean = 0 and variance = 1, ensuring equal weight during training.