Standard Deviation and Z-Score Graphs Explained

What Standard Deviation and Z-Scores Actually Tell You

If you've ever looked at a dataset and wondered how spread out the values really are, standard deviation is your answer. And when you need to figure out where a specific value sits within that spread, that's what z-scores do.

These two concepts work together. You can't fully understand one without the other. Most explanations make them sound more complicated than they are. Let's fix that.

Standard Deviation: Measuring the Spread

Standard deviation tells you how far, on average, data points sit from the mean. A low standard deviation means values cluster near the middle. A high standard deviation means they're all over the place.

How It's Calculated

You find the mean, subtract it from each data point, square those differences, average them, then take the square root. Yes, it's a few steps. Here's the short version:

The result is standard deviation. It's in the same units as your original data, which makes it easier to interpret than variance.

What the Numbers Mean in Practice

If test scores have a mean of 75 and a standard deviation of 10, most students scored between 65 and 85. About 68% of data falls within one standard deviation of the mean in a normal distribution. About 95% falls within two standard deviations. About 99.7% falls within three.

This is the 68-95-99.7 rule. Memorize it. You'll see it everywhere.

Z-Scores: Where Does This Value Actually Sit?

A z-score tells you how many standard deviations a specific value is from the mean. That's it. Positive z-scores are above the mean. Negative ones are below.

The Formula

Z = (X - μ) / σ

Where X is your value, μ is the mean, and σ is the standard deviation.

Say the average height for men is 70 inches with a standard deviation of 3 inches. If you're 73 inches tall, your z-score is (73 - 70) / 3 = 1.0. You're exactly one standard deviation above average.

A z-score of 2.0 means you're two standard deviations above the mean. A z-score of -1.5 means you're 1.5 standard deviations below.

Why Z-Scores Matter

Z-scores let you compare apples to oranges. A test score of 720 on the SAT and a score of 150 on an IQ test don't mean much on their own. But if you know the mean and standard deviation for each test, you can convert both to z-scores and see which is relatively better.

Z-scores also let you use standard normal distribution tables. These tables tell you what percentage of values fall below any given z-score.

Reading the Graphs: What You're Actually Looking At

Standard deviation and z-score graphs usually show a bell curve (the normal distribution). The middle of the curve is the mean. The curve tapers off symmetrically on both sides.

The Bell Curve Breakdown

The peak of the curve is where the mean sits. As you move away from the center, the curve drops. The steeper the curve, the smaller the standard deviation. The flatter the curve, the larger the standard deviation.

On a z-score graph, the x-axis shows standard deviations from the mean instead of raw values. A value at z = 0 is right in the center. Z = -1 is one standard deviation to the left. Z = 2 is two standard deviations to the right.

Reading Percentages on the Curve

When you look at a shaded region on a normal distribution graph, you're usually looking at a percentage of the data. The area under the entire curve equals 100% of the data. Shaded regions typically show what percentage of observations fall in a specific range.

If a graph shades the area between z = -1 and z = 1, that represents about 68% of the data. Between z = -2 and z = 2 is about 95%. Between z = -3 and z = 3 is about 99.7%.

Standard Deviation vs. Z-Score: The Key Differences

Standard deviation is a property of your entire dataset. Z-score is a property of individual values within that dataset.

Standard deviation describes spread. Z-score describes position.

You calculate standard deviation once for your dataset. You calculate a z-score for each individual data point.

Here's a quick comparison:

Feature Standard Deviation Z-Score
What it measures Spread of data Position of a value
Scope Whole dataset Individual data point
Can be negative? No (always positive or zero) Yes
Unit of measurement Same as original data Standard deviations (unitless)
Calculated once or per value? Once per dataset For each observation

Common Mistakes to Avoid

Assuming normality. Standard deviation and z-scores assume your data follows a normal distribution. If it doesn't, percentages from z-score tables won't be accurate.

Confusing sample and population standard deviation. The formulas are slightly different. Sample standard deviation uses n-1 in the denominator. Population standard deviation uses n. Using the wrong one introduces bias.

Ignoring outliers. Standard deviation is sensitive to extreme values. One wild outlier can inflate it dramatically and make your z-scores misleading.

Forgetting that z-scores are unitless. A z-score of 2 doesn't tell you anything about actual units. You need the mean and standard deviation to interpret what it actually means in context.

How to Calculate and Visualize This: Getting Started

You can calculate standard deviation and z-scores in Excel, Google Sheets, Python, or by hand. Here's how to do it quickly.

In Excel or Google Sheets

For standard deviation, use =STDEV.P() for population data or =STDEV.S() for sample data. For z-scores, calculate standard deviation first, then use =(A1 - AVERAGE(A:A)) / STDEV.P(A:A) for each value.

In Python

import numpy as np

data = [14, 22, 28, 35, 41, 47, 52, 58, 63, 70]

# Calculate standard deviation
std_dev = np.std(data)

# Calculate z-scores
mean = np.mean(data)
z_scores = [(x - mean) / std_dev for x in data]

Visualizing in Python with Matplotlib

import matplotlib.pyplot as plt
import numpy as np
from scipy import stats

data = [14, 22, 28, 35, 41, 47, 52, 58, 63, 70]
mean = np.mean(data)
std_dev = np.std(data)

# Create the normal distribution curve
x = np.linspace(mean - 4*std_dev, mean + 4*std_dev, 100)
y = stats.norm.pdf(x, mean, std_dev)

plt.plot(x, y)
plt.axvline(mean, color='black', linestyle='--', label='Mean')
plt.axvline(mean + std_dev, color='red', linestyle=':', label='±1 SD')
plt.axvline(mean - std_dev, color='red', linestyle=':')
plt.fill_between(x, y, alpha=0.3)
plt.legend()
plt.show()

When to Use This in Real Work

Standard deviation and z-scores show up constantly in data analysis, quality control, test scoring, and research. Any time you need to understand where a value sits relative to a distribution, z-scores are the tool.

Quality control teams use them to flag products outside acceptable ranges. Psychologists use them to interpret test results. Financial analysts use them to assess risk. Scientists use them to identify outliers.

If you're working with data and not using these concepts, you're flying blind.