How to Rebuild Your Estimates and Margin Thresholds From Your Own Delivery History

Written by

in

The estimate was built carefully. It was reviewed, approved, and wrong by forty percent. For the fourth time running.

You have probably already tried the obvious repairs. More granular tickets. Stricter time tracking. A better scoping template. A rule that estimates get a second pair of eyes before they go out. None of it moved the number much, and that is the most useful piece of evidence you have.

An error that survives more care is not a care problem. It is structural. This article shows you how to correct it using the only dataset that describes your agency accurately, which is your own closed projects, and then how to derive margin thresholds from the same source rather than borrowing someone else’s.

The short version

Why the same error

Because estimating from the plan is an inside view. You imagine this project, these tasks, everything going roughly as intended, and the imagination is systematically optimistic. That bias is directional rather than random, which is exactly why being more careful does not fix it. Care operates inside the bias. See the mechanism

What replaces it

Reference class forecasting. Group your past projects by how they were delivered, work out how much each one overran, take a percentile of that distribution, and apply it to your new bottom-up estimate. You stop predicting the project and start describing what projects like it actually did. See how to build the class

How much history

Formal guidance says 20 to 30. A two million dollar agency realistically has 10 to 15 comparable projects in a service line, and that is enough to work with. Ten is a good working minimum and eight is the floor. Below eight you are doing analogous estimating with judgement, which is still an outside view and still better than the plan. See the sample size question

Borrowed benchmarks

Keep them, but demote them. A 60 percent delivery margin and an 85 percent utilisation figure are useful as a floor while you build your own data. Used as targets they cause active harm, and there is a specific mechanism for how. See why borrowed benchmarks backfire

Start here

Pick your most repeated project type. Pull the last ten. For each one, write down two numbers: hours quoted, hours actually spent. That is the entire dataset you need to begin.

Why are our estimates wrong in the same direction every time

The planning fallacy, first described by Daniel Kahneman and Amos Tversky, is the tendency to predict a task from the inside. You picture the sequence of steps, assume each one goes as intended, and produce a number. The picture is coherent and it is consistently too optimistic, because the things that actually consume time are the ones you have not imagined yet.

The most relevant evidence for an agency audience is not the classic student studies. It comes from professionals estimating their own work. Magne Jørgensen at Simula Research Laboratory has shown repeatedly that when software professionals give a minimum and maximum they are 90 percent confident about, the actual effort falls inside that range only 50 to 60 percent of the time.

Read that again with your own team in mind. These are experienced technical people, estimating work they personally understand, asked to give a range wide enough to be nearly certain. They are wrong about four times out of ten.

If experts cannot make a 90 percent interval behave like a 90 percent interval, the problem is not expertise.

There is a second source of directional error, and naming it lets us discuss it without accusing anyone. Estimation error comes in two forms that produce identical numbers:

  • Delusion is honest optimism. The estimator genuinely believes the number.
  • Deception is strategic under-bidding, usually applied under commercial pressure to win the work.

Most agencies have some of both, and the person doing the second one usually does not experience it as dishonesty. They experience it as being realistic about what the client will accept. The correction below works on either, which is convenient, because you do not have to diagnose which one you have.

Why more detail does not make estimates more accurate

Breaking a project into smaller pieces feels like it should help. It produces a plan you can defend, a proposal that looks rigorous, and a number you believe more. What it does not reliably produce is a number closer to the truth.

Detail buys confidence, not accuracy. Jørgensen’s finding is precisely this shape: structure and expertise raise certainty without raising correctness. A team that has decomposed a build into 140 tickets is more confident than a team that estimated it in one lump, and there is no guarantee it is more right.

Three mechanisms explain why, and each is checkable in your own process:

  • Three-point estimating inherits the same imagination. PERT and similar methods ask for a worst case, but the worst case you can picture is not the statistical one. The genuinely bad outcomes are the ones nobody thought of, which is what makes them bad.
  • Budget anchoring moves the number without anyone noticing. Estimators who are shown a client’s budget expectation revise their effort estimate toward it, subconsciously, even when they are trying not to. This is why scoping during a pitch is compromised by design, not by weakness.
  • A template contains no outcome information. However granular your scoping document is, it describes the plan. It knows nothing about what your last ten builds actually did. Detail describes intent. Only history describes results.

There is a commercial edge to this worth noticing. Almost every piece of estimating advice you will find is published by a company selling software that helps you produce more detailed plans. The advice is not dishonest. It just stops one step short of the thing that would actually move your accuracy.

Why the most optimistic estimate wins the work

When several agencies bid on the same project, the winning bid is rarely the most efficient agency. It is usually the most optimistic one. This is the winner’s curse, and Jørgensen has documented it specifically in software bidding.

The market, in other words, selects for the estimate that is most wrong. Every competitive pitch you enter is a filter that rewards the shop that underestimated hardest, and the prize is the project that will hurt them.

The commercial consequence is the part worth sitting with. The cost of the work is incurred either way. The only real question is who pays for it. If the estimate was honest, the client pays for it in the proposal. If it was optimistic, the agency pays for it in margin, in overtime, and in the founder’s weekend. The work does not become cheaper because the number was lower.

What you charge a client for that uncertainty is a separate discipline from estimating it, and it deserves its own treatment. This article is about getting the internal number right first.

How to build your reference class

A reference class is a group of past projects similar enough that their outcomes tell you something about a new one. The grouping rule is the part most agencies get wrong.

Group by delivery structure and technical risk, never by revenue or client industry. A 20,000 dollar Shopify theme customisation and a 20,000 dollar custom Laravel build are not one class, despite the identical price tag. They fail in different ways, at different points, for different reasons.

Call this the rule of structural homogeneity. Two projects belong in the same class if the work moves through the agency the same way.

How many projects you actually need

This is the first question everyone asks, so here is the honest version:

Sample sizeWhat you can doWhat to call it
20 to 30 projectsFull percentile analysis, formal guidance satisfiedReference class forecasting
10 to 15 projectsPercentile analysis with a wider margin for error. This is what most agencies your size actually haveReference class forecasting, working version
8 to 10 projectsUsable, with the small cluster average as a starting pointThe floor
Under 8 projectsTake the small cluster’s average as a prior, then adjust with structured judgement that penalises named complexitiesAnalogous estimating, not forecasting

The 10 to 15 figure comes from two unrelated directions. Practitioner research on agency estimating lands there, and the one substantive competitor writing about calibration in this space independently puts the useful threshold at 8 to 15 comparable tasks. Two sources converging from different routes is about the best support available for a number you will be asked to defend.

Even below eight, an average of four similar projects beats a fresh guess, because it is still an outside view. You have stopped asking what this project should take and started asking what these projects did take.

Two further constraints on the class:

  • Keep a 12 to 18 month validity window. Beyond that, staff turnover, tooling changes and process maturity make old projects unrepresentative of how your agency works now.
  • Expect to hear that every project is different. The creative output genuinely is unique. The approval loops, integrations, asset chasing and QA friction are not, and that is where the hours go.

Which projects actually overrun

Technical complexity is the thing agencies watch. Operational and relational friction is the thing that predicts the fat tail. This is the section that turns the method into judgement, so treat the table below as a diagnostic to test against your own last ten projects rather than as a finding to accept.

AttributeStays near the medianGets pushed to the tail
Approval structureOne empowered decision makerMulti-tier committee, legal or compliance review
Technical environmentGreenfield, documented, modern stackLegacy systems, undocumented APIs, shared hosting
Scope at signatureQuantifiable: five templates, fifty posts migratedQualitative: modernise the feel, better conversions
Service maturityDelivered fifty times, SOPs existFirst-time execution, bespoke strategy

Run your last ten projects through those four rows. The overruns will cluster in the right-hand column, and they will cluster there more tightly than they cluster around technical difficulty.

Three of those four rows describe the client rather than the work, which is worth noticing. If the pattern holds in your data, the useful next move is to assess those attributes before you sign rather than after, which turns them into a qualification scorecard.

There is a structural reason why the worst outcomes are so much worse than the average, rather than just somewhat worse. Bent Flyvbjerg and colleagues, analysing 5,392 IT projects in the Journal of Management Information Systems in 2022, found cost overruns follow a power law rather than a normal distribution. The mechanism is component interdependence. One blocked integration does not delay one task. It halts design decisions, QA, content population and launch scheduling at the same time, and each of those delays creates its own knock-on.

That is why a project does not go 10 percent over. It goes fine, fine, fine, and then catastrophically over.

One caution. Those very large overrun figures come from megaproject and enterprise IT research. Do not carry them into a conversation about a website rebuild. The mechanism transfers. The magnitudes do not.

Why contingency should be a percentile rather than a flat buffer

A flat 15 percent buffer is the wrong shape for the problem. If your overruns are distributed with a fat right tail, and you have padded to something near the average outcome, then by construction you will blow through that buffer roughly half the time. A mean-based contingency is a coin flip wearing a spreadsheet.

The alternative is to pick a confidence level and read it off your own distribution.

  • P50 for repeatable retainer work. Half your past projects came in at or under this figure. Appropriate where the work is well understood and variance is narrow.
  • P80 for standard complex projects. Four in five past projects came in at or under this figure. Appropriate for builds, migrations, and anything with integrations.

Here is what that looks like in practice. If 80 percent of your past e-commerce SEO setups overran by 35 percent or less, then a 35 percent uplift buys you 80 percent confidence. Applying a 10 percent buffer instead is not caution. It is a decision to fund the other 25 percent out of your own margin.

The principle that correction should scale with unpredictability is not agency folklore. UK government appraisal guidance requires it. HM Treasury’s supplementary Green Book guidance on optimism bias sets recommended upward adjustments starting around 24 percent for standard building projects and rising to 200 percent for IT and software development.

The 200 percent figure is not a number to apply to your next website. It is there to make a point that your intuition already suspects: the less predictable the category of work, the larger the honest correction, and software-adjacent work sits at the unpredictable end.

One boundary worth being explicit about. Contingency here is an internal cost correction. It changes what you believe the work will take. What you charge a client for uncertainty is a pricing decision, and a different one.

Variance you can buffer and unknowns you cannot

Reference class forecasting has a limit, and knowing where it sits is what stops people misusing it.

  • Variance is the natural spread of a task you understand. A 1,500 word article takes somewhere between 3.5 and 5.5 hours depending on the subject and the writer’s day. Variance is bounded, it has a distribution, and a percentile covers it.
  • An unknown is a structural surprise. The client’s “standard WordPress site” turns out to have hard-coded content in the theme files. At that moment the project has left its reference class entirely, and no percentile drawn from projects that did not have this problem can cover it.

The distinction matters because the responses are completely different. Variance is priced. An unknown requires you to stop: a change order, a re-baselining conversation, or a bounded discovery phase to find out how deep the hole goes before anyone commits to a fixed number.

Applying a percentage uplift to an unknown is not conservative estimating. It is guessing with extra steps.

How to estimate work you have never done

With a sample size of zero, forecasting is not available to you. No method fixes that. So the correct move is not to guess better. It is to change what you sell.

Three approaches, in order of preference:

  1. Sell fixed inputs rather than fixed outputs. A timeboxed sprint commits to a quantity of capacity, not to a defined deliverable. You are selling something you can actually measure.
  2. Sell a paid discovery phase first. Scope, price and deliver a bounded piece of work whose only job is to remove the unknowns. Then estimate the real project from a position of knowledge, with the client’s blessing and their money.
  3. Decompose and isolate the novel part. Price the components you have history for from that history, and apply your maximum uplift only to the genuinely new part. This keeps the uncertainty contained rather than smeared across the whole quote.

The live example for most agencies right now is answer engine optimisation. No reference class exists yet because the work is too new, and platform behaviour is changing fast enough that any class you build will decay before it matures. We do not have a good answer to this and neither does anyone else. Sell it as inputs, or sell discovery, and be honest with the client about which.

Why borrowed benchmarks make it worse

Every published benchmark you have been measuring yourself against is real, and it was measured on someone who is not you. As a floor, that is useful. As a target, it does active harm.

It helps to see the provenance laid out, because the transferability problem becomes obvious the moment you look at who was actually studied:

BenchmarkTypical targetWho was actually measuredTransferability risk
Delivery margin 60 to 70 percentPractitioner consensus in agency financeAgencies advised by specialist consultants, self-selectedModerate. Directionally sound, not a law
Utilisation around 85 percentIndividual billable targetHourly-billed professional services, mixed sizesHigh. Different billing model, different measure
Net margin 13 percentIndustry average, 2026119 agency owners surveyed by Promethean Research, average agency 31 peopleModerate. Small sample, useful shape
Optimism bias uplift to 200 percentGovernment appraisal requirementUK public sector IT and construction projectsHigh. Right mechanism, wrong magnitude for agency work

Two things follow from that table.

The first is that these are small, specific studies. A benchmark drawn from 119 agencies is exactly the kind of figure that should be a starting point rather than a standard. That is not a criticism of the research. It is what the research is for.

The second is the more important one, because a benchmark used as a target does measurable damage. Here is the mechanism, in one worked case.

A developer logs 200 hours on a fixed-fee 25,000 dollar migration that was budgeted at 120 hours. Their utilisation reads 95 percent against an 85 percent target, so the performance bonus triggers. Meanwhile realisation has collapsed, and the effective hourly rate on the account has fallen from 208 dollars to 125 dollars. The project’s net margin is gone.

The agency paid a bonus for destroying margin. Not because anyone behaved badly, but because the target measured busy and the business needed paid.

There is a compounding version of this that is harder to see. Apply a borrowed margin target to an estimate that is already structurally optimistic, and the spreadsheet is forced to display a number your delivery has never once produced. The proposal is now internally consistent and externally fictional.

And one warning about your own data. Where timesheets have been filled in to satisfy a utilisation target rather than to record what happened, the history is poisoned and cannot be used for forecasting. That is a measurement problem with its own repair, and it needs fixing before this method will work. Why utilisation targets produce this behaviour in the first place is the root of it.

To be clear, we are refining these benchmarks rather than rejecting them. A 60 percent delivery margin and an 85 percent utilisation figure are perfectly good places to start when you have nothing. They were never meant to be the number you manage your team toward.

How to derive your own margin thresholds

Four numbers, each calculated from your own trailing twelve months. This is the part of the article with the least competition anywhere, and the most durable value, because these are the numbers your estimates get measured against.

Throughout, the denominator is Agency Gross Income, meaning revenue minus pass-through costs such as media spend and white-label subcontracting. Top-line revenue will flatter every figure below.

ThresholdHow to calculate itHow to level-set itIf your records are incomplete
Average cost per hour (ACPH)Total delivery costs divided by total capacity hoursThis is arithmetic, not aspirationImpute 20 percent of the founder salary into delivery costs
Target average billable rate (ABR)ACPH divided by (1 minus target delivery margin). An ACPH of 40 dollars at a 65 percent target gives 114 dollarsSet it to fund your overhead, not to match a competitorAGI divided by estimated hours, then add a 20 percent penalty buffer
Delivery margin(AGI minus delivery costs) divided by AGIAim for 60 to 70 percent. Below 50 percent you cannot cover overheadDiscard undocumented legacy projects and mandate tracking going forward
Variance tolerance(Actual minus corrected estimate) divided by corrected estimateAnything above 20 percent variance after correction triggers a reviewUse the delivery team’s qualitative signal as a stopgap

Two rules make these usable rather than theoretical.

Do not allocate fractional overhead per project. Per-project net profit is manipulable noise, because the allocation basis you choose determines the answer. Delivery margin isolates the part the delivery team actually controls, which is why it is the threshold worth managing.

Recalculate every six months. Salaries change, tooling changes, and your team gets better at things. A threshold set eighteen months ago is describing an agency that no longer exists.

A delivery margin threshold is also the cleanest gate available for deciding which problems deserve structural attention. If you want the version that sits at the front of a repair sequence rather than at the end of an estimate, the same threshold gates which problems keep coming back.

What to do when you have no history at all

This is the objection that would otherwise sink everything above, and it has a straightforward answer: a 90 day transition.

On day one, use published benchmarks as a pricing floor. Explicitly a floor, and say the word out loud in the room, because the whole failure mode is a floor quietly becoming a target.

From day one onward, redefine the project post-mortem. It has exactly one mandatory output: the variance between quoted effort and delivered effort, written into a reference class record. Everything else on the post-mortem agenda is optional. Most post-mortems fail because they try to capture everything and therefore capture nothing.

By day ninety, you have your first reference classes and the benchmarks become what they should always have been, which is context.

One cultural risk belongs in the open, because it is the thing this reader will actually worry about. A worksheet that systematically adds hours to your team’s estimates can read as institutional distrust. It is not. Position it as what it is: a defence against client-side friction, approval delay and scope drift, none of which are your team’s fault and all of which land on their week. If it is introduced as a correction for poor estimating skill, it will be resented, and it will be resented fairly.

Using the Reference-Class Estimating Worksheet

Five steps. No download, no tool, no spreadsheet template required beyond two columns.

  1. Select the class by delivery structure and technical risk, never by client industry. Ten projects as a working minimum, eight as the floor.
  2. Extract two numbers per project. The original approved estimate, not any re-baselined figure agreed halfway through, and the actual executed hours including imputed founder time.
  3. Compute the overrun ratio for each project: actual divided by quoted.
  4. Rank the ratios ascending and take your percentile. P50 for repeatable work, P80 for standard complex projects. Never the mean.
  5. Multiply your new bottom-up baseline by that ratio. A 100 hour estimate against a P80 of 1.62 becomes 162 hours.

Who owns it and when it runs:

  • Owner: the account executive or lead strategist who builds the scope.
  • Trigger: the scope is drafted, before any price is presented to the client.
  • Required input: the bottom-up baseline estimate.
  • Decision rule: multiply before pricing, not after.
  • Record location: the CRM deal record, so the corrected figure travels with the deal.
  • Escalation: if the corrected estimate exceeds the client’s budget, reduce the deliverables. The estimate itself cannot be lowered to fit.

That last line is the one worth remembering. Shrink the scope, not the estimate. It is what turns a forecasting method into a commercial discipline, and it is the moment estimating stops being an internal exercise and starts protecting the business.

Two worked examples

The build that got quoted honestly. A B2B WordPress rebuild comes in at 250 hours bottom-up. The last twelve comparable builds show a median of 340 hours, an overrun ratio of about 1.36. The quote goes out at 340 hours. It feels expensive to send. It is the first accurate number the agency has produced for that project type.

The sprint where the method simply worked. A 40 hour SEO sprint, with a historical uplift of 35 percent from the reference class, gets priced at 54 hours. It delivers in 52. Margin holds, the deadline is sane, and nobody works a weekend.

The second example matters more than it looks. Almost everything in this article is a description of something going wrong, and it is worth seeing what it looks like when the correction is simply applied and the project is ordinary.

There is also a pattern worth naming, because it defeats the method quietly. An agency subcontracts production to a lower-cost partner. The blended rate looks excellent and the reference class updates accordingly. What the class does not capture is the senior time spent reviewing and repairing that work, because none of it was logged against the project. The class is now describing a cost structure that does not exist. If you use external delivery partners, your imputed internal hours are not optional.

Frequently asked questions

Every project is different. How can history predict anything?
The creative output is genuinely unique. The delivery mechanics are not. Approval loops, asset chasing, stakeholder review, integration testing and QA behave consistently within a service line, and that is where overruns actually accumulate. You are not forecasting the idea. You are forecasting the friction around it.

If I add 35 percent to every estimate, will I not lose every pitch?
You will lose some, and they will be the ones you would have lost money on. The cost of the work is incurred whether or not it appears in the proposal. An optimistic estimate does not make a project cheaper, it just moves who pays for the difference from the client to your margin.

How many past projects do I actually need?
Ten is a good working minimum and eight is the floor. Below eight, take the average of the small cluster you do have and adjust it with structured judgement that penalises named complexities. That is analogous estimating rather than forecasting, and it is still an outside view, which is the part that does the work.

Our time tracking is unreliable. Can we still do this?
Yes, with two adjustments. Impute founder and senior time using a consistent convention rather than leaving it at zero, and discard projects whose records are too incomplete to trust rather than including them and polluting the class. Then use the 90 day transition to build clean data going forward.

Will this not feel like I do not trust my team?
Only if it is introduced that way. The uplift is not a correction for poor estimating skill. It is a correction for client-side friction, approval delay and scope drift, which are not your team’s doing and which currently land on their evenings. Say that when you introduce it.

Has generative AI already invalidated our older reference classes?
Possibly, and nobody can tell you by how much. AI-assisted development shifts effort from writing code to reviewing and integrating it, which changes where the hours sit rather than simply removing them. SPI Research found 27.1 percent of professional services projects used generative AI in 2025, up roughly 40 percent year on year. Treat pre-2024 classes with more caution than the 12 to 18 month window alone would suggest.

Where to start

Pull the last ten projects of your most repeated type. Two numbers each: quoted hours, actual hours. Divide, rank, take the eightieth percentile.

Most founders find the ratio is worse than they expected and that the reference class was easier to build than they feared. Both are useful. The second one is why this is a Tuesday afternoon exercise rather than a project.

If your history turns out to be too thin or too poisoned to use, that is a measurement problem rather than an estimating one, and it is worth finding out which you have before you rebuild anything. Start with an operational audit and we will follow the work with you.