Blog

Estimates, deadlines and the truth about software timelines

Why software so often arrives late, why that is not always someone's fault, and how to plan a project so the date you are given is one you can trust.

“How long will it take?” is the first question every client asks about a software project, and the one developers find hardest to answer. I manage projects for a living, so I sit on both sides of that conversation. The easiest way I know to explain the difficulty is to follow one estimate and watch what happens to it.

Where the other two weeks come from

Say a developer estimates a feature at three weeks. Customers of a small wholesaler should be able to repeat a past order with one click. The developer is competent and honest, and three weeks is a fair figure for building the screens and the logic behind them.

It ships after five. Here is a plausible account of the difference:

  • Three days because the stock system the feature connects to doesn’t behave the way its documentation says, and nobody could have known until they tried it.
  • Two days because the client sees the first version and realises that some products in old orders have been discontinued. The feature has to handle that, and nobody had thought of it.
  • Three days of testing and fixing. The feature was “nearly done” at the end of week three, and nearly done is where the slowest part of the work begins.
  • Two days waiting: for access to a system, and for a decision from someone who was on holiday.

That’s ten working days, and nobody was lazy or careless on any of them. Building software is unlike building a wall, where the hundredth brick goes on the same way as the first. Every project includes things this team hasn’t done before, in this way, for this business. If they had all been done before, you would be buying a product. So part of every estimate is a guess about the unknown, and developers, like everyone, tend to picture the version of events where nothing goes wrong.

An estimate is a range

When the developer said “about three weeks”, they meant that three weeks was their best judgement and it could be more. The client heard a delivery date. Much of the bad feeling around software comes from that one misunderstanding.

I don’t accept single numbers any more, from developers or from myself. The honest form is a range: “between three and five weeks, most likely four”. It’s less satisfying to hear, but the width tells you something. A wide range means the team doesn’t yet understand the work well, and that is worth knowing before you sign anything.

If someone gives you one confident date for a project that’s still vague, be careful. Either they have done exactly this kind of work many times, or they’re telling you what you want to hear.

When I’m handed an estimate, I ask what it is based on (similar work, or a feeling), what the biggest unknowns are, when I’ll see the first working piece, and what would be cut if time ran short. A team that answers comfortably has thought about the work. A team that struggles has produced a number without a plan behind it.

What I do to make a date hold

You can’t remove the uncertainty. You can make it smaller and catch it earlier.

I break the work into small pieces. Nobody can estimate “the system”, but most people can estimate “the screen where a customer enters an order”. Small pieces are easier to judge, and the errors tend to balance out.

I plan delivery in stages, with something working, however limited, within the first few weeks. The main reason is measurement. Suppose a project has 32 pieces and the plan assumes four every fortnight. After three fortnights the team has finished nine, so the true pace is three. The remaining 23 pieces will take about eight more fortnights where the plan allowed five. You learn that in week six, with time to cut scope or move the date, and not in week sixteen. That measured pace is a better guide than any forecast, including mine.

I fix the date or the scope, and never both. If the deadline can’t move, the feature list has to be able to shrink. If every feature is essential, the date has to be able to move. Projects that fix both end in late nights and poor quality.

On margin, I wrote about this in an earlier post so I’ll keep it short: I don’t hide it inside the numbers. It goes in the plan as its own line, something like “two weeks held for surprises”, and I report how much of it has been used. A plan with no margin will be late. A plan with visible margin can be discussed.

And I compare progress with the plan every week or two. Two days behind after two weeks is easy to correct. Two months behind after six months isn’t.

Two things I am often asked

The first is whether AI coding tools mean projects should now take half the time. Some parts are faster: routine code is written more quickly than it used to be. But look back at the ten lost days in the example. None of them was spent typing. They went on a system that misbehaved, a requirement nobody had thought of, testing, and waiting for people. Those still take the time they take, and I plan on that basis.

The second is whether a late project is a failed one. I don’t think so. A project that arrives three weeks late and does its job well is a success, and one that arrives on time and doesn’t work is a failure. What a client can reasonably expect is a date they can plan their business around, and to hear early if it’s going to move.