How to estimate software development time: A range-based method

Contents
To estimate software development time, break the feature list into small tasks, estimate each as a range, add the ranges with an explicit uncertainty buffer, and re-estimate as scope firms up. The output is a delivery range with a confidence level, not a single date.
Which technique to use depends on project stage, available historical data and whether the quote is fixed-price or iterative. We use this sequence when scoping builds, and it applies to any team with senior engineers and a defined feature list.
Estimating software development time in five steps
Estimating software development time takes five steps and ends in a range, because early scope carries the spread described by the cone of uncertainty. Because the spread narrows as the project moves through the stages of software development, each estimate should be tied to the phase the work is currently in.

- Break the work down in a work breakdown structure to tasks of two days or less.
- Estimate each task with three-point estimation: optimistic, most likely, pessimistic.
- Sum the means and combine the standard deviations as a root sum of squares.
- Add a buffer for correlated risks, such as a shared reviewer.
- Re-estimate as scope firms up.
At Netguru, the first range usually comes out of product discovery, and we give stakeholders that range together with its assumptions, because uncertainty is widest before requirements settle. Open-ended research gets a time-boxed spike, not an estimate.
Which estimation technique fits which situation?
Choose an estimation technique by project stage and available inputs: T-shirt sizing and analogous estimation early, a work breakdown structure with PERT once scope firms up, and velocity during delivery.
The techniques differ mainly in what they need as input and where they break:
| Technique | Best stage | Inputs | Main weakness | Do not use when |
|---|---|---|---|---|
| T-shirt sizing | Roadmap, pre-discovery | Team judgment on relative size of epics | Sizes do not convert to dates without calibration | A client needs a date or a quote |
| Analogous estimation | Early scoping | Recorded actuals from one or two similar projects | Anchors on one data point; hidden differences in team, stack and integrations | No comparable project was delivered, or its actuals were never recorded |
| Reference-class forecasting | Business case, sanity check | Outcome distribution from many comparable projects | Choosing the class is a judgment call; needs a real dataset | You have no usable history, internal or published |
| Work breakdown structure (bottom-up) | Scope defined enough to decompose | Deliverables split into small tasks | Misses work nobody listed, such as QA, release and review | Requirements are still unknown |
| Three-point estimation with PERT | After decomposition | Optimistic, most likely and pessimistic value per task | Applied to undecomposed tasks, it gives false precision | The tasks are still epics, or the optimistic bound is a guess |
| Story points and velocity (planning poker) | In-flight delivery | Refined backlog and several sprints of one team's history | Points are team-specific and say nothing about calendar time alone | You need a fixed-price pre-contract quote, or the team has no sprint history |
Match the technique to the inputs you hold. T-shirt sizing or reference-class forecasting work when you have no decomposed scope. If you have a work breakdown structure, add three-point estimation and PERT. With a stable team and several sprints of history, forecast with story points and velocity.
Reference-class forecasting is the outside view that Kahneman and Tversky described and Bent Flyvbjerg applied to large projects. We recommend running it before any bottom-up estimate, because it checks the total against how comparable projects ended up. Analogous estimation is the cheaper version of the same check.
The limit is data. A team without recorded actuals cannot run either method, and starting to log planned versus actual time per project is the fix.
How do you break work into estimable pieces?
Build a work breakdown structure by splitting a feature until each task is one person's work for two days or less, then stop. We recommend a two-day ceiling: larger tasks hide unknowns, and much smaller ones add precision your tracking data cannot support.
Assume a password-reset feature (emailed link, single-use token, new-password form) built by one backend and one frontend developer. A first-pass guess of "reset flow: 8-12 days" is too coarse to check against anything. Split into tasks, with illustrative most-likely durations in working days:
| Task | Days |
|---|---|
| Reset-request endpoint and token generation | 2 |
| Email template and provider integration | 1.5 |
| Reset form UI and validation | 2 |
| Token expiry, single use, rate limiting | 1.5 |
| Invalidate active sessions on reset | 1 |
| Automated tests (unit and integration) | 2 |
| Code review and fixes | 1 |
| Staging verification and feature-flag release | 1 |
The most-likely values sum to 12 days. The PERT section below shows how to turn rows like these into ranges.
The split also exposes constraints that the single guess hid. The email integration needs SPF and DKIM records owned by another team, and session invalidation touches auth code only one developer knows. Both are scheduling risks you can see at planning time, before work starts.
Below roughly two days, duration is dominated by review wait, interruptions and context switching. Hour-level estimates imply a precision no team's records support, and every extra row adds estimating effort. Treat two days as a starting heuristic and tune it against your own cycle time data.
Cross-check the total with analogous estimation. Pull a finished feature of similar shape from your tracker, such as an email-verification flow, and compare its actual cycle time with this total. A useful checkpoint is a gap of more than about a third: it usually means a missing task or an inflated one. On multi-module projects, add integration tasks as their own rows.
Why is an early estimate always a wide range?
An early estimate is a wide range because the cone of uncertainty is widest before requirements, design, and integrations are known, and it narrows only as those unknowns are resolved. Barry Boehm described the narrowing in Software Engineering Economics (1981), and Steve McConnell popularised the cone in Software Estimation: Demystifying the Black Art (2006).
In McConnell's version, an estimate made at the initial concept stage can land anywhere from 0.25x to 4x of the final figure, a 16-fold spread.
McConnell's point matters for planning: the cone shows best-case accuracy, and it does not narrow with the calendar. A project that skips design and spike work stays wide however many weeks pass.
Third-party dependencies are a common reason. A changed API version or a bug in a third-party component can derail a timeline that looked sound, and task-level arithmetic will not reveal that risk early on.
We recommend this decision rule for each stage:
| Stage | What to do | What to quote |
|---|---|---|
| Concept, before scoping | List assumptions and unknowns; do not build a task plan yet | A wide range, or T-shirt sizes for the roadmap |
| Requirements scoped | Run time-boxed spikes on the riskiest integrations and unfamiliar technology | Three-point ranges per work breakdown structure task |
| Design and spike results in | Re-estimate bottom-up and compare with the previous range | A narrower range, with remaining risks named |
A range that fails to narrow between stages means unknowns are still open, so reopen the spike list before committing a date. For a feature of a few days, skip the staging and estimate it bottom-up directly.
How do you use three-point and PERT estimates?
Use three-point estimation to give each task an optimistic (O), most likely (M), and pessimistic (P) value, then apply PERT (Program Evaluation and Review Technique): mean = (O + 4M + P) / 6 and SD = (P - O) / 6.
Get the three values from several estimators with Wideband Delphi, which Boehm described in Software Engineering Economics (1981). Each person estimates alone, the group compares the spread, and everyone estimates again.
The worked example below uses assumed numbers in days for three tasks, but they are illustrative, not measured results.
| Task | O | M | P | Mean | SD | Variance |
|---|---|---|---|---|---|---|
| A | 3 | 5 | 13 | 6.00 | 1.67 | 2.78 |
| B | 4 | 6 | 12 | 6.67 | 1.33 | 1.78 |
| C | 2.5 | 5 | 10.5 | 5.50 | 1.33 | 1.78 |
| Total | 16 | 18.17 | 2.52 | 6.33 |
- Mean per task. A is (3 + 4×5 + 13) / 6 = 6.00. B is (4 + 4×6 + 12) / 6 = 6.67. C is (2.5 + 4×5 + 10.5) / 6 = 5.50, and the three means add to 18.17 days.
- SD per task. A is (13 - 3) / 6 = 1.67, B is (12 - 4) / 6 = 1.33, and C is (10.5 - 2.5) / 6 = 1.33.
- Sum variances, not SDs. Squaring gives 2.78, 1.78, and 1.78, which total 6.33. The square root is 2.52 days. Adding the SDs directly gives 4.33, which overstates the spread when tasks are independent.
The total mean of 18.17 days sits above the 16-day sum of most likely values because each pessimistic tail is longer than its optimistic one.
A normal approximation turns the mean and SD into a range:
| Chance of finishing by | z | Days |
|---|---|---|
| 50% | 0 | 18.2 |
| 80% | 0.84 | 20.3 |
| 90% | 1.28 | 21.4 |
| 97.5% | 1.96 | 23.1 |
The 21.4 and 23.1 figures are the upper ends of the 80% and 95% two-sided intervals (mean ± 1.28 SD and ± 1.96 SD). Quote them as about 15-21 days at 80% and 13-23 days at 95%.
The sum-of-variances step assumes the tasks overrun independently. If A and B share an external integration, or one reviewer gates all three, they tend to slip together. Under full correlation the SD of the total is 4.33 and the 90% figure becomes 23.7 days (18.17 + 1.28 × 4.33).
We recommend quoting toward the wider figure whenever risk is shared. With only three tasks, treat the normal approximation as a rough guide.
How do story points, velocity and planning poker work?
Story points rate work by relative size. Velocity, the points a team finishes per sprint, converts the remaining backlog into a date. Planning poker is a common way to assign those points without anchoring on hours.
In planning poker, each estimator privately picks a card from a Fibonacci-style scale, and everyone reveals at once. The highest and lowest voters then explain their reasoning before a re-vote.
The disagreement is what surfaces hidden assumptions. A 3 against a 13 often means the voters assumed different scope, an unknown integration, or a different definition of done. Write the resolved assumptions on the ticket so later reviewers can see what the number covers.
To turn points into a date, divide the backlog by a velocity range. Assume, for illustration only, a 120-point backlog, two-week sprints, and recent sprints that finished between 18 and 26 points. The second row shows the same range if scope grows by an illustrative 15%, to 138 points.
| Backlog | Slow (18 pts) | Fast (26 pts) |
|---|---|---|
| 120 points | 120 / 18 = 6.7, so 7 sprints (14 weeks) | 120 / 26 = 4.6, so 5 sprints (10 weeks) |
| 138 points | 138 / 18 = 7.7, so 8 sprints (16 weeks) | 138 / 26 = 5.3, so 6 sprints (12 weeks) |
Quote 10-14 weeks and state that it holds only while scope stays near 120 points. If the slow end already misses a fixed deadline, cut scope or split the release. Averaging velocity into one date hides the spread the team has already observed.
Three failure modes recur, each with an early sign:
- Anchoring in poker. The first number spoken aloud pulls later votes toward it. Tversky and Kahneman demonstrated anchoring in numerical judgment generally, and we apply it here by analogy. Early sign: re-votes converge on the first spoken number. Keep the simultaneous reveal and have the most senior engineer explain last.
- Velocity reused across teams. Points are calibrated to one team's reference stories, so one team's velocity is a poor guide to another's. Early sign: someone asks to sum or rank velocities. Forecast each team from its own history.
- Velocity after team changes. When people join or leave, treat the old range as void. Early sign: a sprint lands outside the historical range right after a staffing change. Use the first two or three sprints as a provisional, wider range.
Hours imply precision a team rarely has early on, while points record relative size. For roadmap-level work, T-shirt sizing (S, M, L, XL) is enough, and items convert to points once they are refined enough to pull into a sprint.
Why do developers underestimate, and what stops it?
Developers underestimate because of three habits: the planning fallacy, anchoring and false precision. Each one has a specific countermeasure.
Daniel Kahneman and Amos Tversky identified the planning fallacy in 1979: people build a forecast from the best-case plan for the task in front of them and ignore how similar tasks went before. Bent Flyvbjerg adapted their "outside view" into reference-class forecasting.
You take the actual durations of comparable finished projects, then place your project inside that distribution.
The three failure modes and their fixes side by side:
| Failure mode | How it shows up | Countermeasure |
|---|---|---|
| Planning fallacy | The estimate describes the happy path | Compare against recorded actuals of similar finished work |
| Anchoring | The first number spoken, or the client's hoped-for date, pulls every other estimate toward it | Collect estimates privately before discussion, as planning poker does, and estimate before hearing the deadline |
| False precision | "37 days" for work with unresolved scope | Give a range with stated assumptions, rounded to the resolution of your uncertainty |
Visible features tend to land quickly, while integration, edge cases, bug fixing and release hardening absorb a disproportionate share of the schedule. List those items as explicit tasks in the work breakdown structure, and count a feature as done only when it meets your definition of done.
Reference-class forecasting needs history. A team that has never recorded actual durations should start logging them now, and until it has a few sprints of data, widen its ranges.
What does an estimate need beyond coding?
An estimate needs QA, code review, design, environments, meetings, and release hardening on top of coding, each as its own line in the work breakdown structure. If testing is outsourced, price that line from a vendor quote for QA services, not from a guess.
Barry Boehm's COCOMO, published in Software Engineering Economics (1981), spreads effort across phases such as product design and integration and test. Programming is one share of the total.
The sizing rules below are our illustrative starting points, not benchmarks. Replace them with ratios from your own completed work.
| Item | Sizing rule | Most often forgotten |
|---|---|---|
| QA | 25-40% of the feature's dev time | Regression runs, test data setup |
| Code review | 10-20% of dev time, counting reviewer hours and rework | Waiting time between review rounds |
| Design | One WBS line per screen or flow | Revisions and developer handoff |
| DevOps and environments | Fixed lines per environment, pipeline, and monitoring setup | Secrets, staging parity, access requests |
| Meetings | Deduct 15-25% of each person's week from capacity | Planning and refinement for the whole team |
| Release hardening | Timeboxed block for UAT, performance optimization, and bug-fix buffer | Data migration, cross-module integration, rollout and rollback |
Meetings belong in capacity. Release hardening grows with the number of modules and dependencies, so size it per integration point on larger builds.
When to run a technical spike
Run a technical spike when one WBS item's range is far wider than its neighbors, for example a pessimistic value more than three times the optimistic one. Typical triggers are an unfamiliar third-party API, an unproven performance requirement, or a legacy integration with no documentation.
Timebox the spike to one to three days and define its output up front: a written finding and a narrower three-point range for that item. Put the spike's own hours in the estimate.
A spike cannot resolve an open product question. Send those to the product owner, because prototyping a requirement nobody has decided only produces a second unknown.
How do you turn effort into a calendar date?
To turn effort into a calendar date, divide the effort days by the focus factor, add holidays and ramp-up as lost days, and divide by weekly team capacity. Place external dependencies on the calendar separately.

Assume the following illustrative figures, not benchmarks: three-point estimation gives 60 person-days at your chosen confidence level, three developers work five-day weeks, the focus factor is 0.7, one public holiday falls in the window, and one new joiner costs 5 person-days of ramp-up.
- Paid days needed: 60 / 0.7 = 85.7 person-days.
- Add the holiday (3 developers × 1 day = 3) and ramp-up (5): 85.7 + 3 + 5 = 93.7 person-days.
- Weekly capacity: 3 × 5 = 15 person-days.
- Duration: 93.7 / 15 = about 6.2 weeks.
Dividing effort by raw capacity (60 / 15) gives 4 weeks, so skipping the focus factor, the holiday and ramp-up hides more than two weeks.
Dependencies work differently. A one-week vendor approval adds to the date only if the team has no other work to pull forward, so start those requests first.
Teams that size in story points and velocity should not apply the focus factor again, because measured velocity already absorbs meetings and interruptions. They still subtract holidays and ramp-up from forecast sprint capacity. Run the conversion on both the mean and the upper-bound effort to get a date range.
How do you present a timeline estimate to a client or stakeholders?
Present a timeline estimate as a range with a stated confidence level, written assumptions and exclusions, and a change-request rule, so stakeholders read it as a forecast and not a commitment.
The width of the range depends on the stage. Early on, the cone of uncertainty makes a narrow range dishonest. Show the full spread from your three-point estimation totals and name which open questions will narrow it at the next milestone.
A one-page template that covers the essentials:
- Range: earliest and latest delivery dates, each with the confidence level it represents. Take both from the three-point totals, never the mean alone.
- Basis: the method and inputs, such as a work breakdown structure with three-point estimates, or historical velocity.
- Assumptions: team composition, availability, the scope version estimated, and how fast the client turns around decisions and feedback.
- Exclusions: what the dates do not cover, for example data migration, third-party audits or post-launch support.
- Risks and dependencies: each with an owner and the date it must be resolved.
- Change-request rule: a scope change or a broken assumption triggers a re-estimate, and the client sees the revised range before the work starts.
- Next re-estimate: a named date or milestone.
External factors need proactive communication. A sudden API version change or a major bug in a third-party component can derail the plan, so report it when it appears, with the revised range, and keep the update cadence fixed.
When scope is still open, a short product discovery phase is the cheapest way to narrow the range before anyone signs a date.
How do you track and re-estimate during delivery?
Track delivery by comparing estimate to actual every sprint, scoring the gap with MMRE (mean magnitude of relative error), and re-baselining when triggers you agreed in advance fire. Monitoring progress and correcting bottlenecks early is what protects the date.

MMRE is the mean of |actual - estimate| / actual across finished items. Take three tasks, an illustrative example: estimates of 5, 8 and 3 days against actuals of 6, 12 and 3. The relative errors are 0.167, 0.333 and 0, so MMRE is 16.7%.
Also track signed error, (estimate - actual) / actual. Here it is -16.7%, which shows a consistent underestimate that MMRE alone hides.
For story points, compare each sprint's velocity with the baseline velocity the plan assumed. Small tasks help here too, because a blocked dependency shows up within days.
We suggest re-baselining when any of these triggers fires (the thresholds are our illustrative defaults, so tune them to your history):
- Velocity sits more than 20% off baseline for three consecutive sprints.
- Remaining scope has grown past the contingency buffer.
- Signed error stays negative for three sprints.
- A written assumption from the estimate turns out false.
Also re-estimate at each phase gate, because the cone of uncertainty narrows as scope firms up. Use your own completed projects as the reference class, as in reference-class forecasting (Kahneman and Tversky, Flyvbjerg). If the forecast end date falls outside the spread of your past overruns, challenge it.
AI-assisted estimation needs the same calibration. Netguru is building a sales-estimation flow on Omega, its internal AI agent platform. Score any AI-generated estimate against actuals with the same MMRE and signed-error log.
FAQ: Estimating software development time
How to estimate time for software development
How to better estimate software development time
How accurate should an estimate be
Story points vs hours
How long should estimation take
Next steps and related guides
Start your next estimate with a work breakdown structure and three-point estimation for each item, then re-estimate as scope firms up.
Four related guides pick up where this one stops. The software development cost guide covers pricing, and the MVP timeline guide covers a first release. Teams that work in sprints can continue with sprint planning in agile. How to estimate a machine learning project covers the extra uncertainty in data and model work.
If you have a range and want engineers to pressure-test the scope behind it, send us the details.
