Z-Score Calculator

A z-score calculator takes a raw data point and tells you exactly where it sits relative to the rest of a dataset. Plug in your value, the mean, and the standard deviation, and you get a number that makes comparison instant and precise. Whether you're a student checking exam results, a researcher screening for outliers, or just someone trying to make sense of a dataset, z-scores give you a universal measuring stick. Same scale, every time.

Enter Details

Value (x)

Mean (μ)

Std dev (σ)

Result

(x − μ) ÷ σ

Note — This result is an estimate. Talk to a healthcare provider for personalized guidance.

How to Use the Z-Score Calculator

Using the calculator is straightforward. You'll need three values:

  • X — the individual data point you want to evaluate
  • Mean (μ or x̄) — the average of your dataset
  • Standard Deviation (σ or s) — how spread out the data is

Enter all three into the corresponding fields and hit calculate. The tool returns your z-score instantly, and many versions will also show you the corresponding percentile so you know exactly where your value ranks.

One thing to watch: make sure you're using the right standard deviation. Population standard deviation (σ) applies when you have data for an entire group. Sample standard deviation (s) is for when your data is a subset of a larger population. The difference matters, and we'll cover it more later.

What Is a Z-Score?

A z-score (also called a standard score) measures how many standard deviations a data point is from the mean of its distribution. It's a way of standardizing values so you can compare apples to oranges across different datasets.

Say you scored 85 on a math test and 78 on a history test. Which score was actually better relative to your class? Without knowing the average and spread for each test, you can't tell. Z-scores solve that problem. They put both scores on the same scale so a direct comparison is possible.

A z-score of 0 means you're right at the mean. A score of 1.0 means you're one standard deviation above average. A score of -2.0 means you're two standard deviations below. Simple as that.

Z-Score Formula

The formula is clean and concise. For a population:

z = (X − μ) / σ

For a sample:

z = (X − x̄) / s

Where X is your data point, μ (or ) is the mean, and σ (or s) is the standard deviation. Subtract the mean from your value, then divide by the standard deviation. That's it.

Calculate Z-Score from Mean and Standard Deviation

Let's say a dataset has a mean of 50 and a standard deviation of 10. You want to find the z-score for a value of 65.

Plug it in: z = (65 − 50) / 10 = 15 / 10 = 1.5

That means 65 is 1.5 standard deviations above the mean. Straightforward. The same math applies regardless of the units involved, whether you're working with test scores, heights, temperatures, or anything else numerical.

If your standard deviation is zero (meaning every value in the dataset is identical), the z-score is undefined. You can't divide by zero, and frankly, there's nothing meaningful to compare anyway.

Understanding Positive and Negative Z-Scores

The sign of a z-score tells you the direction. Positive means the value is above the mean. Negative means it's below.

A z-score of +2.0 says you're two standard deviations higher than average. A z-score of -1.5 says you're one and a half standard deviations lower. Neither is inherently good or bad; context determines that. A negative z-score on a pain scale is great. A negative z-score on a performance review, less so.

Most values in a normal distribution fall between -3 and +3. If you're seeing z-scores beyond that range, you're likely looking at an outlier worth investigating.

Step-by-Step Z-Score Calculation

No calculator handy? Here's how to work through it manually.

  1. Find the mean. Add up all the values in your dataset and divide by the number of values.
  2. Calculate the standard deviation. Find how far each value deviates from the mean, square those differences, average them (for population) or divide by n−1 (for a sample), then take the square root.
  3. Apply the formula. Subtract the mean from your target value, then divide by the standard deviation.
  4. Interpret the result. Check the sign and magnitude to understand where your value falls in the distribution.

For small datasets, this is totally manageable by hand. For larger ones, that's exactly what a z-score calculator is for.

Interpret Your Z-Score Results

Getting a number is only half the job. Knowing what it means is the other half.

Z-scores are most meaningful when your data follows a roughly normal (bell-curve) distribution. In that context, standard deviation cutoffs have well-known probability meanings you can actually use.

Z-Score RangeApproximate % of Data Included
−1 to +1~68%
−2 to +2~95%
−3 to +3~99.7%

These percentages come from the empirical rule, sometimes called the 68-95-99.7 rule. It's a quick mental shortcut for gauging how typical or unusual any given value is.

Above Average vs Below Average

A positive z-score means the value is above the mean; a negative one means it's below. But how far above or below matters just as much as the direction.

A z-score of +0.2 is barely above average. A z-score of +2.5 is notably high, sitting above roughly 99% of data points in a normal distribution. On the flip side, a z-score of -0.5 is slightly below average and nothing to worry about, while -2.5 would stand out as a low outlier.

Context shapes the interpretation completely. In academic testing, a z-score of +1.5 might put a student in the top 7% of their class. In a manufacturing quality check, that same deviation from spec could mean a product fails inspection.

Identifying Outliers Using Z-Scores

One of the most practical uses of z-scores is spotting outliers. The general convention is that any data point with a z-score beyond ±3 is worth flagging as a potential outlier.

Why ±3? Because in a normal distribution, only about 0.3% of data falls outside that range. When something shows up there, it's statistically unusual enough to warrant a closer look.

Some fields use a stricter threshold of ±2.5, others are more lenient. It depends on how sensitive your analysis needs to be and what the consequences of missing an outlier are. In medical research, you'd err on the cautious side. In exploratory data analysis, ±3 is usually a solid starting point.

Keep in mind that z-scores flag statistical outliers, not necessarily errors. Sometimes extreme values are real and important. Always investigate before removing data.

Z-Score to Percentile Conversion

A z-score tells you how many standard deviations you are from the mean. A percentile tells you what percentage of the distribution falls below your value. They're closely related, and converting between them is useful when you need to communicate results to someone who doesn't know what a z-score is.

For a standard normal distribution, here are some common conversions:

Z-ScorePercentile (approx.)
-3.00.13%
-2.02.28%
-1.015.87%
0.050.00%
+1.084.13%
+2.097.72%
+3.099.87%

To get the exact percentile for any z-score, you use the cumulative distribution function (CDF) of the standard normal distribution. Most calculators and statistical software handle this automatically. A z-table works too, which is what we'll look at next.

Standard Normal Distribution and Z-Table

The standard normal distribution is a special bell curve with a mean of 0 and a standard deviation of 1. When you calculate a z-score, you're essentially converting your data to fit this standard curve, which makes lookup tables possible.

A z-table (also called a standard normal table) lists the cumulative probability associated with each z-score. You find your z-score in the table and read off the probability that a randomly chosen value from the distribution is less than or equal to yours.

There are two common formats. A left-tail table gives the area to the left of the z-score (the percentile). A right-tail table gives the area to the right (1 minus the percentile). Some tables show only positive z-scores; for negative values, you use the symmetry of the curve.

In practice, online calculators and tools like Excel's NORM.S.DIST function have largely replaced manual z-table lookups. But understanding the table helps you grasp what the calculator is actually doing under the hood.

Z-Score Calculation Examples

A few concrete examples make this click faster than any abstract explanation.

Example 1: Test Scores
A class has a mean score of 72 and a standard deviation of 8. A student scored 88.
z = (88 − 72) / 8 = 16 / 8 = 2.0
That student scored two standard deviations above the mean, landing around the 97th percentile.

Example 2: Height
Adult male heights in the U.S. have a mean of about 69.1 inches and a standard deviation of about 2.9 inches. A man who is 6'4" (76 inches) tall:
z = (76 − 69.1) / 2.9 ≈ 2.38
He's taller than roughly 99% of adult men.

Example 3: Quality Control
A factory produces bolts with a target diameter of 10mm and a standard deviation of 0.05mm. A bolt measures 10.12mm.
z = (10.12 − 10) / 0.05 = 2.4
That's outside the typical ±2 tolerance threshold, so it would likely be flagged for review.

Sample vs Population Standard Deviation

This is one of the most common sources of confusion in z-score calculations, and getting it wrong skews your results.

Population standard deviation (σ) is used when your dataset includes every member of the group you're studying. You divide the sum of squared deviations by N (the total count).

Sample standard deviation (s) is used when your data is a representative subset of a larger population. Here you divide by N−1 instead of N. That adjustment (called Bessel's correction) compensates for the fact that a sample tends to underestimate the true variability of the full population.

PopulationSample
Formula denominatorNN − 1
Symbolσs
Use whenYou have all the dataYou have a subset of the data

For large datasets, the difference between the two is tiny. For small samples (say, under 30 values), it can matter quite a bit. When in doubt about which to use, ask whether your data represents everyone in the group or just some of them.

Common Applications of Z-Scores

Z-scores show up in a surprisingly wide range of fields. Here's where they're most commonly put to work:

  • Education: Standardized test scoring, grading on a curve, comparing performance across different exams or cohorts.
  • Finance: The Altman Z-score is a well-known formula for estimating a company's bankruptcy risk based on financial ratios.
  • Healthcare and research: Clinical trials use z-scores to flag unusual patient responses, and growth charts for children rely on them to compare a child's measurements to population norms.
  • Quality control: Manufacturing processes use z-scores to detect defects and monitor whether production stays within acceptable limits.
  • Data science and machine learning: Feature scaling (also called standardization) converts raw features to z-scores so that variables with different units or ranges don't dominate model training.
  • Psychology: IQ scores and personality assessments are often reported as standardized scores derived from z-score calculations.

The common thread is comparison. Any time you need to evaluate a value relative to a distribution, or put measurements from different scales side by side, z-scores are one of the cleanest tools available.

Other Maths Calculators

Explore all