PRACTITIONERCHAPTER 05

Breaking down work and estimating it: pieces you can see, ranges you can defend

Split the work until each piece has a result you can check, put a low, likely and high on each, list what the number leaves out, and answer 'can you do it faster?' with scope instead of a smaller number

40 MINSOFTWARE ENGINEERUPDATED 2026-11-21
PREDICT

Adigun's breakdown of the scheduler and executor adds up to a likely 6.5 days, with a range of 5 to 8. The product manager needs something for a customer demo in 3. Which first reply is most useful?

Most engineers learn to estimate by being asked and answering. The skill is closer to forecasting than to guessing: you build a picture of the work, you say how sure you are, and you keep score. The people around you use your number for something, such as a date on a slide, a promise to a customer or a choice between two projects. If the number is wrong in the same direction every time, they stop using it, and you lose a say in how your own work is planned.

This chapter is the engineer’s side of a subject that the product manager and the engineering manager each teach from their own seat. Working with engineering covers the estimation techniques and why estimates slip, and Delivery and planning covers how a manager plans a quarter from them. Here the question is smaller and more practical: you have been given a feature, and you have to turn it into pieces and ranges that you would sign. Chapters later in this track cover design docs and testing your own work, and the running example, scheduled payouts at Ferrowave, continues through them.

The model: what a number is for

An estimate is a forecast of effort under uncertainty. McConnell, in Software Estimation, separates three things that conversations tend to fuse. The estimate is what you think the work will take. The target is what somebody wants. The commitment is what you agree to deliver. At Ferrowave the three look like this.

What it is Scheduled payouts
Estimate Your forecast of the work 5 to 8 days of Payouts Core work, most likely 6.5
Target What the business wants A demo in 3 days; the feature live for the January payroll run
Commitment What you agree to deliver, and by when The demo slice in 3 days; the full feature once the risks below are cleared

When the target is lower than the estimate, you do not have a disagreement about the estimate. You have a decision to make about scope, quality, time or people, and the estimate is the evidence for that decision. Martin Fowler’s short piece on the purpose of estimation, in the reading, makes the related point that estimates are worth the effort when they inform a real decision, so ask what decision yours is for before you spend an afternoon refining it.

Two consequences follow. First, an estimate is a range with a meaning attached, so say what the range covers: “5 to 8 working days of my time, including tests and review, not including the calendar endpoint from Bank Connectors.” Second, an estimate is revised as you learn. It is not a promise made once, and the range should narrow as the unknowns close.

Break it down until you can see the unknowns

You cannot estimate “scheduled payouts”. You can estimate “accept a schedule date and reject one more than 30 days ahead”, because you can picture it. Breaking down is the act of cutting a feature until every piece is something you can picture, and the cutting itself is where most of the value is. The unknowns show up as pieces you cannot picture.

Use these rules.

Cut by result, not by layer. A piece should end in something you can check: “a batch with a date is accepted and stored” is a result; “write the database migration” is a step that may not be. Where you can, cut vertically, so that each piece crosses the layers it needs and works end to end, instead of a database piece, a service piece and a screen piece that only work together at the end. A thin path through everything, sometimes called a walking skeleton, is also the best demo slice, because it runs.

Aim for a day or two. A piece longer than three days usually hides a decision or several pieces. A piece of half a day is fine. If you cannot say what a piece’s result would look like, it is not a task. It is either a question for someone or a spike.

Count the work around the code. Estimates are small mainly because they cover the writing. For anything that touches money, add the pieces people forget: tests for the failure cases, the migration, a feature flag so you can switch it off, an alert for the state that means something went wrong, a line in the runbook, the review and the changes that follow it, and the deploy. They are the part of the job that makes the feature safe to leave running. Leave them out and the number is only the time to type the code.

Write down what is not yours. Ferrowave’s scheduled payouts need a holiday calendar from Bank Connectors, a scheduling screen from Customer Console, and a scheduled-versus-executed line in the daily reconciliation file from Reconciliation and Ledger. They are not in Adigun’s days, and the estimate must say so, with who owns each and by when it is needed. A dependency you do not list becomes a surprise in the last week. The same slip, seen from further up, is in the chapter on owning a project end to end.

Spike what you cannot picture. A spike is a timeboxed piece of work whose product is knowledge, not code. If you do not know whether the bank’s file format can carry a future date, spend half a day finding out and estimate afterwards. The spike’s result is a sentence you can write down, and its cost goes in the estimate.

Ask what could make you wrong. Make a short list of the assumptions behind the pieces: “the existing payout path can be called from a scheduler without change”, “Bank Connectors’ calendar will be ready, otherwise I use a hand-kept list”. Each assumption that fails adds time, and the list is the first thing you share with your reviewer.

At Ferrowave the design tension is also a breakdown tension. Idempotency keys are kept 7 days and a batch can be scheduled 30 days ahead. A retried scheduled batch must not pay twice. That is not a detail of the executor, it is a piece of work with its own result: a key made at execution time, so that a retry on day 30 finds the same key. Idempotency explains the mechanism, and Idempotency and exactly-once covers it for payments. A breakdown that has no such piece is the one in the Why.

Put a range on each piece

For each piece, write three numbers: low (it goes well), likely (a normal run) and high (the usual snags happen, not a disaster). This is the three-point estimate used in the PERT technique, and it does two jobs. It makes you think about what could go wrong piece by piece, and it shows which pieces carry the width.

Then add up the three columns separately. Adigun’s eight pieces, set out in full in the Artefact below, give a low of 5, a likely of 6.5 and a high of 8. Report the three totals and say what is in them.

Two warnings. First, summing highs overstates the worst case if the pieces are independent, since not every piece hits its high at once. But pieces are rarely independent: one wrong assumption about the existing payout path makes three pieces late together. Treat the total high as a reasonable ceiling for planning, not as a promise that no tail exists. Second, a range is not padding. Padding is a hidden amount added to a single number to protect yourself, and it cannot be discussed because nobody can see it. A range puts the uncertainty where everybody can see it and argue about the assumptions behind it.

The width should reflect what you know. A range that is one-third the likely value is normal for work you have done before; one that is two or three times the likely value is telling you to spike something before you commit. The idea that uncertainty is widest before the design exists and narrows as the work proceeds is the cone of uncertainty, described by Barry Boehm and used by McConnell. Read it as a description of how much you know, not as a law with fixed numbers. An estimate made before the design review is a range with a unit attached.

Why your number is too small

Daniel Kahneman and Amos Tversky named the planning fallacy: people forecast from the plan in front of them, the inside view, and ignore how long similar work took, the outside view. Engineers are not exempt. You picture the path where each piece works the first time, and you do not picture the afternoon spent finding out that a test needs a clock your codebase does not have.

The correction is to use your own record. Keep a small log: the piece, your range, the actual, and a line on the cause of any gap. After a dozen entries you can compute a ratio of actual to estimate. If your last three tasks took one and a half times what you said, then a likely of 4 days is, until the ratio changes, a likely of 6. That is a rule of thumb from your own history, and it is better than any general figure, because it is about your codebase and your team. Joel Spolsky’s evidence-based scheduling, in the reading, turns the same idea into a probability: it takes each person’s history, as the ratio of each estimate to its actual, and runs a Monte Carlo simulation that draws from those ratios to produce a probability curve of ship dates in place of a single one.

A second correction is to name the work that is usually missing. When an estimate has been low before, the cause tends to be one of a few things: unknown work in old code, integration between pieces that each work alone, review and rework, and interruptions. If you have a reason to believe one of them applies, say which piece it affects and widen that piece, not the whole.

From effort to dates

Your pieces are in days of work. Dates are about days on the calendar, and the two differ. A software engineer’s week gives the focus-hours test: the focus time you have is less than the hours that are not meetings, after a reactive allowance. A range of 5 to 8 days of focused work does not become 5 to 8 calendar days unless you say so. Adigun’s figures in this chapter are working days on the calendar, already allowing for ordinary meetings and reviews, and the estimate says that in its first line.

Add the things the calendar already knows. Leave, a review rota, the on-call week, a release freeze, the interviews you agreed to sit on. A forecast that ignores them is a forecast for someone else’s calendar.

Saying it when the number is not wanted

The hardest moment is not producing the range. It is the next sentence, when the answer is “we need it in three”. You have four honest levers: time, scope, people and quality. Two are worse than they look. Adding an engineer to work that is already under way costs the existing engineer time before it gives any back, a point Fred Brooks made in The Mythical Man-Month and that is known as Brooks’s law. Cutting quality, which in practice means dropping tests, alerts and the guard against paying twice, borrows from the future at a high rate and leaves the cost on the on-call rota. That leaves time and scope.

Use a form of words that keeps the three things apart:

  1. What I know. “The full feature is 5 to 8 days, most likely 6.5. That includes tests, the guard against paying twice, an alert and review.”
  2. What I do not know. “It assumes the calendar endpoint is late and I use a hand-kept list. If the endpoint is on time, I save half a day.”
  3. What fits. “What fits in three days is schedule and execute, run against the sandbox bank, 2 to 3.5 days. It cannot run real money until the guard is in. What would you like the demo to show?”

You are offering to start from the end the other person cares about, and you are keeping the safety work visible. The same move, from the product side, is the scope cut in Working with engineering. Ryan Singer’s Shape Up works the other way round, and the difference is worth knowing. It begins with an appetite, how much time the problem is worth, and treats the time as fixed and the scope as variable, so the work is shaped to fit. An estimate asks how long a defined thing takes; an appetite asks what you can get for a fixed time. You will meet both. When the target is a date, thinking in appetite is the faster route to a useful conversation.

Staying honest after you start

Re-estimate at points you choose in advance, not when someone asks. Two natural points: when a spike closes, and when the first vertical slice runs end to end. At each, restate the range and what changed. If the high end of the range has moved past a date that someone is relying on, say so that day. A slip reported in week one costs a conversation, and the same slip reported in week three costs a customer. Delivery and planning calls the pre-agreed condition a tripwire and describes the written slip report; for a single feature, the engineer’s version is two lines in the thread: what changed and the new range.

Keep the log. When a piece finishes, write the actual next to your range and a line on why it differed. It takes a minute and it is what turns each estimate into the next one’s evidence.

Where practitioners disagree

Days, or points. Many teams estimate in story points, a relative size, and use the team’s past velocity to turn points into dates. Others estimate in days of work. Points are useful for a stable team with similar work, and misleading when someone converts a single item into days. Days are easy to understand and easy to mistake for a promise. Whichever your team uses, the range, the assumptions and the dependencies matter more than the unit.

Estimate, or do not. Some teams skip estimates and count finished items instead, forecasting from throughput. The delivery chapter explains why that is hard to argue with for a team with a steady flow of similar items. A one-off feature with a fixed date and a customer waiting is where an estimate earns its keep, because it is the only way to learn early that the date does not fit.

Padding, or ranges. Some engineers add a fixed margin to every figure, because they know they are optimistic. A margin they cannot explain cannot be discussed or reduced, and it is the first thing a manager removes. A range with its assumptions can be discussed. If you are going to correct for optimism, correct from your own ratio and say so.

One number, or a range. Some product managers need a single date to plan around, and that is a reasonable need. Give the range and then the figure you would commit to, with the confidence that goes with it: “I would put 7 days in the plan, and I would be surprised by more than 8.” That keeps the width, and it gives them something to write down.

Day to day

An engineer’s estimating is a set of short habits, not an event.

When you pick up a ticket, daily. Before you start, spend ten minutes writing the pieces and a range for each. Read the ticket for the result it is meant to produce, as in What a software engineer is paid for, and write the assumptions.

Refinement or planning, weekly or fortnightly, an hour. This is where the breakdown is cheapest to change. Bring your list of pieces and unknowns, and say which piece you would spike first.

Stand-up, daily. Say when a piece is behind its range, not only when it is blocked. “That one is at its high” is enough, and it is early.

Review of your breakdown, once per feature, thirty minutes. Show the pieces and the assumptions to your tech lead, not the total. A second reader finds the missing piece far more often than the total’s author does.

Closing a piece, each time. Write the actual next to the range, with a line on the cause of any gap.

Friday, fifteen minutes. Look at the log, update the ranges of pieces not yet done, and send the new range to anyone relying on a date.

After a feature ships, once. Compare the total estimate with the total actual, and ask which piece was most wrong, and why. Keep the answer for the next breakdown.

BY ORG SIZE
STARTUPunder 30 people

Nobody asks for a breakdown and a founder asks for a date in the corridor. You are likely to be the only engineer on the work, so the estimate and the delivery are the same person’s, which makes the log easy to keep and the temptation to say “a week” strong. Write the pieces on paper anyway, name what you are leaving out, and give the founder a range and the one decision that would shrink it. With few customers, an honest slip is usually forgiven; a surprise is not.

SCALE-UP30 to 300

A product manager and an engineering manager now plan from your numbers, and several teams depend on each other’s. Your estimate becomes a line in someone else’s plan, so the dependencies list matters most. Write down what you need from other teams and the date you need it, and tell the other team early. Teams at this size often use points and a sprint; keep your ranges in days underneath if the points are hiding what you know.

ENTERPRISE300 and up

Estimates feed a formal process: a project office, a capacity plan, a change calendar and fixed release windows. A number goes into a system and is hard to retrieve, so the range and the assumptions must travel with it. Expect to be asked for a figure in advance, before design, when the range is widest. Give it with the stage of design it assumes, and ask when it will be revisited. Dependencies on other teams are managed by a programme function, so give it the dates you need.

ARTEFACT Break a feature into pieces and put a range on each ~45 MIN
YOU PRODUCEtask breakdown with low, likely and high, assumptions and exclusions

Template

# Breakdown: <feature>
<Name> · <date> · Reviewer: <name> · Days mean: <focus days or calendar days>

## Pieces
| # | Piece (ends in a result you can check) | Low | Likely | High | In the first slice? |
|---|---|---|---|---|---|
|   |   |   |   |   |   |
| | **Total** | | | | |

## Not included (owned by others)
| What | Owner | Needed by |
|---|---|---|

## Assumptions
| Assumption | Piece that grows if it fails | By how much |
|---|---|---|

## Spikes
| Question | Time limit | Who needs the answer |
|---|---|---|

## What fits sooner
Slice: <pieces>. Range: <low to high>. What it cannot safely do: <list>.

## Next re-estimate
At <event or date>. I will tell <names> if the high end passes <date>.
WORKED EXAMPLE

Adigun, a mid-level engineer in Payouts Core at Ferrowave (140 staff, 38 engineers), breaks down the scheduler and executor for scheduled payouts. A customer submits a batch now and schedules it up to 30 days ahead; it can be cancelled until 30 minutes before; a weekend or public holiday rolls to the next business day. Senami, the payouts product manager, wants a demo in three days. Adigun’s days are working days on the calendar and already allow for ordinary meetings and review. Figures are illustrative.

# Piece Low Likely High First slice
1 Accept a schedule date, reject one beyond 30 days, store it 0.5 0.5 1 Yes
2 Scheduler finds due batches and claims each once 0.5 1 1 Yes
3 Executor runs a claimed batch through the existing payout path 0.5 0.5 1 Yes
4 Demo script against the sandbox bank, run on staging 0.5 0.5 0.5 Yes
5 Key made at execution time so a retry up to day 30 cannot pay twice 1 1.5 2 No
6 Cancel until 30 minutes before 0.5 0.5 0.5 No
7 Roll weekends and holidays to the next business day, from a hand-kept list 0.5 1 1 No
8 Failure-case tests, flag, alert for due-but-not-started, runbook line, review 1 1 1 No
Total 5 6.5 8

Not included: the holiday calendar endpoint (Bank Connectors, needed before the January payroll run), the scheduling screen (Customer Console), the scheduled-versus-executed line in the reconciliation file (Reconciliation and Ledger).

Assumptions: the existing payout path can be called by the scheduler without change (if not, piece 3 grows by about 1 day); the calendar endpoint is late, so piece 7 uses a hand-kept list (if it is on time, piece 7 shrinks by half a day).

What fits in three days: pieces 1 to 4, range 2 to 3.5, likely 2.5. It runs against the sandbox bank only, because without piece 5 a retry could pay twice. The full feature, 5 to 8 days, is for the January payroll run. Next re-estimate: when piece 3 runs end to end; Adigun tells Senami that day if the high end passes 8.

Now you

You are Chiedza, an engineer on Ferrowave’s Customer Console team, which has five engineers. You are to build the scheduling screen for scheduled payouts. Edgar, the Console tech lead, will review your breakdown on Friday. The screen has six parts: a date and time picker (Lagos time, up to 30 days ahead); a preview of the date the batch will really run after the weekend and holiday roll-over, which calls Bank Connectors’ calendar endpoint (the contract is agreed in writing, the endpoint is not built); a cancel button on the batch page that is disabled in the last 30 minutes, with an explanation; a list of scheduled batches with their status; empty and error states, with wording approved by the payouts product manager; and an accessibility and browser check. Your last three Console screens were estimated at 4, 5 and 3 days and took 6, 7 and 5 (illustrative). The screen must be with QA in 12 working days. You have 2 days on a review rota and 1 day of leave in that time. The designer’s final states arrive after day 4. Write the breakdown and say whether it fits.

Self-check

DECIDE

Adigun's breakdown of the scheduler and executor for Ferrowave's scheduled payouts is 5 to 8 working days, most likely 6.5. Senami needs a working demo for a payroll customer in three days. The customer is one of 41 of Ferrowave's 210 customers who asked for the feature. Adigun's first four pieces, schedule and execute against the sandbox bank, come to 2 to 3.5 days. The piece that stops a retried batch paying twice is not in them and takes 1 to 2 days. The feature is due for the January payroll run. What does Adigun say to Senami?

READING
  1. BOOK
    Software Estimation: Demystifying the Black Art Steve McConnell, 2006

    The source of the estimate, target and commitment distinction used in this chapter, and the most complete treatment of keeping a record of estimates against actuals. Read: Microsoft Press, 2006; the chapters on estimating from history, on estimation by analogy and on the cone of uncertainty.

  2. BOOK
    Shape Up: Set Boundaries Ryan Singer

    The chapter on appetite and on fixed time with variable scope. Read it to see the planning stance that starts from what the problem is worth and shapes the work to fit. Read: Basecamp, free online; chapter 3, Set Boundaries.

  3. POST
    Evidence Based Scheduling Joel Spolsky, 2007

    A worked method for turning each person's history of estimates and actuals into a range of dates with probabilities. Use it to see what your own log could become.

  4. POST
    Purpose Of Estimation Martin Fowler, 2013

    A short argument that estimates should be judged by the decision they inform. Read it before deciding how much effort an estimate deserves.

  5. BOOK
    The Mythical Man-Month: Essays on Software Engineering Frederick P. Brooks Jr., 1995

    The origin of the point that adding people to a late project slows it, which is why the second-engineer option in the Decide costs time before it gives any back. Read: Addison-Wesley, anniversary edition; the essay on why projects get late and the one on adding people.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Pull requests that get merged →