Sub topic 2
Activity Durations and What They Assume
Every critical path calculation starts from one number per activity: its duration. The forward and backward passes are plain arithmetic, so they are only as good as those inputs. This chapter covers what a duration means, how it differs from related quantities, and which assumptions are built into it.
This chapter assumes you know what a task, dependency, and milestone are, and that you can read a simple Gantt chart. The Python example is optional and needs only dictionaries, loops, and functions.
What a duration is
A duration is the number of working periods between the start and finish of an activity. It is usually counted in working days. It is a single number attached to a node in the activity network.
The critical path method (CPM) treats that number as a fixed fact. It adds durations along paths and compares the totals. It does not ask how reliable a duration is, who will do the work, or what else those people are doing. Any of those questions can change the answer, and the method cannot see them.
Duration, effort, and elapsed time
Three quantities are often confused, and mixing them up is the most common source of bad schedules.
| Quantity | Meaning | Typical unit | Example |
|---|---|---|---|
| Effort (work) | Total labour needed | Person-days | 20 person-days |
| Duration | Working time from start to finish | Working days | 7 working days |
| Elapsed time | Calendar time from start to finish | Calendar days | 9 calendar days |
CPM needs duration. Effort feeds into duration through staffing. Elapsed time depends on the calendar.
The relationship between effort and duration is:
duration = effort / (people × availability)
Availability is the fraction of a person's day that goes to this activity. A person who spends 20% of their time on meetings and support has an availability of 0.8.
A worked example
A task needs 20 person-days of effort. Four people are assigned, each 80% available. The duration is 20 / (4 × 0.8) = 6.25 days. Schedules usually use whole days, so round up to 7.
Now suppose the task starts on Thursday 3 December 2026. Seven working days end on Friday 11 December, which is 9 calendar days after the start. The weekend adds two non-working days.
The following code does this conversion. It uses only the standard library.
import math
from datetime import date, timedelta
def duration_days(effort_person_days, people, availability=1.0):
"""Working days needed, rounded up to a whole day."""
return math.ceil(effort_person_days / (people * availability))
def finish_date(start, working_days, holidays=()):
"""Date on which the last working day falls.
The start date counts as working day 1 if it is a working day.
"""
d = start
remaining = working_days
while True:
if d.weekday() < 5 and d not in holidays:
remaining -= 1
if remaining == 0:
return d
d += timedelta(days=1)
dur = duration_days(20, 4, 0.8)
start = date(2026, 12, 3) # a Thursday
end = finish_date(start, dur)
print(dur) # 7
print(end) # 2026-12-11
print((end - start).days + 1) # 9 calendar days, counting both endsThe critical path calculation works in working days (7). Converting to dates is a separate step done at the end, with a calendar. If you mix calendar days and working days in the same network, the passes still run, but the results are meaningless.
What a duration assumes
A single duration number hides several assumptions. When a project slips, one of them has usually failed.
1. Staffing is fixed
The duration was computed for a particular team size and availability. If someone leaves, is pulled onto another project, or is replaced by a less experienced person, the duration changes. Adding people does not shorten it in proportion either. New people need onboarding, and some work cannot be split.
2. The scope is fixed
A duration describes a defined piece of work. If the scope grows, the duration is stale even though the number in the schedule has not changed.
3. Inputs arrive on time
The duration usually counts only the active work. It assumes the predecessor's output is complete and usable, and that approvals, materials, and access are in place. Waiting for any of these is a delay, and it belongs in the network. You can model it as a separate activity, such as "Await client sign-off", or as a lag (covered in a later chapter).
4. One calendar applies
Different resources may follow different calendars. A vendor may work weekends, while your team does not. A concrete pour needs several days of curing, and curing continues on weekends. A single working-day count assumes one calendar for every activity. Tools handle this by giving each activity its own calendar, but a hand calculation does not.
5. The estimate is a typical outcome
This assumption causes the most trouble. A single estimate may be the most likely value, the average, or a hopeful guess. These can differ a lot. Real durations are skewed. A task estimated at 4 days is more likely to take 8 than 2, because there is a limit to how fast work can go and almost no limit to how slow it can get. If everyone quietly estimates optimistically, every path is too short, and merge points make it worse. A later chapter on three-point estimates shows how to handle that. For now, remember that CPM gives you a minimum duration only if every estimate holds.
Where durations come from
Common sources, from most to least reliable:
- Historical data from similar activities in past projects, ideally from your own team.
- Parametric estimates, such as productivity rates ("a team lays 40 square metres of flooring per day").
- Analogous estimates, which scale from one comparable job ("the last portal took 30 days, this one is about the same").
- Expert judgement, where the person who will do the work gives a number.
- Group estimates, where several people estimate and discuss the differences.
Estimates from the people doing the work tend to be better informed. They can also be padded. A hidden buffer inside each activity is a problem because the buffer is invisible, and the work expands to fill it.
Granularity: how big should an activity be?
Duration estimates get less accurate as activities get larger. A common rule of thumb is to keep activities between one day and about two reporting periods. For a weekly status cycle, that means roughly 1 to 10 working days.
- Too long (for example, 40 days): progress cannot be measured, the estimate is vague, and the activity may hide several parallel streams that should be separate nodes.
- Too short (for example, half a day): the network becomes huge, and maintaining it costs more than it returns.
Split an activity if its parts have different predecessors, different successors, or different resources. Splitting changes the network's shape, so the critical path may change as well.
Special cases
- Milestones have a duration of zero. They mark a point in time and do not consume any.
- Zero is not the same as missing. If a duration is blank, many tools treat it as zero, and the activity silently drops out of the path length. Check for missing values before you run the passes.
- Fractions of a day. You can use half-days, but pick one unit for the whole network. Many teams round every duration up to whole days and accept the slight overstatement.
- Fixed-duration activities do not shrink when you add resources. Curing, shipping, and a mandatory notice period are examples. These are the activities where crashing, covered later, does not help.
Practical checklist
Before you pass durations to the forward pass, confirm that:
- every activity has a duration, and milestones are explicitly zero;
- all durations use the same unit and the same calendar basis;
- each estimate states its staffing assumption;
- fixed-duration activities are marked as such;
- no activity is large enough to hide a separate stream of work.
Exercise
An activity needs 30 person-days of effort. Five people are assigned, and each can give it 75% of their time. What is its duration in whole working days? If it starts on Monday 7 December 2026 and there are no holidays, on what date does it finish?
Show answer
Duration = 30 / (5 × 0.75) = 30 / 3.75 = 8 working days. Counting Monday 7 December as day 1, days 1 to 5 run Monday to Friday (7 to 11 December), and days 6 to 8 are Monday to Wednesday of the next week (14 to 16 December). The activity finishes on Wednesday 16 December 2026.
Exercise
A teammate says, "The 10-day concrete cure is on the critical path, so we will double the crew to finish it in 5 days." Which assumption about durations does this ignore?
Show answer
It assumes the duration depends on staffing. Curing is a fixed-duration activity, so extra people do not shorten it. Only a different method, such as a faster-curing mix, could change the duration.