Skip to content
mentoor

Topic 1 of 5 · 4 min read

Estimating in ranges, not single dates

Goal: Give a range estimate with a confidence level for a piece of work and explain what would narrow it.

An honest estimate is a range with a confidence level, such as "3 to 6 weeks, 80% sure", and not a single date. A single date sounds precise, but it hides how much the person does not yet know.

Check yourself · 1 of 3

Which statement is a range estimate with a confidence level?

Choose one answer

Why it matters

People hear a single date as a promise. If you say "end of March" and the real spread is February to May, you have already broken the promise in your own head. A range tells the listener how much to trust the number, and it lets them plan for the bad case.

Martin Fowler makes the same point in his note on the purpose of estimation: an estimate is there to support a decision, not to be a commitment. The decision is what matters, so give the listener what the decision needs.

How to do it

  1. Name the work. One feature, one migration, one report. Vague scope gives a vague range.
  2. Give a low and a high. Low is "if little goes wrong". High is "if the usual surprises happen". Do not make the range so wide that nobody can use it, and do not make it so narrow that you would be shocked to land inside it.
  3. Attach a confidence. "80% sure it lands inside this range" is a claim you can check later. Over many estimates, about 8 in 10 should land inside.
  4. Say what would narrow it. One spike, one answer from a vendor, one look at the old code. This tells the listener where to spend effort.
  5. Prefer data to feelings. If the team has finished similar items before, use the time they took. A team that closed 4 to 9 items per fortnight over the last six fortnights can forecast from that spread. Joel Spolsky's evidence-based scheduling does the same with each developer's past accuracy.

Before and after

Before: The export feature will be done on 14 April.

After: The export feature will land between 7 April and 5 May, 80% confidence. The wide end is because we have not seen how the billing system handles large files. A one-day spike on that would narrow it to about two weeks.

What goes wrong

  • Padding one number. Adding a secret buffer to a single date feels safe, but nobody can see or discuss it. Show the range openly.
  • Ranges too narrow. People who say "90% sure" and then miss half the time are overconfident. Check your hit rate.
  • Asking an AI assistant for a date. ChatGPT, Claude or Gemini will give a tidy number from the text you paste, but it has not seen your codebase or your team's history. Use it to draft the range and question the assumptions, then fill in the numbers from your own data.

Examples

Same work, two statements

Single date: Checkout redesign ships 30 June.

Range: Checkout redesign ships between 16 June and 28 July, 80% confidence. The late end assumes the payment provider needs a second review. We will know after their reply on 5 May.

The second version gives the product owner a safe date to plan around and a clear date when the range gets tighter.

Forecast from past throughput

A team finished these numbers of stories in its last six two-week sprints: 4, 6, 5, 9, 5, 7. There are 30 stories left.

Case Stories per sprint Sprints needed
Slow 4 8
Typical 6 5
Fast 9 4

Forecast: 4 to 8 sprints, most likely about 5. No one had to guess how big each story was.

Optional code branch. The same forecast, run many times with random picks from the past sprints, is a Monte Carlo forecast:

import random

past = [4, 6, 5, 9, 5, 7]
remaining = 30
runs = []
for _ in range(10000):
    done, sprints = 0, 0
    while done < remaining:
        done += random.choice(past)
        sprints += 1
    runs.append(sprints)
runs.sort()
print(runs[len(runs) // 10], runs[len(runs) * 9 // 10])

The two printed numbers are the 10th and 90th percentile: an 80% range.

Key points

  • A range with a confidence level tells the listener how far to trust the number; a single date hides that.
  • The point of an estimate is to support a decision, so give the range the decision needs.
  • State what would narrow the range, such as a spike or an answer from a vendor.
  • Forecasts built from the team's past throughput beat gut feeling.
  • Track how often actuals land inside your stated ranges to learn if your confidence is honest.

Common mistakes

  • Giving one date and hiding a private buffer inside it.
  • Stating a confidence level and never checking how often actuals fall inside the range.
  • Making the range so wide it supports no decision, or so narrow it is a single date in disguise.
  • Treating an AI-written estimate as data when it came only from the pasted description.

Check yourself · 2 of 3

A team finished 5, 3, 6, 4 and 7 stories in its last five sprints. 24 stories remain. Which forecast fits that history best?

Choose one answer

Check yourself · 3 of 3

Your range is 6 to 12 weeks and the product owner asks how to get a tighter one. What is the best answer?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic