How to Compute Probabilities for a Normally Distributed Variable
At a glance
- 1. Identify the parameters
Write down the normal variable’s mean and standard deviation.
- 2. Standardize the value
Convert each boundary to a z-score using the mean and standard deviation.
- 3. Use the normal CDF
Evaluate the corresponding standard normal cumulative probability.
- 4. Combine probabilities
Subtract CDF values for intervals, or use complements for upper tails.
Try it: Normal probability calculator
A normally distributed random variable is determined by its mean and standard deviation. If
then is the mean and is the standard deviation. The main computation is to convert an observed value into a standard score, or -score, and then use the standard normal distribution.
The standardization formula
For any value , define
This tells you how many standard deviations is above or below the mean. The standardized variable
has the standard normal distribution, written .
Let denote the standard normal cumulative distribution function:
Because a normal distribution is continuous, ; it makes no difference whether the inequality is strict.
The three basic probability calculations
Probability below a value
To calculate , standardize :
Probability above a value
For an upper-tail probability, use the complement:
Probability between two values
For ,
The subtraction is necessary because the CDF includes everything to the left of each boundary.
Worked example
Suppose the lifetime of a component is normally distributed with mean hours and standard deviation hours. Find the probability that a randomly selected component lasts between 85 and 130 hours.
Write the model as
Standardize both endpoints:
and
Therefore,
Using standard normal values,
Thus,
So the probability is approximately , or 81.86%.
The same example also gives two useful tail probabilities. The probability of lasting less than 85 hours is
and the probability of lasting more than 130 hours is
These two tails account for the remaining probability:
Finding a value from a probability
Sometimes the probability is given and the required value is unknown. Suppose you want such that
First find the standard normal quantile satisfying
Then transform back to the original scale:
For example, the 95th percentile of uses :
Approximately 95% of components last no longer than 124.67 hours.
For a central 95% interval, use :
so the interval is approximately
This is a probability interval for an individual normally distributed observation. It is not automatically a confidence interval for a population mean; that requires a separate sampling model.
Using software or a calculator
A normal-probability calculator usually asks for the mean, standard deviation, and one or two bounds. For the worked example, enter:
- mean:
- standard deviation:
- lower bound:
- upper bound:
The result should be about .
In software, the same calculation can be expressed using a normal CDF. In Python with SciPy, for example:
from scipy.stats import norm
mu = 100
sigma = 15
probability = norm.cdf(130, loc=mu, scale=sigma) - norm.cdf(85, loc=mu, scale=sigma)
print(probability) # approximately 0.81859
Common mistakes
-
Using the variance as the standard deviation. If the model is written as , the second parameter is often the variance, while the standardization formula needs .
-
Forgetting to subtract the mean. The correct numerator is , not just .
-
Using the wrong tail. is the area to the left. For the area to the right, calculate .
-
Subtracting raw values instead of CDF values. For an interval, calculate the CDF at the upper endpoint minus the CDF at the lower endpoint.
-
Rounding too early. Keep several digits in the -scores or calculator results, then round the final probability.
-
Assuming every variable is normal. The method is exact only when the normal model is appropriate. For a sample mean, normal calculations may also be justified approximately by the central limit theorem, depending on the sample size and the underlying distribution.
References
- NIST/SEMATECH e-Handbook of Statistical Methods: Normal Distribution
- Introduction to Probability Models, Sheldon M. Ross
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.