Sub topic 15
Tracking actuals and calibrating future estimates
This chapter assumes you can already produce a three-point estimate and convert effort to calendar time. It also assumes you know what a velocity or a unit rate is. Here you learn to record what happened, compare it with what you predicted, and use the gap to improve the next estimate.
Why an estimate is not finished at handoff
An estimate is a prediction. Without a record of the outcome, you cannot tell whether your predictions are good, biased or just lucky. Most teams that "are bad at estimating" are consistently wrong in one direction, and the pattern is visible once they write the numbers down.
Tracking has three parts:
- Record the estimate as it was made, including its range and assumptions.
- Record the actual effort and duration when the work finishes.
- Compare the two and adjust how you estimate.
The loop is the point. Data that nobody reads is overhead.
What to record
Keep the record small enough that people will fill it in. For each task, store these fields:
| Field | Why it matters |
|---|---|
| Estimate (low, expected, high) | The original range, not a number rewritten later |
| Assumptions | Lets you tell a bad estimate from a broken assumption |
| Actual effort (person-days) | Compares against effort estimates |
| Actual duration (working days, start to finish) | Compares against schedule estimates |
| Task type | Lets you calibrate per kind of work |
| Scope changes | Separates estimation error from changed requirements |
Record effort and duration separately, as you did when estimating. A task that took 3 person-days but spent 9 working days waiting for a review has a good effort estimate and a poor schedule estimate. These need different fixes.
Do not edit the original estimate after the fact. If the scope grows, add a note and, if needed, a new estimate for the added scope. Overwriting the first number removes the data you need.
Measuring the gap
Three simple measures cover most needs.
Ratio of actual to estimate. A ratio of 1.0 means the estimate was right, 1.3 means the task took 30% longer. The ratio treats a 2-day miss on a 4-day task differently from a 2-day miss on a 40-day task, which is what you want.
Bias. This is the typical direction of the error. If the median ratio is well above 1.0, you underestimate systematically. Use the median rather than the mean, because one disastrous task can distort an average.
Hit rate of ranges. If you give 90% ranges, about 9 in 10 actuals should fall inside them. If only 5 in 10 do, your ranges are too narrow, which is the usual sign of overconfidence. The cure is wider ranges, not a different expected value.
A worked calibration
The script below takes finished tasks as (estimated days, actual days) pairs. It computes the ratios, reports bias, and applies the historical ratios to a new estimate to give a calibrated range.
from statistics import median, quantiles
# (estimated_days, actual_days) for finished tasks of one type
history = [(3, 4), (5, 8), (2, 2), (8, 11), (4, 5), (6, 6), (3, 5), (10, 12)]
ratios = [actual / est for est, actual in history]
over = sum(1 for r in ratios if r > 1.0)
print(f"tasks over estimate: {over} of {len(ratios)}")
print(f"median ratio: {median(ratios):.2f}")
# 25th, 50th and 75th percentiles of the ratio
q1, q2, q3 = quantiles(ratios, n=4)
new_estimate = 10 # days, from the usual estimating process
print(
f"calibrated: {new_estimate * q1:.1f} to {new_estimate * q3:.1f} days "
f"(middle {new_estimate * q2:.1f})"
)Running it prints:
tasks over estimate: 6 of 8
median ratio: 1.29
calibrated: 10.5 to 15.4 days (middle 12.9)Six of eight tasks ran over, and the typical task took about 29% longer than estimated. A new 10-day estimate becomes roughly 10.5 to 15.4 days, with 12.9 as the middle. The spread between the quartiles also shows how consistent the estimators are. A narrow spread means a simple correction factor works well. A wide spread means the problem is noise, and a single multiplier cannot remove it.
Calibrating by technique
Each estimation technique has its own thing to update.
- Analogous estimation. Replace the guessed comparison with recorded results. "Last time it took 30 days" becomes more reliable once you also know how large that project really was and what went wrong.
- Parametric estimation. Recompute your unit rates (days per screen, hours per test case) from actuals. A rate taken from an industry table should give way to your own rate after a few completed units.
- Bottom-up and three-point. Check whether actuals land inside your optimistic-to-pessimistic ranges. If they often exceed the pessimistic value, your pessimistic values are not pessimistic enough.
- Relative estimation. Track velocity, the number of story points finished per iteration. Use the average of the last three to five iterations to forecast, and treat a single unusually good or bad iteration as noise. Velocity belongs to one team. Do not compare teams, and do not set a velocity target, because teams then inflate their points.
Separating estimation error from other causes
A task that overran did not always have a bad estimate. Before adjusting your method, sort each large miss into one of these causes:
- Estimation error. The work was understood, and the prediction was wrong.
- Scope change. The task grew after the estimate. Re-estimate the added scope, and do not blame the original number.
- Execution problem. A key person was pulled away, or the environment broke. These matter for schedule risk and buffers (see the contingency chapter), but they do not mean your sizing was wrong.
- Broken assumption. The estimate said "the vendor API is stable" and it was not. Update your assumptions checklist.
This sorting is why you record assumptions and scope changes. Without it, every miss looks like an estimation failure, and you will keep adding padding to every task, which the buffers chapter warned against.
Common mistakes
- Calibrating on survivors. Cancelled or abandoned tasks have no actuals, so the data leaves out the worst cases. Record them too, with the effort spent before stopping.
- Mixing task types. Routine bug fixes and new integrations have different ratios. A blended factor is wrong for both.
- Anchoring on the estimate while logging. If people see the estimate when they enter hours, the numbers drift toward it.
- Over-correcting. Multiplying every estimate by 1.5 after one bad project makes the next plan unrealistic in the other direction. Update gradually as evidence accumulates.
- Skipping the review. A short retrospective at the end of each milestone is enough: which tasks missed by more than 30%, and why. Change one thing at a time so you can see its effect.
Using the results
Calibration should change what you tell stakeholders. If your history shows that 80% of tasks finish within 1.4 times the estimate, you can say so: "We estimate 20 days. Based on our last 18 comparable tasks, 80% finished within 28 days." This statement is stronger than a padded number, because it comes from evidence. The next chapter covers how to present such ranges, assumptions and confidence.
Exercise
Your team gives 90% ranges for tasks. Over the last 20 finished tasks, only 11 actuals fell inside their ranges. What does this tell you, and what should you change first?
Show answer
The hit rate is 55%, far below the intended 90%, so the ranges are too narrow and the team is overconfident. First widen the ranges, especially the pessimistic values, and check whether a missed assumption caused the large misses. Do not simply raise every expected value, because the problem is the spread rather than the center.
Exercise
A task was estimated at 5 person-days. It took 5 person-days of work, but finished 12 working days after it started, because the developer waited a week for a test environment. Which estimate was wrong, and where should you record the cause?
Show answer
The effort estimate was right (5 versus 5). The duration estimate was wrong, because it did not allow for the wait. Record the cause as an execution problem or broken assumption ("test environment available at start") and add it to the assumptions checklist, instead of raising effort estimates for similar tasks.
Exercise
Using ratios of 1.0, 1.2, 1.3, 1.4 and 2.5 from five finished tasks, which is a better measure of typical bias, the mean or the median, and what is its value?
Show answer
The median is better because the 2.5 outlier pulls the mean up. The median is 1.3. The mean is 1.48, which overstates the typical overrun.