Sub topic 6
Making a baseline estimate
This chapter assumes you have read the earlier chapters on the planning fallacy and on defining done. You should be comfortable reading short Python snippets. Each estimate here is for work you do yourself, not for a team.
What a baseline estimate is
A baseline estimate is your honest answer to one question: how many focused hours will this task take if nothing unusual happens? It is the starting number for everything that follows. You add a buffer to it, convert it to calendar days, and later compare it with the time you actually spent.
A baseline is not a deadline. A deadline is a date, and it depends on your calendar, your other commitments, and how much slack you allow. The baseline is a quantity of effort. Keeping the two separate matters because of Parkinson's law. If you estimate and set a date in one step, you tend to pick a date that feels comfortable, and the task then stretches to fill it.
Two properties make a baseline useful:
- It is stated in focused hours, meaning time spent working on the task without interruption. Elapsed time includes meetings, context switches, and waiting, so it hides how much effort the task needs.
- It is tied to a written definition of done. An estimate for "write the report" and an estimate for "write, proofread, and format the report for the client" are estimates of different tasks.
Start from the definition of done
You cannot estimate a task whose finish line is blurry. Before you produce any number, write the completion criteria in two or three lines. For example:
- The report is 3 to 4 pages and covers the three agreed questions.
- Every figure has a source.
- One colleague has read it and I have fixed the problems they flagged.
This list tells you what to include in the estimate. Reviews, revisions, and formatting often fall outside a first mental picture of a task, so they are the usual source of "it took twice as long as I thought". If an item is in your definition of done, it needs hours in the estimate.
Also write down what is out of scope. Excluding "translating the report into French" is as useful as including "proofreading", because it stops the task from growing during the work.
Three ways to produce the number
No single method is best. Use one as the main method and a second as a cross-check.
Decomposition
Break the task into pieces small enough that you can picture doing each one, ideally between 30 minutes and 2 hours. Estimate each piece and add them up. Small pieces are easier to judge than a large task, and the act of listing them exposes steps you would have forgotten.
Decomposition has a known weakness. People forget steps, so the sum tends to be low. A common correction is to add a line item for "things I haven't thought of" and give it 10 to 20 percent of the total.
Reference class
Find similar tasks you have already finished and use how long they took. This is sometimes called the outside view: you ignore the details of the current task and ask how long tasks of this type usually take. It is the direct remedy for the planning fallacy, because your memory of past durations is more reliable than your forecast of future ones.
You need only a few data points. If your last three blog posts took 5, 7, and 6 hours, then a new post is a 6-hour task, whatever it feels like today. If you have no history, start recording it now. The review chapter later in this tutorial shows how to turn that record into a correction ratio.
Three-point estimate
Give three numbers instead of one:
- Optimistic: it goes smoothly.
- Likely: a typical run.
- Pessimistic: several things go wrong, but the task is still doable.
A weighted average gives an expected value, and the gap between the extremes gives a rough measure of uncertainty. The widely used weighting is (optimistic + 4 × likely + pessimistic) / 6.
def three_point(optimistic, likely, pessimistic):
"""Return (expected_hours, spread_hours) for a three-point estimate."""
expected = (optimistic + 4 * likely + pessimistic) / 6
spread = (pessimistic - optimistic) / 6
return expected, spread
expected, spread = three_point(optimistic=2, likely=4, pessimistic=9)
print(round(expected, 1), round(spread, 1))This prints 4.5 1.2. The expected value is higher than the likely value because the pessimistic case is much farther from the likely one than the optimistic case is. Tasks have a hard floor (they cannot take less than zero time) and no real ceiling, so the distribution leans toward long outcomes. A single "likely" number ignores that lean.
A worked example
Suppose your task is to prepare a 20-minute internal talk. Your definition of done is: slides finished, one full rehearsal done, and one round of feedback applied.
First, decompose it and estimate each piece in focused hours.
tasks = {
"outline the talk": 1.0,
"draft slides": 3.0,
"prepare charts": 1.5,
"rehearse once, timed": 1.0,
"apply feedback": 1.0,
}
subtotal = sum(tasks.values())
unknown_allowance = 0.15 # allowance for steps not yet thought of
baseline = subtotal * (1 + unknown_allowance)
print(subtotal)
print(round(baseline, 1))The subtotal is 7.5 hours, and the baseline with the 15 percent allowance is 8.6 hours. This is the number you carry forward.
Next, cross-check against your history. Say your last two talks took 10 and 11 hours. The reference class says about 10.5, which is higher than 8.6. A gap like this is information. Look for what the decomposition left out. Often it is the extra rehearsal, last-minute slide changes, or waiting for a colleague's feedback. Then decide which number to trust. If you can name the missing work, add it to the list. If you cannot, favor the history.
Write down what you did not assume
An estimate rests on assumptions, and the ones you do not write down cause the surprises. Add a short line to every baseline stating its conditions. For the talk above: "Assumes the data for the charts already exists and the feedback reviewer replies within two days." When an assumption fails, you then know whether the estimate was wrong or the conditions changed. Those call for different responses. A wrong estimate means you adjust your method. A changed condition means you replan.
Keep it a range when it is uncertain
A single number suggests more precision than you have. Where uncertainty is high, record a range such as "6 to 10 hours" and use the top of it when you convert to a deadline in the next chapter. Where the task is familiar and uncertainty is low, one number is fine.
A rough guide to how much precision to claim:
| Task type | How to estimate | Precision to claim |
|---|---|---|
| Done many times, similar each time | Reference class | A single number |
| Done before, with some new parts | Decomposition plus reference class | A number with a short range |
| New to you | Three-point estimate | A wide range |
| Depends on other people or unknown systems | Three-point estimate, split out the waiting | A wide range, with waiting time listed separately |
For tasks that depend on others, keep waiting time out of the focused-hours baseline. Waiting is real, but you cannot reduce it by working harder, and it should not be counted as effort.
Common errors
| Error | What it looks like | Fix |
|---|---|---|
| Estimating the best case | "If it all goes well, two hours" | Ask for a typical run, or use three points |
| Counting only the core work | No time for review, formatting, or fixing | Estimate from the definition of done |
| Anchoring on a wanted date | You pick the hours that fit the gap before the deadline | Estimate first, look at the calendar afterward |
| Mixing effort and elapsed time | "It's a three-day task" with no focused hours behind it | State focused hours, then convert separately |
| Estimating in large blocks | A single "write the app" line of 40 hours | Decompose until each piece is under about 2 hours |
| Never checking the result | The same bias in every estimate | Record estimate and actual for each task |
The anchoring error deserves attention. If a manager or a client says "I need it Friday", your mind adjusts the estimate to match. Produce the baseline before you look at the date, and write it down. Then you can say "this is about 9 hours of work, so Friday is possible only if I clear Wednesday" rather than quietly shrinking the estimate.
How the baseline feeds the next step
The baseline is one input to your self-imposed deadline. The flow below shows where it sits.
The loop from "record actual time" back to the cross-check is what improves your estimates over time. Without it you stay at your first-guess accuracy indefinitely. The review chapter covers that loop in detail.
For now, here is the connection in code. This function takes a baseline and returns a deadline in calendar days, assuming a buffer and a number of focused hours you can reliably work per day.
from datetime import date, timedelta
from math import ceil
def self_deadline(start, estimate_hours, hours_per_day=4, buffer=0.25):
"""Return a calendar-day deadline from a baseline estimate plus a buffer."""
padded_hours = estimate_hours * (1 + buffer)
days_needed = ceil(padded_hours / hours_per_day)
return start + timedelta(days=days_needed)
print(self_deadline(date(2026, 3, 2), estimate_hours=10))With a 10-hour baseline, a 25 percent buffer gives 12.5 hours. At 4 focused hours a day that is 4 days, so the output is 2026-03-06. Setting the date from the baseline plus a buffer, rather than from a feeling about how much time you have, is how you keep Parkinson's law from stretching the task. The next chapter treats this step in full.
Edge cases
- Very small tasks. For anything under about 30 minutes, an estimate costs more than it saves. Batch small tasks into one block and estimate the block.
- Research and exploration. When you do not know what the answer looks like, you cannot define done, and any baseline will be a guess. Estimate a timebox for the exploration instead, and treat the output as the start of a new task with a real estimate. Timeboxing is the topic of an upcoming chapter.
- Interrupted work. Resuming a task takes time. If you will work on it in many short sessions, add a restart cost of 10 to 15 minutes per session.
- Tasks you have been avoiding. Their estimates tend to be inflated by dread, which is the reverse of the usual optimism. Check the number against the reference class and break the task down. Often the real work is smaller than the feeling around it.
Exercises
Exercise
You are asked to write a user guide. Your definition of done is "draft complete, two screenshots per section, reviewed by one colleague". Your decomposition totals 12 hours. Your last two guides took 18 and 20 hours. What should you do before accepting the 12-hour baseline?
Show answer
Treat the gap as information. Compare the decomposition with the history and look for missing work, such as screenshot capture, the review round, and revisions after feedback. If you can name the missing tasks, add them and re-total. If you cannot, trust the reference class and use roughly 19 hours. Do not average the two numbers without finding the cause.
Exercise
Use the three-point formula (optimistic + 4 × likely + pessimistic) / 6. A task has an optimistic estimate of 3 hours, a likely estimate of 5, and a pessimistic estimate of 12. What is the expected value, and why is it higher than 5?
Show answer
(3 + 4 × 5 + 12) / 6 = 35 / 6, which is about 5.8 hours. It is higher than the likely value because the pessimistic case (7 hours above likely) is farther from the likely case than the optimistic case (2 hours below). Tasks cannot finish in negative time but can run very long, so the outcomes lean toward longer durations.
Exercise
A client says "I need this by Friday". You feel that 6 hours of work fits comfortably, but you have not decomposed the task. What mistake does this risk, and what is the correct order of steps?
Show answer
It risks anchoring: you are choosing the estimate to fit the date. The correct order is to write the definition of done, decompose, cross-check against past tasks, and record the baseline in focused hours. Only then compare it with the calendar. If it does not fit, reduce scope, move the date, or add capacity.