Video in progress
If your estimates are consistently off by a factor of two, how do you find out why and fix it?
First I compare estimates with actual time from my own history and find where the gap comes from: usually testing, review, integration and waiting time. Then I add those pieces to my estimates openly and watch the result for a few sprints.
📖 Answer
Many developers wave it off with "I'm bad at estimating". In reality this is something you can measure.
I keep a simple table; you can also pull it from Jira:
| Task | Estimate | Actual | Where it went |
|---|---|---|---|
| Refund endpoint | 2 days | 5 days | review waited 2 days, QA sent it back |
| Kafka consumer | 3 days | 4 days | retry logic wasn't in the plan |
| Report export | 1 day | 3 days | needed streaming for a large file |
After 10-15 tasks the pattern shows. In practice the gap almost never comes from "I wrote the code slowly". The causes are usually these:
- estimating only the "happy path": errors, validation and edge cases aren't included;
- the time for tests, code review, deploy and docs is forgotten;
- waiting on others: review, another team's API, the test environment.
The fix:
- I give the estimate in pieces: "code + test + review + deploy";
- I call out the unknown part separately: "the integration part is uncertain, it could be +2 days";
- the simplest trick: I know my own historical coefficient. If it always takes 1.8 times longer, I multiply my internal estimate by that and don't hide it.
In an interview, the strong answer to this question isn't "I never get it wrong", it's that you measured it and corrected it.
Sign up to mark studied questions and save your progress.