Estimation and Forecasting
Estimate software work with ranges and evidence, use relative sizing and historical data, and forecast delivery dates with honest uncertainty.
Introduction
Estimates are among the most contested artifacts in software projects. Stakeholders want certainty; engineers know the work contains unknowns. When an estimate is treated as a promise, people pad them, hide uncertainty, or fight over them. When estimates are abandoned entirely, planning becomes guessing.
A healthy approach treats estimates as statements of uncertainty used to make decisions, expressed as ranges, based on evidence, and improved over time.
Learning Objectives
- Explain why software estimates are uncertain and the cone of uncertainty.
- Use relative estimation (story points) and absolute estimation (time) appropriately.
- Produce range-based estimates and three-point estimates.
- Forecast delivery using throughput and velocity, including Monte Carlo reasoning.
- Avoid common estimation biases.
- Use AI as a second opinion without letting it estimate for the team.
1. Estimates, Targets, and Commitments
These are different things and often confused.
| Concept | Meaning |
|---|---|
| Estimate | Best judgment of the effort or duration, with uncertainty |
| Target | A desired outcome (“we want to release by 1 June”) |
| Commitment | A promise to deliver, made when confidence justifies it |
A target is not an estimate. When a target is set before estimating, the real question becomes “what can we deliver by then, and with what confidence?” rather than “can you make this fit?”
2. Why Estimates Are Uncertain
The earlier in a project, the greater the uncertainty, which narrows as unknowns are resolved. This is sometimes depicted as the cone of uncertainty: early estimates can be off by a factor of several in either direction; at later stages, much less.
Sources of uncertainty:
- Unclear requirements and unknown unknowns.
- Technical risk and unfamiliar technology.
- Dependencies on other teams or vendors.
- Team changes and learning curves.
- Interruptions, support, and operations work.
- Integration and rework.
Because tasks run late more often than early, a single-number estimate tends to be optimistic. Ranges communicate this honestly.
3. Relative Estimation
Teams are often better at comparing sizes than at predicting hours. Story points express relative size, combining effort, complexity, and uncertainty, usually on a scale such as 1, 2, 3, 5, 8, 13.
How to use them:
- Choose a reference item that the team understands (“Upload CSV with valid rows = 3”).
- Estimate other items by comparison: “Is this bigger or smaller than the reference?”
- Use techniques such as planning poker or affinity estimation (sorting items by size), which expose differing assumptions through discussion.
- If an item is larger than a threshold (say 8), split it rather than estimate it more precisely.
The value of estimation is partly the conversation: when two engineers estimate 2 and 13, they have different assumptions, which is important to discover before the work starts.
Points are not hours. Do not convert points to hours on a fixed rate, compare points across teams, or use them as a measure of productivity. Their purpose is forecasting for one team.
4. Three-Point and Range Estimates
For larger work packages, or when the team does not use points, estimate with a range:
| Value | Meaning |
|---|---|
| Optimistic (O) | Everything goes well (not impossible, but unlikely) |
| Most likely (M) | The most probable outcome |
| Pessimistic (P) | Things go wrong in plausible ways |
A common expected value is (O + 4M + P) / 6, with (P - O) / 6 as a rough standard deviation. The numbers matter less than being forced to consider how things might go wrong.
Example: Search implementation: O = 5 days, M = 8, P = 20. The wide range signals risk, which suggests a spike first to narrow it.
The sum of ranges across many tasks is narrower, proportionally, than the individual ranges, since not everything goes wrong at once, but systematic bias (for example, systematic underestimation of integration) does not average out.
5. Estimation by Analogy and Reference Classes
The most reliable estimates draw on history: how long did similar work take before?
- Compare to completed work of similar type and size.
- Use a reference class: how long do projects of this type typically take, compared with initial estimates?
- Adjust for differences, such as a new technology or team members.
Ignoring the “outside view” in favor of detailed bottom-up reasoning is one of the main causes of optimistic plans (the planning fallacy). Combine both: the bottom-up estimate and a check against comparable past projects.
6. Forecasting From Flow Data
Once the team has completed work, forecasting becomes more evidence-based.
Velocity-based: if the team completes a median of 28 points per sprint (range 22-34) and 220 points of Must work remain, the forecast is about 8 sprints, with a range from about 6.5 (34 points per sprint) to 10 (22 per sprint).
Throughput-based (no points): count items finished per week. If the team finishes 6-12 items per week and 80 items remain, the forecast is roughly 7 to 13 weeks.
Probabilistic forecasting (Monte Carlo): simulate many futures by repeatedly sampling from historical throughput to produce a distribution: “there is an 85% chance we finish 80 items within 12 weeks.” A spreadsheet or a short script is sufficient. Present dates as probabilities, for example: 50% by week 9, 85% by week 12, 95% by week 14.
Include scope change: backlog items are added over time. Forecast with the expected growth, or you will be surprised.
For a new team with no history, use a reference-class guess and replace it with data after two or three sprints.
7. Estimating Non-Development Work
Project time is not only coding. Estimate or reserve for:
- Reviews, testing, and rework.
- Deployment, environment problems, and tooling.
- Meetings, refinement, and onboarding.
- Production support and operations.
- Security reviews and compliance activities.
- Pilot customer onboarding.
Teams routinely omit these and then blame the estimate. Capacity planning (previous lesson) should reflect them.
8. Biases and Anti-Patterns
| Issue | Description | Remedy |
|---|---|---|
| Planning fallacy | Overly optimistic, inside-view estimates | Use reference classes and ranges |
| Anchoring | First number mentioned dominates | Estimate individually first, then reveal (poker) |
| Pressure | Estimates bend to match the target | Separate estimates from targets; protect honesty |
| Padding | Hidden buffers in each task | Keep contingency explicit and visible at project level |
| Precision illusion | “37.5 days” from a guess | Round, use ranges, state assumptions |
| Parkinson’s law | Work expands to fill the time | Use time-boxes and flow limits |
| Estimating unknowns | Detailed estimate for unclear work | Do a spike; estimate afterwards |
| Individual metric | Using estimates to judge people | Use for team-level forecasting only |
9. Use AI as a Second Opinion
AI can compare descriptions, remind you of work you forgot, and ask questions that expose assumptions. It does not know your team’s speed, so its numbers are not estimates of your work.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Act as an experienced engineering lead giving a second opinion on
estimates. You are not estimating for the team.
Inputs:
- Work item descriptions with acceptance criteria: [paste]
- The team's estimates (ranges) and reasoning: [paste]
- Relevant history: past similar items and how long they took:
[paste if available]
Tasks:
1. For each item, list assumptions that the estimate appears to
depend on, and risks that could make it larger.
2. Identify items with unclear scope that need a spike or splitting.
3. List typically forgotten work for each item (testing, migration,
security, documentation, deployment, monitoring).
4. Identify estimates that are inconsistent with each other.
5. List questions the team should discuss.
Do not provide numeric estimates. Do not claim to know the team's
speed.
Use the output to improve discussion, then update the estimates as a team. A team that lets AI supply the numbers learns nothing and owns nothing.
10. Practical Exercise
For SignalDesk (or your own project):
- Choose a reference item and estimate at least 20 backlog items relatively (or with three-point ranges for larger work packages), recording the assumptions behind each.
- Split any item over your threshold, or mark it for a spike.
- Produce a project-level forecast for the Must scope: a range and, if you have the data, a probabilistic one. For a new project, label it clearly as a reference-class forecast with low confidence.
- State separately: target date, estimate range, and the commitment you would make and under what conditions.
- Add the contingency explicitly, with its rationale.
- Run the AI second opinion and note which points changed your estimates.
Verification
You are ready to continue when:
- Estimates are ranges or relative sizes with documented assumptions.
- Large or unclear items are split or have a spike.
- Targets, estimates, and commitments are stated separately.
- The forecast presents confidence, not a single date.
- Contingency is explicit.
Key Takeaways
- Estimates express uncertainty; targets and commitments are different.
- Use ranges, relative sizing, and historical data; combine inside and outside views.
- Forecast with throughput or velocity, and present probabilities.
- AI can challenge assumptions, but the team owns its estimates.
What’s Next?
Estimates tell you how big the work is; capacity and dependencies determine when it can be done. Next, we allocate people and analyze the schedule, including the critical path.