Sub topic 7
Reading a Confidence Level from the Mean and Standard Deviation
This chapter turns a path's expected duration and standard deviation into a statement such as "there is an 85% chance this path finishes within 14.4 days." It assumes you can compute PERT task estimates and combine them along a path by summing means and variances. It also assumes a rough idea of what a normal (bell-curve) distribution is.
Why a mean alone is not a commitment
The PERT expected duration of a path is a mean. For a project that runs many times, the mean is the average outcome. If you promise the mean date, you miss it in a large share of those runs. With a symmetric distribution, that share is about half.
A confidence level fixes this. It answers one question: given what we know about the spread, what duration will we meet or beat with probability c? The answer is a duration larger than the mean. The gap between the two is the schedule buffer that the chosen confidence level requires.
Running example, carried over from the earlier chapters. A path has three tasks, with estimates given as (optimistic, most likely, pessimistic) in days:
| Task | O | M | P | Expected (O+4M+P)/6 | Variance ((P−O)/6)² |
|---|---|---|---|---|---|
| A | 2 | 4 | 8 | 4.33 | 1.00 |
| B | 3 | 5 | 13 | 6.00 | 2.78 |
| C | 1 | 2 | 3 | 2.00 | 0.11 |
| Path | 12.33 | 3.89 |
The path standard deviation is the square root of 3.89, which is about 1.97 days. Everything in this chapter starts from those two numbers: mean 12.33 and standard deviation 1.97.
The normal approximation
PERT treats the total duration of a path as normally distributed. This is justified by the central limit theorem. When you add many independent random quantities, the sum tends toward a bell curve even if each quantity is skewed. Each task here is skewed to the right, because the pessimistic tail is longer. A sum of several such tasks is more symmetric than any one of them.
A normal distribution is fully described by its mean μ and standard deviation σ. That is why PERT only needs to carry two numbers per path.
Three facts about the normal curve are worth memorising:
- 50% of outcomes fall at or below the mean.
- About 84% fall at or below μ + 1σ.
- About 98% fall at or below μ + 2σ.
You can read these as "one standard deviation above the mean gives roughly 84% confidence". For a path with μ = 12.33 and σ = 1.97, that is 12.33 + 1.97 = 14.30 days at about 84%.
From confidence level to duration with z-scores
A z-score says how many standard deviations above the mean a point sits. To get the duration for a chosen confidence level, look up the z-score for that level and compute:
duration = mean + z × standard deviation
Common z-scores for one-sided confidence levels:
| Confidence | z-score |
|---|---|
| 50% | 0.000 |
| 70% | 0.524 |
| 80% | 0.842 |
| 85% | 1.036 |
| 90% | 1.282 |
| 95% | 1.645 |
| 99% | 2.326 |
"One-sided" matters. These values answer "what is the chance of finishing at or before this date?" They do not describe a symmetric interval around the mean. A 95% one-sided level uses z = 1.645. A 95% two-sided interval uses z = 1.96, and it answers a different question.
Worked example: the 85% duration
Using the table above for the 85% level, z = 1.036:
- Mean = 12.33 days.
- Standard deviation = 1.97 days.
- Duration at 85% = 12.33 + 1.036 × 1.97 = 12.33 + 2.04 = 14.38 days.
So you can say: "There is an 85% chance the path finishes in 14.4 days or less." The buffer over the mean is about 2 days.
Doing it in code
Python's standard library has a NormalDist class. Its inv_cdf method does the z-score lookup for any probability, so you do not need a printed table.
from math import sqrt
from statistics import NormalDist
# (optimistic, most likely, pessimistic) in days for tasks on one path
tasks = [(2, 4, 8), (3, 5, 13), (1, 2, 3)]
mean = sum((o + 4 * m + p) / 6 for o, m, p in tasks)
std_dev = sqrt(sum(((p - o) / 6) ** 2 for o, m, p in tasks))
path = NormalDist(mean, std_dev)
for level in (0.50, 0.70, 0.80, 0.85, 0.90, 0.95, 0.99):
print(f"{level:.0%} {path.inv_cdf(level):.2f} days")Output:
50% 12.33 days
70% 13.37 days
80% 13.99 days
85% 14.38 days
90% 14.86 days
95% 15.58 days
99% 16.92 daysThe 85% line matches the hand calculation. Notice how the cost of confidence grows. Going from 50% to 85% costs 2.04 days. Going from 85% to 99% costs another 2.54 days for the last 14 points of confidence. The curve is steep in the tails, so "almost certain" is expensive.
From a deadline to a probability
You can run the formula in reverse. If a stakeholder says "we need this path done in 14 days", compute the z-score of the deadline and read off the probability:
z = (deadline − mean) / standard deviation
For 14 days: z = (14 − 12.33) / 1.97 = 0.845. The cumulative probability at z = 0.845 is about 0.80, so there is roughly an 80% chance of meeting a 14-day deadline.
In code, cdf is the reverse of inv_cdf:
from math import sqrt
from statistics import NormalDist
tasks = [(2, 4, 8), (3, 5, 13), (1, 2, 3)]
mean = sum((o + 4 * m + p) / 6 for o, m, p in tasks)
std_dev = sqrt(sum(((p - o) / 6) ** 2 for o, m, p in tasks))
path = NormalDist(mean, std_dev)
for deadline in (12, 14):
print(f"P(done by day {deadline}) = {path.cdf(deadline):.0%}")Output:
P(done by day 12) = 43%
P(done by day 14) = 80%The first line is a useful warning. A 12-day plan sounds close to the 12.33-day mean, but it has only a 43% chance of success. It is below 50% because the deadline is below the mean.
The curve below shows the whole picture for this path. Each point is the probability of finishing by that day.
The slope is steepest near the mean, where each extra day buys the most probability. Beyond day 15 each added day buys little.
The procedure at a glance
Several paths: the project is riskier than any one path
So far we looked at one path. A project finishes only when all its paths finish. Suppose path A has an 80% chance of meeting day 14 and a second, parallel path B has mean 11 days and standard deviation 1.5 days.
from math import sqrt
from statistics import NormalDist
tasks_a = [(2, 4, 8), (3, 5, 13), (1, 2, 3)]
mean_a = sum((o + 4 * m + p) / 6 for o, m, p in tasks_a)
sd_a = sqrt(sum(((p - o) / 6) ** 2 for o, m, p in tasks_a))
path_a = NormalDist(mean_a, sd_a)
path_b = NormalDist(11, 1.5)
p_a = path_a.cdf(14)
p_b = path_b.cdf(14)
print(f"A: {p_a:.0%} B: {p_b:.0%} both: {p_a * p_b:.0%}")Output:
A: 80% B: 91% both: 73%The probability that both paths meet day 14 is about 73%, lower than either path alone. Multiplying the probabilities assumes the paths are independent. That holds only if they share no tasks and no common risk. In real schedules, paths often share a resource or an upstream task, so the product is an approximation. The error is usually in the direction of understating the true joint probability when shared risk exists, because shared delays hit both paths together. Treat the product as a rough guide, and use simulation (covered at the end of this tutorial) when the answer matters.
This is why a path with a mean slightly below the critical path can still decide the project date. A near-critical path with a large standard deviation can be riskier than the critical path itself.
Choosing a confidence level
There is no correct level. It is a decision about how much risk to carry, and it differs between audiences.
| Situation | Typical level | Reasoning |
|---|---|---|
| Internal planning target | 50% | Honest expected value, no buffer. |
| Team commitment | 70–80% | Some buffer while still being a realistic goal. |
| Contractual date with penalties | 85–95% | Cost of a miss is high. |
| Safety or regulatory deadline | 95%+ | A miss is unacceptable, so accept the buffer. |
Two practical rules:
- State the level every time you give a date. "14.4 days at 85%" is a commitment with a known risk. "14 days" is ambiguous.
- Agree the level with stakeholders before you compute. Otherwise people argue about the number instead of the risk.
Common errors
- Using the standard deviation as a buffer directly. Adding one σ to the mean gives about 84% confidence, not "safe". Pick z from the target level.
- Adding standard deviations. Variances add along a path; standard deviations do not. For tasks with σ = 1 and σ = 2, the path σ is √(1 + 4) = 2.24, not 3. Always sum variances, then take the square root.
- Reading a two-sided table as one-sided. A z of 1.96 gives about 97.5% one-sided confidence, not 95%. Check which kind of table you are using.
NormalDist.inv_cdfis one-sided by definition. - Applying the approximation to a single task. One task with a long right tail is visibly skewed, so the normal curve fits poorly. The approximation improves as you add independent tasks to the path.
- Converting the project mean to a date and stopping. The mean of the longest path is optimistic for the project, because the project date is the maximum over paths. See the multi-path section above.
- Reporting false precision. The inputs are judgement calls. "14.38 days" is better stated as "about 14.5 days". Rounding up is the safe direction.
What the confidence level does not tell you
The result is only as good as the inputs and the assumptions behind them. An 85% label does not mean the world will deliver an 85% success rate. It means that, if the O, M and P values are unbiased and the tasks are independent, 85% of repeated runs would finish within that duration. If the pessimistic values are systematically too low, the real probability is lower than the label says. The next chapters cover how to elicit better inputs and what happens when independence fails.
Exercises
Exercise
A path has an expected duration of 30 days and a standard deviation of 4 days. Using z = 1.282 for 90% confidence, what duration should you quote at the 90% level?
Show answer
30 + 1.282 × 4 = 30 + 5.13 = 35.13, so about 35.1 days. You can say there is a 90% chance the path finishes in 35.1 days or less.
Exercise
For the same path (mean 30 days, standard deviation 4 days), a sponsor asks for delivery within 34 days. What is the approximate probability of meeting that date, and is it a good commitment for a contract with penalties?
Show answer
z = (34 − 30) / 4 = 1.0, which corresponds to about 84% probability. For a contract with penalties, 84% is at the low end of the usual 85–95% range, and a 16% chance of a miss may be too high. Ask for a later date, for example the 95% date of 30 + 1.645 × 4 = 36.6 days, or reduce the path's variance.
Exercise
Two independent parallel paths each have an 85% chance of finishing by a target date. What is the chance that the project, which needs both, finishes by that date? Why is the real answer often different in practice?
Show answer
0.85 × 0.85 = 0.7225, about 72%. In practice, paths share tasks, resources or risks, so they are not independent. Shared delays hit both paths together, which usually makes the true joint probability higher than the product, but the exact value needs a simulation.