Sub topic 5
Deciding how much buffer to add
This chapter assumes you have read the earlier chapters on the planning fallacy and on task, transition, and project buffers. It also assumes you have kept a simple record of estimates and actual durations for your own tasks. Here you turn that record into a buffer size you can defend.
Why a flat rule falls short
Many people add a fixed amount, such as "always add 25%". A flat rule is easy to remember, but it ignores your own data. If your coding tasks run 60% over and your email tasks run 5% over, a single 25% buffer is too small for one and wasteful for the other.
A better approach has two steps:
- Measure how far past estimates missed, using the ratio of actual time to estimated time.
- Pick a point in that spread that matches how costly a miss would be.
Measure the ratio
For each finished task, divide actual hours by estimated hours. A ratio of 1.0 means you were exact. A ratio of 1.5 means the task took half again as long as you planned.
The average ratio is a poor guide on its own. Half of your tasks will exceed the average, so a buffer sized to it fails about half the time. A percentile is more useful. The 80th percentile is the ratio that 80% of your past tasks stayed under. Buffering to it means you would have finished on time in about four tasks out of five.
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 call quantiles(ratios, n=10) returns nine cut points that split the data into ten equal groups. Index 7 is the eighth cut point, which is the 80th percentile. The script then scales the new estimate by that ratio, so the buffer comes from your history instead of a guess.
Choose the percentile by the cost of a miss
The 80th percentile is a starting point, not a law. Match it to what happens if the task overruns.
| Situation | Suggested percentile | Reason |
|---|---|---|
| Low stakes, easy to reschedule | 50th to 60th | A miss costs little, so a small buffer is enough. |
| Typical work with a soft deadline | 80th | Most tasks finish on time without heavy padding. |
| Fixed deadline, others depend on you | 90th | A miss blocks other people. |
A higher percentile gives more safety but uses more of your day. Every buffer you add is time you cannot spend on other work, so the choice is a trade-off, not a free improvement.
Watch the sample size
The example above uses five tasks, which is too few for a trustworthy percentile. With so little data, one unusual task moves the result a great deal. Aim for at least 15 to 20 completed tasks per category before you rely on a percentile. Until then, use a rough rule such as 30% to 50% and refine it as the record grows.
Keep categories separate. Writing, meetings, and debugging often have different spreads, and mixing them hides the pattern.
Size transition buffers differently
Task buffers scale with the size of the task. Transition buffers do not. Switching from one task to the next costs roughly the same whether the task before it was 20 minutes or two hours: saving work, moving rooms, and refocusing. A fixed gap works well here, commonly 10 to 15 minutes.
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")Running this shows the cost of buffering. Three tasks that total 180 minutes now stretch across 225 minutes, and the last task ends at 12:45 instead of 12:00. Seeing that number helps you decide whether the gaps are worth it.
How the pieces fit
Common errors
- Sizing to the average ratio, which fails about half the time.
- Using too few data points and trusting the result.
- Mixing task types into one pool.
- Applying a percentage to transitions, which do not grow with task length.
- Never updating the numbers after your habits change.
Exercise
Your past ratios for design tasks are 1.0, 1.2, 1.2, 1.4, 1.5, 1.6, 1.8, 2.0, 2.2, 2.6. You have a 3-hour design task with a fixed deadline that a colleague depends on. Which percentile would you pick, and roughly how many hours would you plan?
Show answer
Choose the 90th percentile because a miss blocks someone else. With ten values, about nine of ten tasks stayed under roughly 2.2 to 2.6, so use about 2.3. Plan about 3 × 2.3 ≈ 7 hours. If that is more than your day allows, shorten the scope or move the deadline instead of cutting the buffer.