Logo

MonoCalc

/

Z-Score Calculator

Math

Quick presets:

Formula Reference

z = (x − μ) / σ — Z-score from raw value

x = μ + z × σ — Raw value from z-score

P(Z ≤ z) = Φ(z) — Left-tail cumulative probability

P(a ≤ X ≤ b) = Φ(z₂) − Φ(z₁) — Between bounds

About This Tool

🔢 Z-Score Calculator – Standardize Values & Find Percentiles

A z-score (also called a standard score) tells you how many standard deviations a value is from the mean of its distribution. This single number lets you instantly compare results across exams, measurements, and experiments that use completely different scales — whether you are analyzing test scores, lab values, manufacturing tolerances, or research data.

🧮 The Z-Score Formula

The core formula is straightforward:

z = (x − μ) / σ

Where x is the observed value, μ (mu) is the population mean, and σ (sigma) is the standard deviation. A positive z-score means the value is above average; a negative z-score means it is below average. To reverse the process — finding the original-scale value from a z-score — use:

x = μ + z × σ

📊 Five Calculation Modes

This tool supports five distinct use cases, each available on its own tab:

  • Raw → Z-Score: Enter the observed value, mean, and standard deviation to instantly compute the z-score, percentile rank, and left-/right-tail probabilities.
  • Z-Score → Raw Value: Enter a z-score plus the distribution parameters to recover the original measurement — useful in reverse engineering or hypothesis testing.
  • Z-Score → Probability: Look up the cumulative normal probability for any z-score. Get the left-tail P(Z ≤ z), right-tail P(Z > z), and two-tailed probability in one step.
  • Range Probability: Find the probability that a normally distributed value falls below a threshold, above a threshold, or between two bounds — key for quality control, tolerance analysis, and statistical testing.
  • Dataset Standardization: Paste a list of numbers to standardize the entire set at once. The tool computes the dataset mean and standard deviation, generates a z-score and percentile for each entry, and automatically flags statistical outliers beyond your chosen threshold.

📈 Reading the Bell Curve Visualization

Each result in the single-value modes displays a standard normal bell curve with the relevant area shaded in blue. The shaded region visually represents the probability you calculated. An orange dashed marker shows the exact z-score position on the z-axis. The horizontal axis runs from z = −4 to z = +4, covering virtually the entire normal distribution (99.994% of all values lie within ±4 standard deviations).

🎯 Practical Applications

Z-scores are used across many fields:

  • Education:Compare a student's exam score against the class distribution, even across tests with different point scales.
  • Healthcare: Lab results such as blood pressure, cholesterol, and blood glucose are often interpreted relative to population norms using standardized scores.
  • Manufacturing & Quality Control: Statistical process control uses z-scores to determine whether measurements fall within acceptable tolerances (e.g., the ±3σ rule covers 99.73% of output).
  • Finance: Risk models and portfolio analysis use z-scores to identify outlier returns and stress-test scenarios.
  • Research: Standardized scores allow direct comparison of results across studies with different measurement scales.

🚩 Outlier Detection in Dataset Mode

In Dataset mode, any value whose absolute z-score exceeds the threshold is highlighted as a potential outlier. Common thresholds:

  • |z| > 2 — Flags roughly the top and bottom 5% of a normal distribution. Good for exploratory data analysis.
  • |z| > 3 — The classic "three-sigma rule." Only about 0.3% of values from a normal distribution exceed this threshold.

Remember: outlier detection assumes approximate normality. For heavily skewed datasets, consider using the interquartile range (IQR) method instead.

⚠️ Important Caveats

The probability and percentile outputs assume a normal distribution. If your data is significantly skewed or multimodal, the z-score formula still works as a standardization tool, but the probability lookups will not be accurate. Always verify distributional assumptions before drawing statistical conclusions.

When working with a sample rather than the full population, the dataset mode offers a toggle between population standard deviation (divides by N) and sample standard deviation (divides by N − 1, Bessel's correction). For most real-world datasets drawn from a larger population, sample standard deviation is appropriate.

Frequently Asked Questions

Is the Z-Score Calculator free?

Yes, Z-Score Calculator is totally free :)

Can I use the Z-Score Calculator offline?

Yes, you can install the webapp as PWA.

Is it safe to use Z-Score Calculator?

Yes, any data related to Z-Score Calculator only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

What is a z-score and what does it tell me?

A z-score (or standard score) measures how many standard deviations a value is from the mean of its distribution. A z-score of 0 means the value equals the mean; +1.96 means it is 1.96 standard deviations above the mean. Z-scores let you compare values from distributions with different units and scales on a common standard.

How does this Z-Score Calculator work?

Choose a calculation mode: Raw → Z-Score (enter the observed value, mean, and standard deviation to get the z-score and percentile), Z → Raw Value (reverse the formula to find the original-scale value), Z → Probability (look up cumulative probabilities for a known z-score), Range Probability (find the probability of a value falling below, above, or between bounds), or Dataset mode (paste a list of numbers to standardize the entire set and flag outliers).

What is the formula for calculating a z-score?

The z-score formula is z = (x − μ) / σ, where x is the observed value, μ (mu) is the population mean, and σ (sigma) is the standard deviation. The reverse — recovering the raw value from a z-score — uses x = μ + z × σ.

How are probabilities and percentiles calculated from a z-score?

Probabilities are computed from the standard normal cumulative distribution function Φ(z), which gives P(Z ≤ z) — the proportion of a normal distribution that lies at or below z. The tool uses the Abramowitz & Stegun error-function approximation for high accuracy. The percentile rank is simply Φ(z) × 100.

When does the tool flag a value as an outlier?

In Dataset mode, any value whose absolute z-score exceeds the outlier threshold is flagged. The default threshold is 2 (roughly the top and bottom 5% of a normal distribution), but you can change it to 3 (the classic 99.7% rule) or any positive number that suits your domain.

Does the z-score formula assume a normal distribution?

The z-score itself is just a standardization formula and can be applied to any numeric dataset. However, the percentile and probability outputs are only valid under the assumption of a normal (Gaussian) distribution. In dataset mode, the tool computes z-scores using the dataset's own mean and standard deviation regardless of the underlying shape.