Before you start
You will be able to
- Explain how a probability density curve gives probabilities as areas, and why the probability of one exact value of a continuous variable is 0.
- Calculate z-scores and normal probabilities below, above, between and outside given values, by hand from z and with NORM.DIST, NORM.S.DIST and STANDARDIZE.
- Find the value that cuts off a given probability with NORM.INV and NORM.S.INV, and use it to set a target such as a machine setting or a stock level.
- Assess whether a normal model is reasonable for a dataset with a histogram, the mean and median, the empirical-rule counts, SKEW and KURT, and a normal probability plot.
- Recognise data, such as right-skewed order values, for which a normal model gives wrong answers.
- Use the normal approximation to the binomial with a continuity correction, and state when it is adequate.
Review first
- Describing distributions — Population notation (μ, σ), z-scores as positions and the empirical rule are introduced there.
- Discrete distributions — The binomial distribution, BINOM.DIST and the idea of a probability distribution come first there.
- Normalisation and standardisation — Standardising a value, (x − mean) ÷ SD, is the same step that turns any normal distribution into the standard one.
Fictional case A fictional coffee business founded by Ana Lim. It starts as a catering and barista-training service, opens its own cafés and an online shop for beans, and plans a canned cold brew.
The idea
Fictional case
Lantern buys its 1 kg bags of House Blend from Kilnworth Roasting. Kilnworth’s specification says its filling machine is set to 1,004 g with a standard deviation of 3 g, so that few bags fall below the 1,000 g printed on the label. In October Ana weighed 40 bags on the shop’s scale: their mean was 1,002.75 g, and five weighed less than 1,000 g. She has two questions: if the machine runs as specified, what share of bags should be under the label, and what would the setting have to be for almost none of them to be?
From bars to a curve
A bag’s weight is a continuous variable: it can be 1,002.7 g, or 1,002.71 g, or anything in between. Asking how many bags weigh exactly 1,002.7 g makes little sense, because with a fine enough scale no two bags weigh the same. The sensible question is what share of bags falls in an interval, such as under 1,000 g. A histogram answers it for the bags you have: each bar’s area is the share of bags in that bin.
Now imagine weighing tens of thousands of bags and narrowing the bins. The bars’ tops smooth into a curve, and the curve describes the machine rather than one batch. Such a curve is a probability density function: the area under it between two weights is the probability that a bag falls between them, and the total area under it is 1. Its height is not a probability. A single exact weight has no width, so it has probability 0, and for a continuous variable “under 1,000 g” and “at most 1,000 g” are the same event.
The normal curve
The normal distribution is the bell-shaped density curve that Kilnworth’s specification assumes. It is symmetric about its mean , which is also its median and mode, and its standard deviation sets how wide it is. One normal distribution is fixed by those two numbers, written : Kilnworth’s bags are . Some books put the variance second instead of , so check which convention a source uses.
Fill weights from a machine running steadily are a classic case for this model: each bag misses the setting by a small amount, as often over as under, with large misses rare. For any normal distribution the empirical rule holds: about 68% of values lie within one standard deviation of the mean, 95% within two and 99.7% within three. For Kilnworth’s bags those bands are 1,001 to 1,007 g, 998 to 1,010 g and 995 to 1,013 g.
How many bags fall short?
To find the shaded area, first measure how far the label is from the setting in standard deviations: the z-score . Re-expressed this way, every normal distribution becomes the same one, the standard normal distribution with mean 0 and standard deviation 1. So one table, or one Excel function, answers questions about bags, loaves or bottles alike.
In Excel, =NORM.DIST(1000,1004,3,TRUE) returns 0.0912, the area to the left of 1,000 g; =NORM.S.DIST(-4/3,TRUE) gives the same from the z-score. If the machine runs as specified, 9.1% of bags, about one in eleven, weigh less than the label says. That is a lot of short bags for a specification that sounds generous.
Working backwards: what setting?
Ana would like no more than 1% of bags under the label. Now the probability is given and a weight is wanted. =NORM.S.INV(0.99) returns 2.326: 99% of a standard normal distribution lies below 2.326. For only 1% of bags to fall short, the label must sit 2.326 standard deviations below the setting, so the setting must be g. In Excel that is =1000+NORM.S.INV(0.99)*3.
Raising the setting to about 1,007 g puts almost 3 g more coffee in every bag. The other route is a steadier machine: at the 1,004 g setting, the standard deviation would have to fall from 3 g to 1.72 g. The normal model turns “almost no short bags” into numbers that Kilnworth can price.
What Ana found
Under the specification, 9.1% of 40 bags is 3.6 bags expected under 1,000 g; Ana found 5. That alone is not surprising: the binomial distribution with n = 40 and p = 0.0912 gives about a 30% chance of five or more. Her sample’s mean, 1,002.75 g, is a better clue, 1.25 g below the setting. Whether a gap that size could be chance is the first question Module 3 answers. This lesson asks the question before it: is a normal model reasonable for these bags at all?
In depth
Density, area and probability
A continuous random variable is described by a density curve that is never negative and encloses a total area of 1. The probability that the variable falls between a and b is the area under the curve from a to b. That is why for any single value, and why and are equal; for the counts of Module 1’s discrete distributions they are not.
The height of the curve is a probability per unit of x. Kilnworth’s curve is 0.133 per gram high at 1,004 g, which is =NORM.DIST(1004,1004,3,FALSE). Over a narrow window, height × width approximates the area: about of bags weigh within half a gram of 1,004 g, against an exact 0.1324. A height can exceed 1 when the curve is narrow enough, which a probability never can.
The normal family
- Two parameters. Changing slides the curve along the axis without changing its shape; changing stretches it wider and flatter or squeezes it narrower and taller, keeping the area at 1.
- Symmetry. The mean, median and mode are all , and the area below equals the area above for any distance .
- Shape. The curve changes curvature, at its points of inflection, at , one standard deviation either side of the mean. Its tails never reach zero height, but beyond four standard deviations they hold only 0.0063% of the area.
- The empirical rule, exactly. The areas within one, two and three standard deviations are 68.27%, 95.45% and 99.73%. Exactly 95% lies within 1.96 standard deviations, a number the next two lessons use constantly.
The standard normal distribution and z
If , then follows . Standardising keeps areas: the share of bags below 1,000 g is the share of the standard normal below . Going the other way, turns a z back into the units of the data. B02 used the same z-score to rescale a column; here it locates a value on a known curve.
| Area below z | z | In words |
|---|---|---|
| 0.90 | 1.282 | The top 10% lies above it |
| 0.95 | 1.645 | The top 5% lies above it |
| 0.975 | 1.960 | 2.5% in each tail beyond ±1.960: the middle 95% |
| 0.99 | 2.326 | The top 1% lies above it |
| 0.995 | 2.576 | 0.5% in each tail beyond ±2.576: the middle 99% |
Symmetry halves the work: , and . A printed z table lists areas for z to two decimals, so a hand calculation that rounds z to −1.33 gets 0.0918 rather than Excel’s 0.0912. Both are fine for a decision; quote Excel’s value when you have it.
Four kinds of question
Sketch the curve and shade the area the question asks for before you calculate. The shading tells you whether you need the area below a value, its complement, a difference of two areas, or two tails.
| Question | Area | Excel | Result |
|---|---|---|---|
| Under 1,000 g | Below a | =NORM.DIST(1000,1004,3,TRUE) | 0.0912 |
| Over 1,010 g | Above a: 1 − below | =1-NORM.DIST(1010,1004,3,TRUE) | 0.0228 |
| Between 1,000 and 1,008 g | Below b − below a | =NORM.DIST(1008,1004,3,TRUE)-NORM.DIST(1000,1004,3,TRUE) | 0.8176 |
| Under 998 g or over 1,010 g | Two tails | =NORM.DIST(998,1004,3,TRUE)+1-NORM.DIST(1010,1004,3,TRUE) | 0.0455 |
Cut-offs from probabilities
NORM.INV(probability, mean, standard_dev) returns the value with that probability below it; Microsoft describes it as the x for which NORM.DIST(x, mean, standard_dev, TRUE) equals the probability. The heaviest 5% of Kilnworth’s bags weigh more than =NORM.INV(0.95,1004,3) = 1008.93 g: to find an upper cut-off, give the area below it, 0.95, not 0.05. NORM.S.INV does the same for the standard normal, and gets you back to grams.
Excel’s normal functions
| Function | Returns | Example | Result |
|---|---|---|---|
| NORM.DIST(x, mean, standard_dev, cumulative) | TRUE: the area below x. FALSE: the height of the curve at x | =NORM.DIST(1000,1004,3,TRUE) | 0.0912 |
| NORM.S.DIST(z, cumulative) | The same for the standard normal | =NORM.S.DIST(-1.333333,TRUE) | 0.0912 |
| NORM.INV(probability, mean, standard_dev) | The value with that area below it | =NORM.INV(0.01,1004,3) | 997.02 |
| NORM.S.INV(probability) | The z with that area below it | =NORM.S.INV(0.99) | 2.3263 |
| STANDARDIZE(x, mean, standard_dev) | The z-score, (x − mean) ÷ standard_dev | =STANDARDIZE(1000,1004,3) | -1.3333 |
Three details matter. A standard_dev of 0 or less returns #NUM!, and so does a probability of 0 or 1 or beyond in NORM.INV or NORM.S.INV. With cumulative set to FALSE, NORM.DIST and NORM.S.DIST return the curve’s height, not a probability; Microsoft’s NORM.S.DIST page calls this the “probability mass function”, a term for discrete distributions, but for the normal it is the density. And the older NORMDIST and NORMSDIST still work for backward compatibility: Microsoft has replaced them with NORM.DIST and NORM.S.DIST and says they may not be available in future versions.
Checking whether a normal model fits
Kilnworth’s 9.1% assumes the weights follow a normal curve. Before relying on it, check Ana’s 40 bags four ways. None of these checks proves the data are normal; together they can show that they clearly are not.
- The histogram (the Explore widget of Ana’s 40 bag weights): one peak, roughly symmetric, no long tail and no gap.
- Mean and median: 1002.75 g and 1002.55 g, 0.2 g apart, as a symmetric distribution’s should be.
- The empirical-rule counts: 29 of 40 bags (72.5%) lie within one standard deviation of the mean, 38 (95.0%) within two and all 40 within three, against 68%, 95% and 99.7%.
- Shape statistics:
=SKEW(A2:A41)is -0.23 and=KURT(A2:A41), Excel’s excess kurtosis, -0.34, both near 0.
The fourth tool is a normal probability plot, the graphical check the NIST/SEMATECH handbook describes for this question. Sort the data, give the i-th smallest of n values the normal score =NORM.S.INV((i-0.5)/n), and draw a scatter chart of the sorted values against the scores. If the data are close to normal, the points lie close to a straight line; curvature shows skew, and points bending away at the ends show tails heavier or lighter than normal. (NIST’s handbook uses a slightly different formula for the scores; the picture is the same.)
Forty bags are enough to rule out a badly skewed or lumpy distribution, not to confirm the far tails, and the share under 1,000 g lives in a tail. A model can pass every check and still misjudge a 1-in-100 event. That is a reason to keep weighing bags, not to abandon the model.
When the normal model fails
The spring orders show what goes wrong when the model doesn’t fit. Their mean is $39.38 and their standard deviation $100.90. A normal curve with those parameters puts 34.8% of its area below $0, =NORM.DIST(0,39.38,100.9,TRUE), so it predicts that about a third of orders have negative values. And where the empirical rule expects 68% within one standard deviation, 229 of the 231 orders (99.1%) are.
Order values, waiting times, delivery delays and incomes are bounded below by zero and have long right tails, so for them the normal model gives wrong shares and wrong cut-offs. Describe them with the data themselves (percentiles, B03’s PERCENTILE.INC), or transform them first, as B02’s skewed-data lesson does. The next lesson shows that the mean of a sample of such values can still be close to normal, given a large enough sample.
The normal approximation to the binomial (in outline)
A count with a binomial distribution, n trials and success probability p, has mean and standard deviation . When both np and n(1 − p) are large, its bars follow a normal curve with that mean and standard deviation. OpenStax’s business text asks for both to be greater than 5, and many texts ask for at least 10. Because each whole number k stands for the interval from k − 0.5 to k + 0.5, the approximation uses a continuity correction: , where Y is the normal variable.
Take the next 100 orders, each a subscription with probability . The count has mean 45.02 and standard deviation 4.975. Exactly, =BINOM.DIST(40,100,104/231,TRUE) gives P(at most 40) = 0.1819; the normal curve with the correction, =NORM.DIST(40.5,45.02,4.975,TRUE), gives 0.1818; without it, =NORM.DIST(40,45.02,4.975,TRUE) gives 0.1565. Excel computes binomial probabilities exactly, so the approximation is rarely needed for a number. It matters for the idea: the next lesson’s sampling distribution of a proportion rests on it.
Formulas
Normal density
- A value of the variableunits of x
- The mean of the distributionunits of x
- The standard deviation of the distributionunits of x
- The height of the curve at x (not a probability)probability per unit of x
- The constants 2.71828… and 3.14159…
Assumes. Areas under the curve, not heights, are probabilities; the total area is 1.
NORM.DIST(x, μ, σ, FALSE) returns f(x); with TRUE it returns the area to the left of x.
Standardising: the z-score
- A value of a normal variableunits of x
- Its meanunits of x
- Its standard deviationunits of x
- How many standard deviations x lies above (+) or below (−) the mean
Assumes. If x comes from N(μ, σ), z comes from the standard normal N(0, 1).
Excel: STANDARDIZE(x, mean, standard_dev). NORM.S.DIST(z, TRUE) gives the area below z.
From a probability back to a value
- The area wanted below the value
- The z with area p below it (NORM.S.INV(p))
- That z-score
- Meanunits of x
- Standard deviationunits of x
- The cut-off in the data’s unitsunits of x
NORM.INV(p, μ, σ) does both steps. For an upper cut-off with area q above it, use p = 1 − q.
Normal approximation to the binomial, with a continuity correction
- The binomial countsuccesses
- Number of trials
- Probability of success on each trial
- A whole-number countsuccesses
- A normal variable with mean μ and standard deviation σsuccesses
- Probability
- Mean and standard deviation of the countsuccesses
Assumes. np and n(1 − p) both large: more than 5 in OpenStax’s rule of thumb, at least 10 in many texts.
For P(X ≥ k) use P(Y > k − 0.5); for P(X = k), the area from k − 0.5 to k + 0.5.
Worked examples
Fictional figures
Kilnworth’s 1 kg bags are N(1,004, 3) if the machine runs as specified. What share of bags weighs under 1,000 g, over 1,010 g, and between 1,000 and 1,008 g? Work each from z, then check it in Excel.
- Under 1,000 g: . The area below it is 0.0912 (
=NORM.DIST(1000,1004,3,TRUE)), or 0.0918 from a two-decimal z table. - Over 1,010 g: . The area below 2 is 0.9772, so the area above is (
=1-NORM.DIST(1010,1004,3,TRUE)). - Between 1,000 and 1,008 g: the z-scores are −1.33 and +1.33. The area below +1.33 is 0.9088 and below −1.33 is 0.0912, so the area between is .
- Check by symmetry: 1,000 and 1,008 g are the same distance either side of 1,004 g, so the two tails outside them are equal, each 0.0912, and 1 − 2 × 0.0912 = 0.8176.
Answer. 9.1% of bags under 1,000 g, 2.28% over 1,010 g, 81.8% between 1,000 and 1,008 g.
What it means. Roughly one bag in eleven would be short of the label and one in 44 more than 10 g over. A specification that sounds generous, 4 g above the label, leaves many short bags because 4 g is only 1.33 standard deviations.
Fictional figures
Ana asks Kilnworth to keep short bags to 1% at most. Compare the two ways of getting there: raising the setting with the standard deviation at 3 g, or keeping the 1,004 g setting and making the machine steadier. How much extra coffee does the first route cost per 1,000 bags?
- Find the z with 1% below it:
=NORM.S.INV(0.01)returns . For 1% of bags to be short, the label must sit 2.326 standard deviations below the mean. - Route 1, raise the setting: g, or
=1000+NORM.S.INV(0.99)*3. Check:=NORM.DIST(1000,1006.98,3,TRUE)returns 0.0100. - Route 2, reduce the spread: with , solve , so g, a 43% cut in the standard deviation.
- Cost of route 1: g more per bag on average, or about kg per 1,000 bags: three bags’ worth of coffee given away in every thousand.
Answer. A setting of about 1007.0 g (with SD 3 g), or a standard deviation of 1.72 g at 1,004 g. Route 1 gives away about 3.0 kg of coffee per 1,000 bags.
What it means. The model turns a quality target into a price. Raising the setting is quick but costs coffee on every bag; a steadier machine costs maintenance once. Both rest on the normal model’s left tail, so Kilnworth should confirm the change by weighing bags afterwards.
Fictional figures
Before writing to Kilnworth, Ana checks whether her 40 bags look normal, and compares three answers to “what share of bags is under 1,000 g?”: the specification’s, her sample’s, and her sample’s normal model.
- Shape: the histogram has one peak and no long tail; the mean (1002.75 g) and median (1002.55 g) almost agree; SKEW -0.23 and KURT -0.34 are near 0.
- Empirical rule: 29, 38 and 40 of the 40 bags lie within one, two and three standard deviations (72.5%, 95.0%, 100.0%), close to 68%, 95% and 99.7%. The normal probability plot is close to a straight line. A normal model is reasonable.
- Three answers: the specification, , gives 9.1%; the sample shows ; a normal model with the sample’s mean and standard deviation,
=NORM.DIST(1000,AVERAGE(A2:A41),STDEV.S(A2:A41),TRUE)on the 40 weights in A2:A41, gives 15.0%. - The sample’s spread (2.66 g) is a little smaller than the specified 3 g, but its mean is 1.25 g lower, and the lower mean more than offsets the smaller spread: , against −1.33.
Answer. The normal model fits the bags reasonably. If the machine is running at the sample’s mean and spread, about 15% of bags are under the label, not 9.1%.
What it means. The case for raising the issue with Kilnworth rests on the mean, not on the count of five short bags. Forty bags estimate the mean only within a margin, which the confidence-intervals lesson calculates; Module 3 tests whether 1,002.75 g is far enough below 1,004 g to rule out chance.
Explore
Common mistakes
“NORM.DIST(1000,1004,3,FALSE) is the probability of a bag weighing 1,000 g.”
With cumulative set to FALSE, NORM.DIST returns the height of the density curve, here 0.0547 per gram, not a probability. For a continuous variable, probabilities are areas: set cumulative to TRUE for the area below a value.
“The share over 1,010 g is NORM.DIST(1010,1004,3,TRUE).”
NORM.DIST with TRUE always gives the area below x, here 0.9772. For the area above, subtract it from 1:
=1-NORM.DIST(1010,1004,3,TRUE)= 0.0228. Sketch the curve and shade the area first.“The heaviest 5% start at NORM.INV(0.05,1004,3).”
NORM.INV takes the area below the cut-off. NORM.INV(0.05, …) is the value with 5% below it, 999.07 g: the lightest 5%. The heaviest 5% start at
=NORM.INV(0.95,1004,3)= 1,008.93 g.“z = −1.33 means 1.33% of bags are short.”
A z-score is a distance in standard deviations, not a percentage. Turn it into an area with NORM.S.DIST(−1.33, TRUE) = 0.0918, or 0.0912 from the exact z of −4/3.
“Almost anything is roughly normal, so the model is safe.”
Lantern’s order values are not: a normal curve with their mean and standard deviation puts 35% of orders below $0. Check the histogram, the mean against the median, the empirical-rule counts and a normal probability plot before using the model, and use percentiles for skewed data.
Guided practice
Work through these with hints when you need them. Every hint and every worked solution is there to be used.
Loading four questions…
On your own
No hints this time. Answer, check, and read the feedback; the solution appears once you have answered or if you ask for it. Your first answers count toward mastery.
Loading six questions…
In practice
Anyone who fills packs by weight or volume, of coffee, flour, cereal or paint, faces Kilnworth’s trade-off. Set the target too close to the label and too many packs are short; set it too high and you give product away on every pack. The normal model turns the trade-off into numbers: the share short at a given setting is one NORM.DIST, and the setting for a given share is one NORM.INV. The same arithmetic sets tolerances in manufacturing and service levels in stock control.
Stock control is the second classic use. Suppose (a fictional figure) Lantern sells a mean of 40 bags of House Blend 1 kg a week with a standard deviation of 8, roughly normal, and tops up its stock once a week. To meet a whole week’s demand from stock in 95% of weeks, the level it tops up to (the order-up-to level) must be the 95th percentile of weekly demand: =NORM.INV(0.95,40,8) = , so 54 bags. The extra 14 bags above the average are the safety stock, the price of the 95%.
Fictional case
Ana writes to Kilnworth: “If your machine runs at 1,004 g with a standard deviation of 3 g, about 9% of bags will be under 1,000 g. To keep short bags below 1%, the setting would need to be about 1,007 g, or the standard deviation below 1.7 g. In October our 40 bags averaged 1,002.75 g, and 5 were short.” She keeps the claim to what the model says, and leaves the question of whether the machine has drifted for a formal test.
The model is only as good as its fit, and its weakest point is the tail where these decisions live. Check the shape on real data before quoting a normal probability, keep checking after a process changes, and say when you have used a model rather than counted. For skewed measures, such as order values or waiting times, describe the data directly rather than through a normal curve.
Knowledge check
Six questions, one attempt each, no hints. Score 80% or more to complete the lesson; you can take it again at any time.
Loading six questions…
Summary
- For a continuous variable, probabilities are areas under a density curve whose total area is 1; a single exact value has probability 0, and the curve’s height is not a probability.
- A normal distribution N(μ, σ) is symmetric about μ (also its median and mode); about 68%, 95% and 99.7% of values lie within one, two and three standard deviations, and exactly 95% within 1.96.
- z = (x − μ) ÷ σ turns any normal question into one about the standard normal; x = μ + zσ turns a z back into data units.
- NORM.DIST(x, μ, σ, TRUE) is the area below x; use 1 − for above and a difference for between. FALSE gives the height, not a probability.
- NORM.INV(p, μ, σ) and NORM.S.INV(p) give the value with area p below it: for an upper cut-off use p = 1 − the upper share.
- Check the fit with a histogram, mean against median, the empirical-rule counts, SKEW and KURT, and a normal probability plot; right-skewed data such as order values are not normal.
- A binomial count is close to N(np, √(np(1 − p))) when np and n(1 − p) are large; use a continuity correction of ±0.5.
Key formulas
- Normal density
- Standardising: the z-score
- From a probability back to a value
- Normal approximation to the binomial, with a continuity correction
Terms introduced
- Probability density function
- A curve that describes a continuous random variable: the area under it between two values is the probability that the variable falls between them, and the total area under it is 1. Its height is not a probability.
- Normal distribution
- The symmetric, bell-shaped continuous distribution fixed by its mean μ and standard deviation σ, written N(μ, σ). About 68%, 95% and 99.7% of its values lie within one, two and three standard deviations of the mean.
- Standard normal distribution
- The normal distribution with mean 0 and standard deviation 1, which the z-scores of any normal variable follow. Excel’s NORM.S.DIST and NORM.S.INV use it.
- Normal probability plot
- A scatter chart of a sample’s sorted values against the normal scores for their positions. The points lie close to a straight line when the data are close to normal; curvature shows skew or tails unlike a normal distribution’s.
- Continuity correction
- Moving a whole-number cut-off by half a unit (to k + 0.5 or k − 0.5) when a continuous distribution, such as the normal, is used to approximate a discrete one, such as the binomial.
Sources
- Holmes, A., Illowsky, B. & Dean, S. (2023). Introductory Business Statistics 2e, sections 6.1 “The Standard Normal Distribution” and 6.3 “Estimating the Binomial with the Normal Distribution”. OpenStax. openstax.org/books/introductory-business-statistics-2e/pages…
- NIST/SEMATECH. e-Handbook of Statistical Methods, section 1.3.6.6.1, “Normal Distribution”. itl.nist.gov/div898/handbook/eda/section3/eda3661.htm
- NIST/SEMATECH. e-Handbook of Statistical Methods, section 1.3.3.21, “Normal Probability Plot”. itl.nist.gov/div898/handbook/eda/section3/normprpl.htm
- Microsoft Support. “NORM.DIST function”, with the pages for NORM.S.DIST, NORM.INV, NORM.S.INV and STANDARDIZE. support.microsoft.com/en-US/Excel/functions/norm-dist-functi…
- Microsoft Support. “NORMDIST function” and “NORMSDIST function” (replaced by NORM.DIST and NORM.S.DIST; kept for backward compatibility). support.microsoft.com/en-US/excel/functions/normdist-functio…
