Sub topic 2
The Three Inputs: Optimistic, Most Likely, Pessimistic
A single duration hides uncertainty. Saying that a task will take 6 days does not show whether 6 days is a stable prediction or a midpoint between 2 and 14 days.
A three-point estimate records three durations for the same task:
- Optimistic (O) is the shortest reasonable duration when favorable conditions occur.
- Most likely (M) is the duration you expect under normal conditions. In probability terms, it is the mode, or the most common outcome.
- Pessimistic (P) is the longest reasonable duration when known difficulties occur.
This chapter assumes that you know basic scheduling terms such as task, dependency, duration, and critical path. You should also be comfortable with averages, squares, and square roots. Later chapters use these three inputs to calculate a PERT expected duration and its spread.
Why three values are more useful than one
Consider a task to integrate a payment service. A single estimate of 6 days could mean several different things:
- The work is well understood and will probably take between 5 and 7 days.
- The work is new and could take anywhere from 2 to 14 days.
- The estimate includes a large buffer, even though the development work itself is predictable.
These situations require different planning decisions. Three-point estimates expose the range and make uncertainty discussable.
The three values should describe the same scope, team, and measurement unit. If the most likely estimate is for one developer but the optimistic estimate assumes three developers, the calculation does not describe one task consistently.
| Input | Meaning | Example for payment integration |
|---|---|---|
| Optimistic (O) | Shortest reasonable duration | 4 days |
| Most likely (M) | Expected duration under normal conditions | 6 days |
| Pessimistic (P) | Longest reasonable duration with known difficulties | 14 days |
Setting reasonable bounds
The optimistic and pessimistic values are not fantasy limits. They are practical bounds based on conditions that could reasonably occur.
For example, the optimistic case might assume:
- The service documentation is accurate.
- Test credentials are available immediately.
- No unusual security review is needed.
- The existing code already supports the required payment flow.
The pessimistic case might assume:
- The documentation has an important gap.
- Test credentials or vendor support are delayed.
- The team finds an integration defect.
- A required security review adds work.
Do not use the absolute fastest time anyone could imagine for O. Do not use a catastrophic scenario for P unless that scenario belongs in the schedule model. If a complete vendor outage could stop the project for months, model that as a separate risk or contingency rather than silently placing it in P.
A practical elicitation process
When asking someone for estimates, ask about conditions rather than requesting three numbers without context.
- Define the task and its completion condition.
- Ask, “If things go unusually well, what duration could we reasonably achieve?”
- Ask, “Under normal conditions, what duration is most likely?”
- Ask, “If the known complications occur, how long could this reasonably take?”
- Ask what assumptions make each answer possible.
- Check that O is less than or equal to M, and M is less than or equal to P.
Suppose a team estimates a database migration:
- O = 2 days if the schema matches expectations and tests pass quickly.
- M = 5 days with normal data cleanup and validation.
- P = 10 days if several data quality problems require correction.
The values communicate more than “5 days.” They also identify the conditions that should be monitored.
Sanity-checking the estimates
A wide range is not automatically wrong. It may show real uncertainty. However, a wide range deserves investigation.
Ask these questions:
- What specific event makes P much larger than M?
- Is that event already represented by a dependency or a separate risk?
- Does O assume resources that are not actually available?
- Does M describe normal work, or has someone added an unspoken buffer?
- Are the estimates based on similar completed tasks?
- Are calendar days, working days, or person-days being used?
The unit matters. A duration of 5 working days is not the same as 5 calendar days if weekends or holidays affect the schedule. A person-day measures effort from one person, while a duration measures elapsed time. Adding more people does not always reduce duration because coordination can increase.
Seeing the three estimates as scenarios
The values can be treated as three points on an uncertain duration distribution. Most outcomes should usually be near M, while outcomes near O and P are less common. The exact shape is not known from three values alone. PERT uses these points to create a useful approximation.
For the payment integration example, O = 4, M = 6, and P = 14 days. The 10-day gap between O and P signals asymmetric uncertainty. A vendor or security issue could add much more time than the favorable conditions could save.
The next step is to convert these inputs into an expected duration. A simple triangular calculation gives each value equal weight. PERT gives M four times the weight of O and P because normal conditions are usually more representative:
- Triangular estimate:
(O + M + P) / 3 - PERT expected duration:
(O + 4M + P) / 6
For these values, the triangular estimate is 8 days, while the PERT expected duration is 7 days. The difference occurs because PERT gives more influence to the most likely outcome.
def three_point(o, m, p):
if not (o <= m <= p):
raise ValueError("Expected O <= M <= P")
triangular = (o + m + p) / 3
pert = (o + 4 * m + p) / 6
return triangular, pert
triangular, pert = three_point(4, 6, 14)
print(f"Triangular: {triangular:.1f} days")
print(f"PERT expected: {pert:.1f} days")This calculation does not make the uncertainty disappear. It summarizes the three inputs. The range remains important when deciding how much schedule confidence is needed.
Exercise
A task has O = 3 days, M = 5 days, and P = 9 days. What conditions should you verify before calculating its PERT estimate, and what is the PERT expected duration?
Show answer
Verify that all three values use the same scope, definition of done, team assumptions, and time unit, and that 3 <= 5 <= 9. The PERT expected duration is (3 + 4 × 5 + 9) / 6 = 32 / 6, or about 5.33 days.