data

How To Calculate Z Score: A Practical Step-by-step Guide

A z score tells you exactly where a single data point sits within a broader distribution. If you've ever looked at a test score, a financial return, or a quality control metric and wondered how unusua

How To Calculate Z Score: A Practical Step-by-step Guide
In this story

A z-score tells you exactly where a single data point sits within a broader distribution. If you've ever looked at a test score, a financial return, or a quality control metric and wondered how unusual it really is, the z-score is the tool that gives you your answer.

At its core, a z-score converts raw data into a standard scale measured in standard deviations from the mean. A positive score means your data point sits above average, while a negative score puts it below.

Understanding the Z Score Formula

Before crunching numbers, you need to understand the components that make up the calculation. The standard formula is straightforward:

$$z = \frac{x - \mu}{\sigma}$$ More details into this topic are explored by Associated Press.

Here is what each variable means in practice:

  • $x$: The specific raw data point you're evaluating.
  • $\mu$ (mu): The mean (average) of the entire dataset.
  • $\sigma$ (sigma): The standard deviation of the dataset, which measures how spread out the numbers are.

If you are working with a sample rather than an entire population, the formula stays identical, but you use sample statistics ($x$ and $s$) instead of population parameters.

Step-by-Step Guide to Calculating a Z Score

Computing a z-score by hand takes four clear steps. Let's walk through an example using a small set of employee weekly sales figures: $450, $500, $550, $600, and $700. We want to find the z-score for the sales figure of $700.

Step 1: Identify Your Target Value

First, isolate the exact number you want to analyze. In our case, $x = 700$.

Step 2: Calculate the Mean

Add all the values together and divide by the total count of numbers in your dataset ($n$).

  • Sum of values: $450 + 500 + 550 + 600 + 700 = 2800$
  • Count: $5$
  • Mean ($\mu$): $2800 / 5 = 560$

Step 3: Find the Standard Deviation

Standard deviation tells you how much variation exists from the mean. To find it:

  1. Subtract the mean from each data point and square the result.
    • $(450 - 560)^2 = (-110)^2 = 12100$
    • $(500 - 560)^2 = (-60)^2 = 3600$
    • $(550 - 560)^2 = (-10)^2 = 100$
    • $(600 - 560)^2 = (40)^2 = 1600$
    • $(700 - 560)^2 = (140)^2 = 19600$
  2. Sum those squared differences: $12100 + 3600 + 100 + 1600 + 19600 = 37000$.
  3. Divide by your sample size minus one ($n - 1$ for a sample, or $n$ for a population). Let's treat this as a sample, so $5 - 1 = 4$.
    • $37000 / 4 = 9250$.
  4. Take the square root of that variance: $\sqrt{9250} \approx 96.18$.

Step 4: Apply the Z Score Equation

Now plug your numbers into the formula:

$$z = \frac{700 - 560}{96.18}$$ $$z = \frac{140}{96.18} \approx 1.45$$

Your z-score is $1.45$. This means a sales figure of $700$ sits $1.45$ standard deviations above the average sales volume.

Interpreting Your Results

Once you get a number, you have to know what it tells you. A z-score isn't just a random integer; it relates directly to probability and standard normal distributions.

  • Zero ($0$): Your data point matches the exact average of the dataset.
  • Positive values: The data point sits above the mean. A score of $+2.0$ means it's two standard deviations higher than average, which typically places it in the top 2.5% of a normal distribution.
  • Negative values: The data point sits below the mean. A score of $-1.5$ means it's one and a half standard deviations lower than average.

You can convert these scores into percentiles using standard normal distribution tables or tools like the National Institute of Standards and Technology engineering statistics handbook to see what percentage of data falls below your score.

Common Mistakes to Avoid

When people struggle with z-scores, it's usually due to a few common calculation pitfalls:

  • Mixing up population and sample formulas: Make sure you divide by $n$ when working with a full population, but $n - 1$ (Bessel's correction) when working with a sample.
  • Forgetting order of operations: Always complete the subtraction in the numerator ($x - \mu$) completely before dividing by the standard deviation. Skipping parentheses in calculator software leads to wrong answers.
  • Ignoring negative signs: A negative z-score is entirely normal. Don't drop the negative sign thinking it's a math error; it simply indicates a value below the mean.

Frequently Asked Questions

Can a z-score be greater than 3?

Yes. While roughly 99.7% of data in a normal distribution falls between $-3$ and $+3$ standard deviations, outliers can easily yield z-scores of $4$, $5$, or higher in skewed or large datasets.

What is the difference between a z-score and a t-score?

Use a z-score when you know the population standard deviation and have a large sample size (typically $n > 30$). Use a t-score when your sample size is small and the population standard deviation is unknown.

How do I calculate a z-score in Excel or Google Sheets?

You don't have to do it by hand every time. You can use the built-in function STANDARDIZE(x, mean, standard_dev) to instantly compute the z-score for any cell in your spreadsheet.

CR

Written by

Chloe Ramirez

Chloe Ramirez excels at making complicated information accessible, turning dense research into clear narratives that engage diverse audiences.

More from data