Sub topic 5
Deciding How Much Buffer to Add
This chapter assumes you can already estimate your own tasks and keep a calendar or task list. It also assumes you know the three kinds of buffer from the previous chapter: task, transition, and project. Here the question is a number: how many minutes or hours of slack should each item get?
A buffer that is too small fails on the first surprise. A buffer that is too large wastes time and tempts you to fill it. The goal is a size you can justify from evidence.
What a buffer size depends on
Three inputs set the size of a buffer:
- Your track record. How far your past actuals ran past your estimates.
- The uncertainty of the task. A task you have done fifty times varies less than one you have never done.
- The cost of being late. Missing a flight is worse than finishing a report an hour after you planned.
Track record is the only input you can measure. The other two adjust the result. Start with the numbers, then adjust.
Sizing from your own history
The ratio method divides each past task's actual duration by its estimate. A ratio of 1.0 means you were exact. A ratio of 1.5 means the task took 50% longer than planned.
You then pick a percentile of those ratios. A percentile is the value below which a given share of your observations fall. The 80th percentile ratio is one that 80% of your past tasks stayed under.
from statistics import quantiles
# (estimated_hours, actual_hours) for past tasks
history = [(2, 3), (4, 5), (1, 1.5), (3, 3), (5, 8)]
ratios = [actual / estimate for estimate, actual in history]
# 80th percentile of the actual/estimate ratio
p80 = quantiles(ratios, n=10)[7]
new_estimate = 4
buffered_estimate = new_estimate * p80
print(f"Plan {buffered_estimate:.1f} hours for a {new_estimate}-hour estimate")The ratios here are 1.5, 1.25, 1.5, 1.0, and 1.6. With n=10, quantiles returns nine cut points, and index 7 is the 80th percentile. For this data it is about 1.58, so the script prints Plan 6.3 hours for a 4-hour estimate. The buffer is the difference, about 2.3 hours.
Choosing the percentile
The percentile is a decision about risk, not a statistical fact.
| Percentile | Meaning | When to use it |
|---|---|---|
| 50th (median) | You overrun about half the time | Low-stakes work where a slip is cheap |
| 80th | You overrun about one time in five | A sensible default for most personal work |
| 90th | You overrun about one time in ten | Hard deadlines, handoffs, travel |
Moving from the 80th to the 90th percentile costs more time than moving from the 50th to the 80th, because the slowest outcomes sit far out in the tail. Before you raise the percentile, check whether the extra buffer is worth that cost.
Limits of the ratio method
- Small samples mislead. Five tasks, as in the example, only show the mechanics. Aim for at least 10 to 15 records in a category before trusting a percentile.
quantilesraises an error with fewer than two data points. - Mixed categories blur the answer. Writing, meetings, and code review overrun differently. Compute a separate ratio for each category once you have enough data.
- Ratios scale with task size. A ratio suits work that grows with its size, such as writing or analysis. It suits a 15-minute task poorly. A 1.5 ratio adds 7 minutes there, but a fixed overhead like logging in or finding a file may cost 10 regardless.
- Past surprises may not repeat. One unusual outage can distort a small sample. Look at the largest ratio and decide whether it was a one-off before it drives your buffer.
Sizing by type of buffer
Each buffer type gets sized differently, because each absorbs a different kind of variation.
| Buffer type | Absorbs | Sizing approach |
|---|---|---|
| Task | Work taking longer than estimated | A percentile of the actual/estimate ratio for that category |
| Transition | Switching, travel, setup, and wrap-up | A fixed number of minutes, from observed gaps |
| Project | The combined delay across many tasks | A share of total task time, set at the project level |
Task buffers
Apply the ratio to each task, or to the category it belongs to. If your 80th percentile ratio for writing is 1.4, a 3-hour writing estimate becomes 4.2 hours.
Transition buffers
Transition time does not scale with task length. Moving from a meeting to deep work takes about as long whether the meeting lasted 30 minutes or 90. So use a fixed gap, and measure it. For a week, note how long it takes between "meeting ended" and "next task started." The typical value, often 10 to 20 minutes, becomes your default.
This script lays out a day with a fixed gap after each task, which shows what the buffers cost.
from datetime import datetime, timedelta
def lay_out_day(start, tasks, buffer_minutes=15):
"""Print a schedule with a fixed transition buffer after each task."""
t = start
for name, minutes in tasks:
end = t + timedelta(minutes=minutes)
print(f"{t:%H:%M}-{end:%H:%M} {name}")
t = end + timedelta(minutes=buffer_minutes)
return t
finish = lay_out_day(
datetime(2026, 1, 5, 9, 0),
[("Write report", 90), ("Team sync", 30), ("Review pull requests", 60)],
)
print(f"Day ends at {finish - timedelta(minutes=15):%H:%M} plus a final buffer")The output is:
09:00-10:30 Write report
10:45-11:15 Team sync
11:30-12:30 Review pull requests
Day ends at 12:30 plus a final bufferThe tasks total 180 minutes of work. The three gaps add 45 minutes, so the block finishes at 12:45 once the final buffer is counted. That is a 25% increase, and the script makes it visible. If you cannot afford it, cut tasks. Do not quietly shrink the gaps.
Project buffers
A project buffer sits at the end of a multi-step effort and absorbs delay from any step. A common starting point is 20% to 30% of the summed task durations for a familiar project type, and more for novel work. Measure your own overrun on past projects to refine this. A later chapter covers pooling in detail.
A starting point when you have no history
If you have no records yet, use a rough rule and begin collecting data. These figures are common starting points, not measured facts, so replace them as soon as your own numbers exist.
| Situation | Starting buffer on the task estimate |
|---|---|
| Routine task you have done many times | 10% to 25% |
| Familiar task with some unknowns | 25% to 50% |
| New kind of work, or depends on other people | 50% to 100% |
Treat these as temporary. After a few weeks of tracking, compare them with your measured ratios and switch to the measured values.
Adjusting for stakes and uncertainty
The percentile gives a base figure. Then ask two questions.
- What happens if this slips? If the answer is "I move it to tomorrow," the base figure is enough. If it is "a client waits" or "a fixed event is missed," move up to the 90th percentile or add a fixed safety margin.
- Does the task have dependencies you do not control? Waiting on a reviewer, a vendor, or a build adds variation that your own history may not capture. Size the buffer for the dependency separately, and use the typical response time of that person or system.
A decision path
The flowchart summarizes how to choose a method for one task.
Common errors
- Padding the estimate instead of adding a visible buffer. If you inflate each estimate quietly, you lose the ability to see how much slack you have. Keep the estimate honest and show the buffer as its own line. The pitfalls chapter returns to this.
- Using the average ratio. An average overrun means you run late roughly half the time. A percentile such as the 80th gives a defined level of protection.
- Applying the same percentage everywhere. A flat 20% over-buffers routine work and under-buffers novel work. Size by category.
- Never updating the figure. Your estimating improves, or your work changes. Recompute every few weeks, as covered in the review chapter.
- Buffering a transition by multiplying. Switch costs are mostly fixed. A 1.5 ratio on a 10-minute handoff does little. Use a measured gap in minutes.
Exercise
Your past ratios (actual divided by estimate) for code review are 1.0, 1.2, 1.1, 1.8, 1.3, 1.0, 1.4, 1.2, 1.5, and 1.1. You have a 2-hour review to schedule. Would you use the median or the 90th percentile for a review that blocks a release tomorrow, and roughly how many hours would you plan?
Show answer
Use the 90th percentile, because a release depends on it and a slip is costly. The ratios sorted are 1.0, 1.0, 1.1, 1.1, 1.2, 1.2, 1.3, 1.4, 1.5, 1.8. The 90th percentile is near the top of the range, about 1.5 to 1.8 depending on the method, so plan roughly 3 to 3.6 hours. The median ratio is about 1.2, which would suggest only 2.4 hours and leave you exposed.
Exercise
You use a 15-minute transition buffer after every task. You schedule six tasks in a day and want the whole day, including the buffers, to fit in an 8-hour window. What is the maximum total task time, and what does this tell you about how many tasks to schedule?
Show answer
Six tasks with a buffer after each use 6 x 15 = 90 minutes of buffer, or 1.5 hours. That leaves 8 - 1.5 = 6.5 hours of task time. If your planned work exceeds 6.5 hours, remove a task or shorten the work. Do not cut the buffers, because the schedule would then have no room for the overruns the buffers exist to absorb.