Sub topic 1
Effort, duration and elapsed time: what you are actually estimating
Prerequisites
This chapter assumes you know basic project management vocabulary: task, milestone, deliverable and schedule. It also assumes you have seen a small team deliver work and can do simple arithmetic with averages. The code examples use Python 3 and only the standard library.
Three numbers that get confused
When someone asks "how long will this take?", they could mean three different things. Most estimation errors come from answering one question while the listener hears another.
| Quantity | Definition | Unit | Example |
|---|---|---|---|
| Effort | The amount of focused work needed, summed over everyone who does it | Person-hours, person-days | 20 person-days |
| Duration | The working time between the start and the finish of the task | Working days | 15 working days |
| Elapsed time | The calendar time between start and finish, including weekends, holidays and waiting | Calendar days | 19 calendar days |
Effort measures how much work exists. Duration measures how long that work occupies the schedule once you know who does it and how much of their day it gets. Elapsed time measures what a stakeholder sees on the calendar.
A task of 20 person-days can take 20 working days for one person and 10 for two people. Neither figure changes the effort. Effort is a property of the work. Duration is a property of the work plus the plan for doing it.
The basic conversion
The core relationship is:
duration = effort / (people × focus factor)
The focus factor is the share of a working day that each person spends on this task. It is almost never 1.0. People attend meetings, answer messages, review other people's work and switch between tasks. A focus factor of 0.6 to 0.8 is common for a person assigned to one project. It is lower for people who split their time across several projects.
from math import ceil
def duration_days(effort_person_days, people, focus_factor):
# focus_factor: share of a working day each person spends on this work
return ceil(effort_person_days / (people * focus_factor))
print(duration_days(20, 2, 0.7)) # 15
print(duration_days(20, 1, 1.0)) # 20
print(duration_days(20, 4, 0.7)) # 8The first call gives 20 / 1.4 = 14.3, which rounds up to 15. Round up because a task is not done on a fractional day. The last call shows the trap: four people at a focus factor of 0.7 do not make the work four times faster in practice, for the reasons in the next section.
Why adding people does not divide the duration cleanly
The formula is a starting point. It assumes the work divides evenly among people and that adding a person costs nothing. Real work breaks both assumptions.
- Indivisible work. Some tasks cannot be split. A person who needs nine months to produce a result cannot be replaced by nine people who need one month each. Splitting a design decision across four people usually produces four designs.
- Coordination cost. Each added person creates more communication paths. Two people have one pair to coordinate. Five people have ten. This overhead is part of the effort, so the effort itself grows with team size.
- Ramp-up. A new person needs time to learn the context. During that time, existing members lose some of their own time to teaching.
- Uneven skills. If only one person can do the database work, the others cannot reduce that part of the duration.
This pattern is often called Brooks's law: adding people to a late software project tends to make it later. Treat it as a warning, not a rule. Adding people helps most when the work is divisible and the new people are already familiar with it.
For planning, state the number of people your estimate assumes, and do not rescale it by simple division when the team changes. Re-estimate the effort for the new arrangement.
From duration to elapsed time
Duration counts working days. Elapsed time counts the calendar. The difference is weekends, public holidays, planned leave and waiting time, such as waiting for a review, a vendor or a deployment window.
The function below converts a duration into a finish date. It skips weekends and any holidays you pass in.
from datetime import date, timedelta
def finish_date(start, working_days, holidays=frozenset()):
# start counts as day 1 if it is a working day
current = start - timedelta(days=1)
remaining = working_days
while remaining > 0:
current += timedelta(days=1)
if current.weekday() < 5 and current not in holidays:
remaining -= 1
return current
start = date(2026, 11, 30) # a Monday
end = finish_date(start, 15)
print(end) # 2026-12-18
print((end - start).days + 1) # 19 calendar days
holidays = {date(2026, 12, 8)}
print(finish_date(start, 15, holidays)) # 2026-12-21Fifteen working days starting on a Monday span three work weeks, but they take 19 calendar days because the weekends in between do not count. One holiday moves the finish from Friday 18 December to Monday 21 December, because the lost day pushes the last day past a weekend.
The same 20 person-days of effort therefore appears as three different numbers. It is 20 person-days of effort, 15 working days of duration, and 19 or more calendar days of elapsed time.
Waiting time is not effort
A task can have a long elapsed time and almost no effort. Ordering hardware, waiting for a security approval or letting a test environment build overnight all add elapsed time without anyone working on them.
Record waiting time separately from effort. If you fold it into effort, the numbers become hard to use. Effort estimates can no longer be compared with how much work was actually done. Costs calculated from effort also become wrong, because nobody is paid for waiting on a vendor.
A practical convention is to estimate each task in two parts: the effort, and a lag. A lag is a fixed delay before or after the task during which no work happens.
Common errors
- Reporting effort as duration. "It's 10 days of work" is heard as "it will be done in two weeks", but only if one person works on it full time with no interruptions. State which quantity you mean.
- Using a focus factor of 1.0. Doing so assumes people work on the task for every hour of every working day. It produces consistently optimistic schedules.
- Dividing effort by headcount without checking divisibility. See the list above.
- Ignoring availability. Planned leave, training and support duties reduce the person-days available. Remove them before computing duration.
- Mixing units in one estimate. Adding hours of effort to days of duration gives a number with no meaning. Keep a unit on every figure.
- Treating the date as the estimate. A finish date is the output of effort, team and calendar together. If any of the three changes, the date changes.
Which quantity to estimate first
Estimate effort first, then derive duration and elapsed time. Effort is the most stable of the three. It depends on the work itself, so it changes little when staffing or calendars change. Duration and elapsed time depend on decisions you can still change: who is assigned, how much of their time they get, and when work starts.
If you estimate duration directly, you mix the work with assumptions about people that you have not written down. When the assumptions turn out wrong, you cannot tell whether the work was larger than expected or the team was less available than expected. Separating the quantities lets you find which part of the estimate was wrong, which matters later when you compare estimates with actuals.
Exercise
A task needs 30 person-days of effort. Three people will work on it, each spending 60% of their day on it. The work divides evenly. How many working days is the duration? If the task starts on a Monday, is the elapsed time shorter than, equal to, or longer than that number in calendar days, and why?
Show answer
Duration = 30 / (3 × 0.6) = 30 / 1.8 = 16.7, rounded up to 17 working days. Elapsed time is longer than 17 calendar days. Seventeen working days span more than three full work weeks, so at least six weekend days (three weekends) fall inside the period, giving at least 23 calendar days, plus any holidays or waiting time.
Exercise
A colleague says "Adding two more people will cut our 20-working-day task to 10 days, because 20 × 2 / 4 = 10." Name two reasons this might be wrong.
Show answer
Any two of: the work may not be divisible among four people; coordination between more people adds effort; the new people need ramp-up time that also takes time from existing members; only some people may have the skills needed for part of the work; the new people may have a lower focus factor.