Planning & estimation

In one sentence

Estimate as a range with a confidence level, never a bare date: break the work down, spike the biggest unknown, add an explicit buffer, and re-plan at each milestone, sharing slips early.

Analogy: A weather forecast: "70% chance of rain" is honest and useful; "rain at 3 pm" is a guess dressed as a fact.

Unknowns go through a spike before anyone commits; every milestone checks the forecast against reality.

How it works

  • Estimate only when a decision depends on it: staffing, another team's plan, build vs buy.
  • A three-point estimate (optimistic, likely, pessimistic) makes the spread explicit; a single number sounds like a promise.
  • Cone of uncertainty: early estimates can miss ~4× either way; research and decisions narrow it, time doesn't.
  • Time-box a spike of a few days on the biggest unknown, then re-estimate; buffer the project, not each task.
  • Re-plan at every milestone against estimate vs actual; bring a slip with options: cut scope or move the date.

Check yourself

Answer to mark it learned; your answers aren't scored.

In a hallway, a director asks: "How long for the new search backend?" Nothing is scoped yet, and the riskiest part is reindexing from a legacy store nobody has touched in years. What's your best answer?

Go deeper

Full explanation

An estimate is a forecast with uncertainty, worth making only when a decision depends on it: staffing, a date another team plans around, build vs buy, or whether to do the work at all.

  • Ranges, not points. Say "6–10 weeks, 80% confident". A single number is heard as a promise. A three-point estimate (optimistic, likely, pessimistic) makes the spread explicit.
  • Cone of uncertainty. At the idea stage, actual effort can land anywhere from ~0.25× to ~4× the estimate. Research and decisions narrow the range; reopening a decision widens it again; time alone does nothing.
  • Spikes. Time-box the biggest unknown (a legacy data migration, a vendor API) to a few days of throwaway work, then re-estimate.
  • Buffers. People underestimate their own work (the planning fallacy), and late tails are long. Keep one explicit buffer at project level and track your past estimate-to-actual ratio.
  • Re-plan. Re-estimate at every milestone. Share a slip the week you see it, with options: cut scope, move the date, or rarely add people, since newcomers slow a late project first (Leading cross-team projects).
Code Monte Carlo forecast from three-point estimates
pythonMonte Carlo forecast from three-point estimates
import numpy as np

# (optimistic, likely, pessimistic) in engineer-weeks, per task
TASKS = {
    "schema + backfill": (2, 3, 8),
    "new API":           (1, 2, 4),
    "client migration":  (3, 5, 12),
    "cutover + cleanup": (1, 2, 6),
}

def forecast(tasks, runs=10_000, seed=0):
    rng = np.random.default_rng(seed)
    # One triangular draw per task per simulated project. Assumes independent
    # tasks; correlated risks (same legacy system) make real tails worse.
    total = sum(rng.triangular(o, m, p, runs) for o, m, p in tasks.values())
    return {f"P{q}": round(float(np.percentile(total, q)), 1) for q in (50, 80, 95)}

likely = sum(m for _, m, _ in TASKS.values())
print(likely)           # 12: the plan everyone wants to hear
print(forecast(TASKS))  # {'P50': 16.2, 'P80': 18.6, 'P95': 20.9}
Real example

A director asks when the new billing service can launch. Saying "Q3" would be heard as July 1. Instead, the Staff engineer splits the work and finds one big unknown: migrating the legacy invoices. A 3-day spike shows the old data uses four date formats. The answer becomes "10–16 weeks, 80% confident; I'll narrow it after the backfill milestone in week 4." At week 4, actuals run ~30% over, so they move multi-currency to v2 and keep the date.

Trade-offs +3 · −3

+ You gain

  • Ranges let leaders plan around risk instead of being surprised by it.
  • A spike turns the scariest unknown into data for a few days' cost.
  • Tracking estimate vs actual makes each forecast better than the last.

− You pay

  • Estimating costs time; detailed estimates nobody decides on are waste.
  • Ranges frustrate stakeholders who want one date; you have to explain them.
  • Padding hidden in each task tends to get used up; it belongs at project level.

Use it when

When a decision depends on size or date: staffing, a dependent team, a customer commitment, build vs buy, or whether the work is worth doing at all.

Avoid it when

Small, reversible work in a steady flow where nobody plans around the date; there, track throughput instead of estimating every item.

Numbers to know 5
  • Cone of uncertainty: at the initial concept, actual effort can land ~0.25×–4× the estimate (Boehm, 1981; McConnell).
  • PERT expected value: (optimistic + 4 × likely + pessimistic) ÷ 6; long late tails pull it above "likely".
  • Evidence-Based Scheduling (Spolsky, 2007): tasks of 16 hours or less; simulate 100 futures from past estimate/actual ratios.
  • Brooks's law (1975): adding people to a late software project makes it later.
  • Ninety-ninety rule (Tom Cargill, Bell Labs): the last 10% of the code takes the other 90% of the time.
Common pitfalls 4
  • Giving a single date in a hallway; it becomes the commitment.
  • Summing each task's "likely" value: late tails are long, so the total is optimistic.
  • Estimating work nobody has broken down: a 3-month blob hides the unknowns.
  • Re-planning only at the deadline instead of at every milestone.
Interview questions 2

Answer out loud first, then reveal.

In week one, your VP asks for the launch date of a six-month project. What do you say?Show answer

I give a range and what would narrow it, not a date: "Four to eight months today; the biggest unknown is the data migration. Give me two weeks for a spike and I'll come back with a tighter range." If they need one date for planning, I commit to the high end and name the scope we'd cut first. A point estimate this early is a guess that turns into a promise.

How do you make your team's estimates better over time?Show answer

I treat them as forecasts we can score. We log estimate versus actual per milestone and use that ratio to correct the next plan, the idea behind evidence-based scheduling. We break work into pieces of days, not months, because big tasks hide unknowns, and we spike anything we can't break down. And the people doing the work estimate it, because they remember the testing, review and rollout time that others forget.