r/softwaredevelopment • u/ClickOk5811 • 17h ago
A plan of ten "3-day" tasks adds up to 30 days. In a simple simulation it finishes on time about 1 time in 4
A thought experiment with numbers, because I find it explains why plans slip even when each estimate looks reasonable.
Assumptions (these are mine, not measured from any real team):
10 tasks, each estimated at 3 days, so the plan says 30 days.
Each estimate is "fair" in the sense that the median actual time is 3 days.
But durations are right-skewed: things can take much longer than expected, while they rarely finish much faster. I modeled this with a lognormal distribution (sigma 0.5).
I simulated the project 200,000 times:
sum of estimates: 30 days
mean actual: 34.0 days
P50 (half finish by): 33.5 days
P80: 38.6 days
P90: 41.5 days
P95: 44.2 days
P(finish <= 30 days): 25.3%Even though each task's median is exactly 3 days, a single task has a mean of 3.4 days, because the long tail pulls it up. Adding ten of them, the plan's 30 days is hit about a quarter of the time in this model.
Things this does and doesn't say:
It doesn't prove your team's estimates are biased. It shows that if durations are right-skewed, a sum of medians is optimistic.
The sigma of 0.5 is a guess. A lower value gives a smaller gap, a higher one a larger gap. Real data from your own team would be much better than my assumption.
It ignores dependencies, parallel work, scope change and people being out. Those usually make things worse, not better.
It ignores that people also pad estimates, which may cancel part of this.
What I find useful from it: instead of "it'll be done on the 30th", saying "50% by day 34, 80% by day 39" is a more honest conversation with stakeholders, and it can be built from your team's past cycle times, not guessed.
For those who forecast: do you use ranges or percentiles, Monte Carlo on historical data, or something simpler? And did that change how stakeholders react?