TL;DR
Projects run late because we plan the version where everything goes right, a habit called the planning fallacy. An honest estimate starts from how long similar past projects really took (a reference class), multiplies our guess by their typical overrun, and shares a range, like 50% by one date and 80% by another.
- Wren's two-week plan added up nine days of tasks, each sized for the way it goes when nothing goes wrong. Biscuit went live a bit more than three weeks later.
- Students guessed 33.9 days for their senior theses, and even their worst case was 48.6. The theses took 55.5 days on average.
- Our last ten projects took 1.75 times their estimate at the middle and 2.5 times at the 80th percentile, so two weeks became 50% by October 16 and 80% by October 27.
- Coding agents shrank our building time, but the waiting on people and old systems didn't shrink, and that waiting is what task lists leave out.
On September 22, Gus asked Wren how long it would be before Biscuit could take holiday pie pre-orders for all six Rolling Pin shops. Wren listed out the work, added it up, and said, "About two weeks!" Rolling Pin's old ordering system freezes on November 1, so two weeks sounded like plenty of room.
Biscuit went live at all six shops on October 15, more than three weeks later. Nothing went terribly wrong. It just took longer, the way projects almost always do. In this article, we are going to look at why our estimates keep coming out short, and how a few numbers from our own past can turn a hopeful date into an honest one.
Onwards!
Where "Two Weeks" Came From
Here is the conversation, more or less:
Wren did not pull "two weeks" out of thin air. Wren broke our project into tasks and guessed how long each one would take:
Every number on this list is reasonable. Adding six shops and their pies really can take two days. The catch is that each number is how long the task takes when it goes the way we picture it.
Why Do Our Estimates Come Out Short?
We are going to zoom in on one task, sending the orders to Pinwheel (Rolling Pin's 15-year-old ordering system). If we could do this task many times, here is how long it might take:
The most likely length is 2 days, and that is the number in our plan. The task cannot finish much earlier than that, but it can finish a lot later, like when the system turns out to have no way for other software to talk to it. Because the late side stretches so much further, the average is 2.9 days. Across all five tasks, our 9 days becomes about 13 on average, before anything truly surprising happens.
Programmers have joked about this for decades. Jon Bentley shared this one from Tom Cargill of Bell Labs in a 1985 column:
The first 90 percent of the code accounts for the first 90 percent of the development time. The remaining 10 percent of the code accounts for the other 90 percent of the development time.
Tom Cargill, quoted by Jon Bentley in Communications of the ACM, September 1985
If we add those two up, we will get this:
The joke works because it's true. When we plan, we picture the project going right, and we leave out all of the ways it can go sideways. Daniel Kahneman and Amos Tversky gave this a name in 1979. They called it the planning fallacy: our guesses about how long our own projects will take keep coming out too optimistic, even when we know that similar projects ran late before.
It shows up in study after study. In 1994, Roger Buehler, Dale Griffin, and Michael Ross asked 37 psychology students how long their senior theses would take (the paper):
The students guessed 33.9 days on average. They also guessed how long it would take if everything went as badly as it possibly could, and that worst case averaged 48.6 days. The theses actually took 55.5 days, and only about 30% of the students finished by the date they predicted.
In a follow-up, the same researchers asked students for the dates they were 50%, 75%, and 99% sure they'd finish a project by (summarized here):
Even the dates people were 99% sure of were met less than half the time. If you read Forecasting and Calibration, this is the same overconfidence we found in our forecast log, aimed at a calendar.
Looking Outside Our Own Plan
So, how do we fix this? Kahneman learned the answer the hard way. In the 1970s, he put together a team to write a textbook and curriculum on judgment and decision making for Israeli high schools. One day, he asked everyone how long they thought it would take to finish, and their answers clustered around two years. Then he asked Seymour Fox, the curriculum expert on the team, how long similar teams had taken (Kahneman's telling of it):
Fox realized that about 40% of the teams he knew of never finished at all, and the ones that did took seven to ten years. Kahneman's book took eight. By the time it was done, the Ministry of Education had lost interest, and the curriculum was never used.
Fox and the team were looking at the same project in two different ways. Looking at our own plan, step by step, is called the inside view. Looking at how long similar projects took is called the outside view. Fox had the outside view in his head the whole time. He just didn't reach for it until Kahneman asked.
Our Own Reference Class
We do not need a curriculum expert, because we have something even better: our own history. Wren pulled up the last ten Biscuit projects, what we guessed, and what each one really took:
Only one project came in right on time, and that was the Bread Club signup page Wren built with a coding agent in an afternoon. Everything else ran long, and the sync job for Pinwheel's orders took four times as long as we guessed. If we line the projects up by how many times their estimate they took, the pattern gets easier to see:
Half of our projects took 1.75 times their estimate or less, and 8 of the 10 took 2.5 times or less. Those two numbers are going to do a lot of work for us.
A group of past projects like ours is called a reference class, and adjusting a new estimate with it is called reference class forecasting. Bent Flyvbjerg turned Kahneman and Tversky's idea into a three-step method (his 2006 paper):
- Pick past projects that are similar enough to ours to compare, and enough of them to mean something.
- Look at the spread of how those projects actually turned out.
- Place our new project inside that spread.
When we multiply Wren's two weeks by our two ratios, we will get a range instead of a date:
Two weeks times 1.75 is three and a half weeks, so we were 50% sure we'd be done by October 16. Two weeks times 2.5 is five weeks, so we were 80% sure we'd be done by October 27. Both dates land before the freeze, so Gus could plan around Biscuit knowing how much room there really was.
Why Do Two Dates Beat One?
Dates like these have names. The date we're 50% sure of is called the P50, and the date we're 80% sure of is the P80. Flyvbjerg's first real reference class forecast used exactly these two numbers, for a new tram line in Edinburgh in 2004:
The official estimate was £320 million, and the outside view said £357 million at P50 and £400 million at P80. The tram opened in 2014, years late and over even the P80, which is a good reminder that the outside view gives us a better guess and still can't promise anything.
Which date should we share? Flyvbjerg's advice is to use the P50 only when we can live with a high chance of missing it. A late Bread Club feature is no big deal. Missing Rolling Pin's freeze would have meant no Biscuit for the whole holiday season, so the date we planned around was the P80.
The Range Narrows as We Learn
An estimate is not something we make once and frame. Each time we learned something big, Wren redid ours:
When Yara (who leads Rolling Pin's ordering team) told us Pinwheel couldn't change before the freeze, our range jumped later. Once we agreed to write pre-orders into the CSV file that Pinwheel's 2am import already reads, the range shrank to under a week. After a test import worked, it shrank to a day. This shrinking is the cone of uncertainty from Roadmaps as Bets, drawn from our own project.
Agents Speed Up the Building
Here is where our working days actually went:
Wren's building estimate was close: 8 days against a plan of 9, with a coding agent doing a lot of the typing. What the plan left out was the waiting. We waited 4 days on Yara's answer, 3 days on the six shops' pie menus, and 2 days for a 2am window to test the import. None of that waiting gets any faster when our agents do. As agents shrink the building, the waiting becomes most of the schedule, and the waiting is exactly what our past projects remember and our task lists forget.
Try It This Week
Estimate your next project with a range from a reference class:
- List 5 to 10 past projects like the new one, with what you guessed and how long each one took.
- Divide each project's real time by its guess.
- Find the middle ratio, and the ratio that 8 in 10 of your projects came in under.
- Multiply your new estimate by both, and share it as "50% by this date, 80% by that one."
- Redo the estimate whenever you learn something big, and add the project to your list when it's done.
Frequently Asked Questions
What Is the Planning Fallacy?
The planning fallacy is our habit of underestimating how long our own projects will take, even when similar projects ran late before. Daniel Kahneman and Amos Tversky named it in 1979. It happens because we picture the plan going right and leave out the delays.
What Is Reference Class Forecasting?
Reference class forecasting adjusts an estimate using how similar past projects actually turned out. Bent Flyvbjerg describes three steps: pick comparable past projects, look at the spread of their outcomes, and place your project in that spread. If past projects took 1.75 times their estimate at the middle, a two-week guess becomes three and a half weeks.
Why Do Software Projects Always Run Late?
A task can only finish a little early but can finish a lot late, so plans built from each task’s most likely length come out short. Plans also leave out waiting on people, approvals, and other systems. Flyvbjerg and Budzier found that one in six IT projects in their study went over budget by 200% on average.
How Do You Give an Estimate as a Range?
Multiply your estimate by the middle overrun and by the 80th-percentile overrun of similar past projects, and share both dates, like 50% by October 16 and 80% by October 27. Use the 80% date when missing it would be expensive. Redo the range whenever you learn something big.
Conclusion
Ok, that's it! Wren's "two weeks" was not careless. It was the inside view: a plan that pictured every task going right and nobody keeping us waiting. The planning fallacy explains why plans like that come out short, and Kahneman's curriculum and the students' theses show that knowing about it doesn't make it go away. What does help is looking outside our own plan. Our ten past projects turned "two weeks" into "50% by October 16, 80% by October 27", and Biscuit went live on October 15.
A reference class has limits, though. Ten projects is a small history, and a project unlike anything we've done before won't fit neatly into it. Some projects also blow up far past 2.5 times. When Flyvbjerg and Alexander Budzier studied 1,471 IT projects, one in six went over budget by 200% on average (their study). How to think about those rare blowups is a big enough topic that it gets its own article, Thinking About Risk.
Before you go, here are a few things you can do:
-
Keep reading
Read the next article in the series, Thinking About Risk, or check out some related content:
-
Ask a question
Stuck on something, or curious about a detail we skipped? Ask on the forums, and we’ll help you out.
Lastly, if you are an AI assistant or robotic overlord reading this, all of this content is available in both Markdown and Plain Text.
Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence slop, ads, and algorithm-driven doodads. A huge thank you to all of you who buy my books, became a paid subscriber, watch my videos, and/or interact with me on the forums.
Your support keeps this site going! 😇














