So how long will this take?
Imagine walking into a surgeon's office and asking how long back surgery will take, before explaining what's wrong with your back.
The surgeon will have some questions. You might not need surgery. If you do, the answer will depend on what needs fixing, what the examination reveals and which procedure makes sense. There's also the small matter of when she can fit you in.
Software development has its own version of this conversation. "How long will it take to add online payments?" could mean adding a checkout for one product or managing subscriptions, refunds and invoices across several countries.
It's reasonable to need a timescale. You have money to manage, customers to talk to and decisions to make. But even after everyone agrees what the feature includes, a competent developer may still have good reasons for being uncertain.
How a day's work becomes six days on the calendar
Here's a hypothetical example. Your product needs information from another company's system. That company provides an API: an interface your software can use to request data from theirs. Connecting the two is called an integration.
The developer reads the documentation and tries a sample request. The information comes back as expected. It looks like about a day of work to connect it to your product.
Then a realistic example reveals that the response is missing something you need. Getting that information requires two more requests and some work to combine the answers. Now the estimate is closer to two days.
Next, the provider starts refusing requests because you're making too many too quickly. It has a rate limit, which caps how frequently you can use the service. Your application needs to wait between requests, and customers need to know why their information isn't ready immediately. With those changes, the estimate becomes four days of work.
Finally, a bug at the provider blocks progress. Their support team is away for a bank holiday. Suppose that adds two days of waiting. Four days of development now occupy six days on the calendar, even if the developer can spend the waiting time on something else.
The numbers are illustrative. But the distinction matters: some discoveries added work, while another added a delay. You can't explain both by counting how many hours the developer spent writing code.
But shouldn't they have known?
Some of it, perhaps. Trying more realistic data earlier might have exposed the missing information. Checking the provider's limits might have revealed the need to space out requests. Experience helps developers recognise what to investigate before giving an estimate.
That investigation is work too. To be confident about an integration, someone may need to build part of it. To understand a change to an existing product, they may need to trace how it currently behaves. You cannot always get a well-founded estimate by describing a feature in a meeting and waiting for a number.
How much investigation is worthwhile depends on the decision. If you're choosing which idea to explore, "hours rather than weeks" may be enough. If you're about to make a promise to a customer, more certainty may be worth paying for.
Even careful investigation has limits. It won't tell you that another company's support team will need three attempts to fix a bug. Nor will it prevent you from learning something important about your own product once you can try the new feature.
Software development includes discovering what the work actually involves. That is one reason an estimate can change without anyone being dishonest or incompetent.
Discovering work and changing the request
In the integration example, you still wanted the same information. The team discovered that obtaining it took more work than expected.
Now suppose you also decide that customers must be able to edit that information and send the changes back to the provider. That is a change in the work requested. It adds questions about which system should take precedence and what happens if someone changes the same record in both places.
Both situations can move the completion date, but for different reasons. One changes the team's understanding of the existing task. The other changes the task itself. "We only added an edit button" can conceal quite a lot of new behaviour.
Neither automatically establishes who should pay for the additional work. That depends on what was agreed. But you need to understand what changed before you can have a useful conversation about the consequences.
Estimates, deadlines and commitments
An estimate is a prediction based on what the team currently knows. A deadline is a date by which the business needs something. A commitment is an agreement to deliver a defined result.
They may refer to the same date, but one does not automatically become the other.
"We expect it to take about two weeks" is different from "we agree to deliver these features by the end of the month". Unfortunately, the first has an uncanny habit of appearing in a sales email as the second.
A useful estimate comes with enough context to interpret it. For example:
We expect one to two weeks of development once the payment account is approved. That includes refunds, but not recurring billing. We still need your refund rules before we can start.
The qualifications are part of the answer. Dropping them changes its meaning. So does treating two weeks of effort as a delivery date when the team is already committed to other work.
A real deadline changes the choices
Suppose you need to show the integration at an event next Friday. The event won't move because the provider's API turned out to be awkward.
The team may be able to deliver something useful by reducing what the first version does. Perhaps you can import the data manually for the event, then add automatic updates later. That is a smaller piece of software serving the same immediate business purpose.
This is why "what can we deliver by Friday?" can lead to a more productive conversation than repeating "how long will all of it take?" It invites the team to find a useful result within the available time.
Sometimes there is no acceptable smaller version. Then the plan or the promise needs to change. Calling an estimate a deadline doesn't make the missing time appear.
What AI changes
Coding agents can help a developer write code and investigate an unfamiliar system faster. That can improve an estimate as well as shorten the work.
They still encounter missing information, unexpected behaviour and dependencies on other companies. An agent can write the integration code while you make a coffee. It cannot make an absent support team answer its email.
The estimates should reflect the tools the team actually uses. Faster coding is a real benefit, but it doesn't reduce every part of the delivery time by the same proportion.
Uncertainty isn't an excuse for vagueness
An estimate can be reasonable and wrong. It can also be careless. The word "estimate" doesn't make every delay unavoidable.
A useful explanation of a change connects it to something concrete. For our example, it might be: "We found the provider limits requests more tightly than we expected. We need to add a queue and show customers when their data will be ready. We expect that to add two days of work."
You can understand that explanation without knowing how to write the queue. It tells you what was discovered, why it affects the product and how it changes the forecast.
"It's more complicated than we thought" every Friday, with no further explanation, gives you very little to work with. So does repeatedly leaving ordinary testing or your review time out of the estimate. Those patterns deserve questioning. A single difficult integration tells you less than the team's behaviour across several pieces of work.
You are entitled to a reasoned estimate, timely notice when the facts change and an explanation you can understand. That is a more useful standard than expecting every initial guess to be right, or accepting every delay on faith.