☰

Standard Normal Distribution

Standard Normal Distribution: Definition, Formula and Worked Examples

A student scores 82 in one exam, and another scores 640 in a different exam with a different scale. Who did better? You cannot compare the raw numbers. But if you convert each score to the number of standard deviations from its own average, you can. That conversion lands both scores on the standard normal distribution, the common ruler of statistics.

The standard normal distribution is the bell curve with a mean of 0 and a standard deviation of 1. Every normal distribution, whatever its mean and spread, can be turned into this one. That is why a single z table can answer questions about heights, test scores, wait times and machine errors.

This tutorial explains the shapes data can take, what the normal and the standard normal distribution are, the formulas, how to standardize, a fully worked example with the answer, how to read z values, and how to check your results in Python.

How Data can be Spread?

Before the bell curve, it helps to see the shapes that data can take.

  • Piled to the left, with a long tail to the right. Most values are small, and a few are very large, like incomes.
    standard normal distribution tutorial
  • Piled to the right, with a long tail to the left. Most values are large, like marks in an easy exam.
    standard normal distribution tutorial in data science
  • Irregular, with several bumps. Mixed groups can give this shape.
    standard normal distribution in data science
  • Symmetric and bell shaped. Most values sit near the middle, and fewer values lie at either end. This is the normal distribution.

The live page calls the bell shape even. It is symmetric, with a peak in the middle. It is the uniform distribution that is flat, or even.

Standard Normal Distribution Definition

The normal distribution is a continuous distribution with a bell shaped, symmetric curve. It is described by two numbers: the mean, mu, which sets the centre, and the standard deviation, sigma, which sets the width.

standard normal distribution tutorial

Its main features:

  • It is symmetric around the mean.
  • The mean, the median and the mode are all equal.
  • The total area under the curve is 1, so areas are probabilities.
  • The curve never touches the horizontal axis, but gets very close beyond 3 standard deviations.
    mean, median and mode in standard normal distribution

The standard normal distribution is the special case with mu = 0 and sigma = 1. The live page never states this, and it is the very thing that makes it standard. A variable with this distribution is usually called Z.

Normal distribution compared with the standard normal distribution
Point Normal distribution Standard normal distribution
Mean mu, any value 0
Standard deviation sigma, any positive value 1
Symbol X Z
Table needed One for every mu and sigma One table for all

Note that every normal distribution is symmetric, but not every symmetric distribution is normal. A uniform distribution is symmetric and not normal. Also, most real data are only roughly normal, so treat the normal curve as a good model, not a law.

Why do We Need the Standard Normal Distribution?

  • One table for all. Standardizing turns any normal problem into a standard one, so a single z table works.
  • Comparing different scales. Z scores let you compare heights with weights, or one exam with another.
  • A good model. Many natural measures, such as heights and measurement errors, are roughly normal.
  • It is easy to work with. It has neat formulas and well known areas.
  • Large samples. By the central limit theorem, sample means tend to be normal even when the population is not.

The live page says that the standard normal distribution is most likely used for all kinds of distributions. That overstates it. It is used for normal data, and for sample means, but not for every distribution.

Standard Normal Distribution Formula

standard normal distribution formula with examples

The live page has no formula in text. Here are the two you need.

The Z Score: Standardizing

Z = (X minus mu) divided by sigma

It tells you how many standard deviations X is from the mean. A z of 0 is at the mean. A z of 1.5 is one and a half standard deviations above it, and a z of minus 2 is two below.

The Density of the Standard Normal

f(z) = (1 divided by the square root of 2 times pi) times e to the power of minus z squared divided by 2

At z = 0, the height of the curve is 0.3989, its maximum.

How to Calculate with the Standard Normal Distribution?

  1. Write down mu, sigma and the values that the question asks about.
  2. Convert each value to a z score with Z = (X minus mu) divided by sigma.
  3. Look up the area in a z table, or use software. The table gives the area to the left of z.
  4. For a range, subtract: P(a to b) = area to the left of b minus area to the left of a.
  5. For a right tail, use 1 minus the area to the left.
  6. State the answer in words.

Useful Values

Area to the left of common z values
z Area to the left Note
Minus 2.4 0.0082
Minus 1 0.1587
0 0.5000 The middle
1 0.8413
1.282 0.9000 The 90th percentile
1.96 0.9750 Used for 95 percent intervals
2.576 0.9950 Used for 99 percent intervals

Standard Normal Distribution Example

Example 1: Forest Fires in a County

The live page: forest and range fires in a New Mexico county burn an average of 4,300 acres a year, with a standard deviation of 750 acres. The distribution is normal. What is the chance that between 2,500 and 4,200 acres burn in a given year? The page gives no answer. Here it is.

  • Z for 2,500 = (2,500 minus 4,300) divided by 750 = minus 2.4.
  • Z for 4,200 = (4,200 minus 4,300) divided by 750 = minus 0.133.
  • Area to the left of minus 0.13 (the z rounded for a table) = 0.4483. The exact area for minus 0.133 is 0.4470.
  • Area to the left of minus 2.4 = 0.0082.
  • Probability = 0.4483 minus 0.0082 = 0.4401, using the rounded z. With the exact z, it is 0.4388.

Answer: about 44 percent. In a given year, there is roughly a 44 percent chance that between 2,500 and 4,200 acres burn. A direct calculation without standardizing gives the same 0.4388.

Example 2: A Test Score

Scores have a mean of 70 and a standard deviation of 8, and a student scores 82. The numbers are made up.

  • Z = (82 minus 70) divided by 8 = 1.5.
  • Area to the left of 1.5 = 0.9332.

The student did better than about 93 percent of the class.

Example 3: Comparing Two Exams

Exam A: the mean is 70, the standard deviation is 8, and the student scores 82. Exam B: the mean is 500, the standard deviation is 100, and the student scores 640. Compare the z scores.

Z scores for the two exams
Point Exam A Exam B
Score 82 640
Z score 1.5 1.4

The score of 82 is slightly stronger, at 1.5 standard deviations above its mean against 1.4. You could not see this from the raw scores.

Check It in Python

I ran the code below, and the output is real. The last lines show that standardizing any data gives a mean of 0 and a standard deviation of 1.

python
import numpy as np
from scipy import stats

Z = stats.norm  # standard normal: mean 0, sd 1
print("Density at 0:", round(float(Z.pdf(0)), 4), " Mean:", Z.mean(), " SD:", Z.std())
print("P(Z < 0):", Z.cdf(0))
for z in (-2.4, -1, -0.13, 0, 1, 1.5, 1.96, 2.576):
    print("z", z, " P(Z <= z):", round(float(Z.cdf(z)), 4))
print("Z for the 90th percentile:", round(float(Z.ppf(0.90)), 3))

# Fires: mean 4300 acres, sd 750. P(2500 < X < 4200)
mu, sd = 4300, 750
za, zb = (2500 - mu) / sd, (4200 - mu) / sd
print("z for 2500:", round(za, 3), " z for 4200:", round(zb, 3))
print("P(2500 < X < 4200):", round(float(Z.cdf(zb) - Z.cdf(za)), 4))
print("Same without standardising:", round(float(stats.norm.cdf(4200, mu, sd) - stats.norm.cdf(2500, mu, sd)), 4))

# Standardising: score 82 with mean 70, sd 8
z = (82 - 70) / 8
print("z for 82:", z, " share below:", round(float(Z.cdf(z)), 4))

# Comparing two exams: 82 (mean 70, sd 8) vs 640 (mean 500, sd 100)
print("Exam A z:", (82 - 70) / 8, " Exam B z:", (640 - 500) / 100)

# Standardising simulated data gives mean 0 and sd 1
rng = np.random.default_rng(2)
x = rng.normal(4300, 750, 100000)
zs = (x - x.mean()) / x.std()
print("After standardising: mean", round(float(zs.mean()), 4), " sd", round(float(zs.std()), 4))
output
Density at 0: 0.3989  Mean: 0.0  SD: 1.0
P(Z < 0): 0.5
z -2.4  P(Z <= z): 0.0082
z -1  P(Z <= z): 0.1587
z -0.13  P(Z <= z): 0.4483
z 0  P(Z <= z): 0.5
z 1  P(Z <= z): 0.8413
z 1.5  P(Z <= z): 0.9332
z 1.96  P(Z <= z): 0.975
z 2.576  P(Z <= z): 0.995
Z for the 90th percentile: 1.282
z for 2500: -2.4  z for 4200: -0.133
P(2500 < X < 4200): 0.4388
Same without standardising: 0.4388
z for 82: 1.5  share below: 0.9332
Exam A z: 1.5  Exam B z: 1.4
After standardising: mean 0.0  sd 1.0

Common Mistakes to Avoid

Common mistakes and fixes
Mistake Fix
Treating normal and standard normal as the same Standard normal has mean 0 and standard deviation 1
Calling the bell curve even It is symmetric. The uniform distribution is even
Forgetting to standardize before using a z table Convert X to z first
Using the area to the left for a right tail Use 1 minus the area to the left
Forgetting to subtract for a range Right area minus left area
Assuming all symmetric data are normal Check the shape and the tails
Assuming real data are perfectly normal They are only roughly normal
Mixing sigma with the variance Sigma is the square root of the variance

Practice Questions

  1. What are the mean and standard deviation of the standard normal distribution?
  2. A variable has mean 50 and standard deviation 10. Find the z score of 65.
  3. What is the area to the left of z = 0?
  4. Heights have a mean of 170 and a standard deviation of 10. What share are taller than 190?

Answers: 1) 0 and 1. 2) (65 minus 50) divided by 10 = 1.5. 3) 0.5. 4) z = 2, and the right tail is 1 minus 0.9772 = 0.0228, about 2.3 percent. These are my own answers, so please recheck them before publishing.

The standard normal distribution is the common ruler of statistics. Standardize with the z score, read the area, and you can answer questions about any bell shaped data, from fires and exam scores to machine errors.

Popular Tags:

normal distribution formula normal distribution in data science normal distribution probability Normal Distribution Tutorial normal distribution with examples probability of normal distribution formula Standard Normal Distribution Tutorial