All articles
  • Estimation
  • Sprint planning

When will the backlog be done? A Monte Carlo forecast from your own sprints

Two teams with the same average velocity should not promise the same date. How a Monte Carlo forecast shows why, with real numbers and a free tool.

The Scrumpy team6 min read

When will the backlog be done? A Monte Carlo forecast from your own sprints
On this page
  1. What does a Monte Carlo forecast actually do?
  2. Why the average date is a coin flip
  3. Which date should you promise?
  4. Reading the burnup it draws
  5. Where a Monte Carlo forecast is wrong
  6. How many sprints of history do you need?
  7. Try it on your own numbers

Here are two teams. Both have 180 story points left before the release, both run two-week sprints, and both have eight sprints of history.

The first team finished 25, 28, 26, 27, 24, 29, 27 and 28 points. The second finished 14, 38, 18, 36, 40, 16, 35 and 27. The second team's average is actually higher, 28 points a sprint against 26.75.

Divide the backlog by the average and both teams get the same answer: seven sprints. Run the same numbers through a Monte Carlo forecast and they get very different ones. The steady team is 97% likely to be done in seven sprints. The jumpy team is 72% likely, needs eight sprints to reach 85%, and nine to reach 95%. The team that is faster on average is the one that should promise the later date.

That gap is the whole argument for forecasting this way, and it is why we built a free velocity forecast that does it in your browser.

What does a Monte Carlo forecast actually do?

It plays the rest of the project out a few thousand times. In each run, every future sprint gets a velocity picked at random from your team's own past sprints: maybe the 38, maybe the 14, maybe the 27. The run keeps adding sprints until the 180 points are done, and notes which sprint that was.

After 5,000 runs you count. If 3,600 of them finished by sprint seven, you are 72% likely to be done by then. If 4,700 finished by sprint eight, that is 94%. The forecast is nothing more than that tally, turned into dates.

There is no statistics degree hiding in it. The only assumption is that the next sprints will look like a shuffle of the last ones, good weeks and bad weeks in roughly the same mix. It keeps the team's real spread, which is exactly what the average throws away.

Why the average date is a coin flip

Dividing by the average treats every future sprint as an average sprint. Your team has never had one. Half of its sprints land below the average, and when a few slow ones bunch up, the date slips.

So the average date carries roughly a 50% chance of holding. That is fine for a team planning its own work. It is a poor thing to say to a sales director who will plan a launch around it, because they will hear "this is when" and not "this is a coin toss."

The epic forecasting post gets around this by hand, dividing by the slowest and fastest recent sprints to give a range. That works, and for a quick answer it is fine. What it cannot tell you is how likely each end of the range is. The simulation can, and that is the part stakeholders actually ask about: "how sure are you?"

Which date should you promise?

The forecast gives three dates, and each has a job.

The 50% date is a planning target for the team. Aim for it, and expect to miss it about half the time.

The 85% date is the one to say out loud. It is late about one time in seven, which is honest without being defensive. In the example, that is eight sprints for the jumpy team: one sprint later than the average promised, which is two weeks of warning you give now instead of an apology you give later.

The 95% date is for the cases where being late is expensive: a contract, a regulatory deadline, a conference booth already paid for. It is usually only a sprint later than the 85% date, and that extra sprint is the price of near-certainty.

Showing only the 85% date would be simpler, and it would throw away the most interesting number on the page: the distance between the three. When the 50% and 95% dates sit one sprint apart, your team is predictable. When they are four sprints apart, the useful conversation is about why velocity swings so much, not about the date.

Reading the burnup it draws

The tool draws the forecast as a burnup: the line of points done so far climbs on the left, the dashed line at the top is the total scope, and from today onward a band fans out showing where 80% of the simulated futures land after each sprint. Where the band meets the scope line is where the release finishes. The wider the band, the less your history agrees with itself.

If burnups are new to you, burn-up or burndown explains why the scope line is the reason to prefer one.

Where a Monte Carlo forecast is wrong

It is only as good as two assumptions, and both break in familiar ways.

The first is that scope holds still. The simulation forecasts the 180 points you typed in. If the backlog grows by six points a sprint, the real finish is later, and the forecast will not tell you. Either add the expected growth to the remaining points, or re-run the forecast after every sprint and watch the total. The epic post shows how to measure that growth in one number a sprint.

The second is that the future looks like the past. A team that just lost its most senior developer, or switched from estimating in hours to points, has a history that describes somebody else. Use the sprints since the change, even if there are only three, and say that the range is wide because the team is new. That is a real answer.

And it does not fix a bad velocity. If the points in your history include half-finished stories or were re-estimated after the fact, the forecast will be confidently wrong. How to calculate sprint velocity covers what should and should not count.

How many sprints of history do you need?

Three is the floor. With fewer, the simulation has almost nothing to shuffle, and the tool tells you the range is mostly guesswork. Six to ten recent sprints is the sweet spot. Beyond a dozen, the oldest sprints usually belong to a team that no longer exists, even if every name on it is the same.

Try it on your own numbers

The velocity forecast takes a pasted column of sprint points, the points left, your sprint length and when the next sprint starts. Everything runs in your browser, and it remembers your numbers in that browser only, so next sprint you add one number to the end and the dates move.

If your team already runs its sprints in Scrumpy, the velocity is there for you: the median of the last five finished sprints, shown against the points you commit when you plan the next one. Copy the finished sprints' points from the sprints page into the forecast, and you have a date you can defend by the end of the planning meeting.

FAQ

Questions, answered

Something else? Ask us and you’ll hear back from the people who build Scrumpy.

What is a Monte Carlo forecast in scrum?

A Monte Carlo forecast replays the rest of a project thousands of times, drawing each future sprint's velocity at random from the team's own past sprints. Counting how many of those simulated futures are finished by each sprint gives the chance of being done by that date, so you get a range with odds attached instead of one date.

Why is dividing the backlog by average velocity not enough?

Dividing the remaining points by the average velocity gives a date with roughly a coin flip's chance of holding, because about half of a team's sprints come in below its average. It also hides how much the team's velocity swings, and a team with big swings needs a later date to be equally sure.

Which date should you give stakeholders from a Monte Carlo forecast?

Give the date you are 85% likely to finish by. The 50% date is late half the time, and the 95% date is often so cautious it starts a negotiation. The 85% date is late roughly one time in seven, which is an honest promise most teams can keep.

How many sprints of history does a velocity forecast need?

At least three past sprints for the range to mean anything, and six to ten is better. Older sprints describe a team that has since changed, through new people, a new codebase or a new way of estimating, so they make the forecast look surer than it is.