Guide ·
How to estimate a software project when you don't know everything yet
Most estimating advice assumes you can see the whole project. You rarely can. This guide is about the parts you can't see yet: how to separate what you know from what you don't, borrow from your own history, investigate the scary bits before you commit, and tell a client how confident you are without sounding unsure of yourself.
The basic method is short: break the scope into features, give each one a min–max range in hours, add the work people forget (discovery, QA, deployment, revisions), and put a buffer on top. The project estimate calculator page walks through that method step by step. Everything below is about what to do when some of those ranges are guesses.
Estimate, quote or commitment?
Clients hear one number. You should know which of three things you're actually giving them, and say so.
- An estimateis your best judgement of effort given what you know today. It's expected to move as you learn more.
- A quoteis a price you'll hold for a defined scope. If the scope stays put, the price does too.
- A commitment is a promise about a date or outcome, usually with consequences if you miss it.
Trouble starts when a rough estimate gets treated as a quote, or a quote as a commitment to a launch date. Early in a conversation you're almost always giving an estimate; label it that way in writing. Whether a number later hardens into a fixed quote is a pricing decision, covered in fixed price vs hourly. The rule of thumb: only quote a fixed price on the parts you could estimate confidently.
Sort the work by how well you know it
Not every line item carries the same uncertainty, so don't estimate them all the same way. Before you put numbers anywhere, tag each feature with one of three labels.
| Familiarity | What it looks like | How to estimate it |
|---|---|---|
| Built before | Auth, a CRUD admin, Stripe checkout you've shipped several times | Reference projects: look up what it actually took last time |
| Similar | A new payment provider, a framework version you haven't used, a familiar feature in an unfamiliar domain | Three-point estimate with a wider pessimistic case |
| Never done | An undocumented third-party API, a codebase you haven't opened, a data migration from an unknown source | Don't estimate yet: spike it or sell discovery first |
On a typical project most items land in the first column. That's good news: you only need the expensive techniques for a handful of lines. The mistake is giving a never-done item the same tidy range as a built-before one and hoping it averages out. It usually doesn't, because surprises push one way: things take longer, rarely shorter.
Estimate from your own past projects
Your best estimating data is your own history. A colleague's rule of thumb or a forum thread doesn't know how fast you work, what your clients are like or how much you polish. Your past projects do.
Keep a simple log. A spreadsheet is enough: one row per line item, with the estimated range, the actual hours, and a short note on what went differently. Track at line-item level, not project level, because a project total hides the one item that doubled.
Using the ratio
After a few projects, divide actual hours by the midpoint of your estimate for each kind of work. You'll find patterns you can act on. Maybe your backend estimates are reliable but anything involving a design hand-off runs well over. Maybe webhooks always take longer than the checkout itself. Apply your own correction to the categories that drift, rather than one blanket fudge factor across the whole estimate.
Pre-scoped breakdowns help when your log is thin. The proposal templates list typical line items and hour ranges for common projects. Treat them as a starting checklist, then adjust each line against your own numbers.
Three-point estimates, worked through
For items you know roughly but not exactly, give three numbers instead of one:
- Optimistic: everything goes right and nothing surprises you.
- Likely: what you'd bet on if you had to pick one number.
- Pessimistic: the realistic bad case, not the apocalypse. Something you depend on is badly documented, or a requirement turns out to mean more than it said.
The classic PERT formula weights these as (optimistic + 4 × likely + pessimistic) ÷ 6. You don't need to show clients the formula; the useful part is that thinking about three cases makes you notice the long tail. Here's an illustrative example for a small subscription app.
| Line item | Optimistic | Likely | Pessimistic | Weighted |
|---|---|---|---|---|
| Stripe subscriptions and webhooks (built before) | 12 | 16 | 22 | 16.3 |
| Admin reporting screen (built before) | 10 | 14 | 20 | 14.3 |
| Import of legacy customer CSV (similar) | 8 | 14 | 30 | 15.7 |
| Sync with client's warehouse API (never done) | 10 | 20 | 48 | 23.0 |
| Total | 40 | 64 | 120 | 69.3 |
Notice where the spread lives. The two familiar items barely move. The import and the warehouse sync account for most of the gap between 64 and 120 hours. That tells you where to spend investigation time, and it gives you an honest story for the client.
Mapping three points onto a min–max range
Don't put the optimistic number in your proposal as the low end; clients anchor on the lowest figure they see. A practical mapping is likelyas the minimum and somewhere between weighted and pessimistic as the maximum. For the warehouse sync above that might be 20–36 hours. Then put the ranges into the estimate calculator to see the low, expected and high totals at your rate. If you're unsure what that rate should be, the hourly rates guide works through it.
Spikes and paid discovery
When an item is genuinely never-done, a wider range isn't the answer. The answer is to find out. A spike is a short, timeboxed investigation with one question to answer: can the warehouse API give us stock levels per location? Does the legacy app have any tests? How dirty is the customer data?
Small spikes, an hour or two of reading docs or poking at a sandbox, you can absorb before sending a proposal. Anything bigger should be paid. Sell it as its own small fixed piece of work, separate from the build:
- A fixed fee and a hard timebox, for example three or four days.
- A defined output: a written findings note, a proof of concept against the real API, and a firm estimate for the build.
- No obligation either way. The client can take the findings elsewhere.
Paid discovery protects both sides. The client isn't committing to a large budget built on guesses, and you aren't locked into a price before you've seen the code. Clients who refuse to pay for any investigation on a project full of unknowns are telling you something about how the rest of the project will go.
Before I can give you a firm price for the warehouse integration, I'd like to spend three days testing their API against your real data. That's a fixed fee. At the end you'll get a short report, a working proof of concept and a fixed quote for the build, and you're free to use the report however you like.
Integrations, legacy code and migrations
Three kinds of work cause most estimates to go wrong, and they share a cause: the hard part belongs to someone else's system.
Third-party integrations
The happy path is usually quick. The time goes on what the docs leave out: rate limits, sandbox environments that behave differently from production, webhook retries, partial failures and getting credentials from the client's other vendor. A well-trodden integration like the one in the Stripe integration template is estimable from experience. A niche industry API with a PDF for documentation is not; spike it.
Legacy codebases
You can't estimate changes to code you haven't read. Ask for repository access before quoting, check whether it builds and deploys, whether there are tests, and how tangled the area you'd touch is. If you can't get access, estimate the first phase only and make the rest conditional on what you find.
Data migrations
The script is rarely the expensive part. The expensive parts are dirty data, undocumented fields, decisions the client hasn't made about what to do with records that don't fit, and repeated dry runs. Ask for a real export early. Projects like a WordPress to headless rebuild look like front-end work but often hide a content migration that deserves its own line item.
Telling the client how sure you are
Uncertainty stated plainly reads as competence. Uncertainty hidden behind a single confident number reads as competence right up until the overrun. Give confidence per phase, not one caveat for the whole proposal:
Phase 1, accounts and billing: high confidence. I've built this several times and the range is tight.
Phase 2, warehouse sync: medium confidence. The range is wide because their API is new to me. After the first week I'll confirm the number or tell you exactly what changed.
That last sentence is the important part: a re-estimate checkpoint. Name the point where you'll know more, such as the end of discovery, the first working sync or the first migration dry run, and promise an updated figure then. Clients cope well with numbers that move on schedule. They don't cope with surprises at the invoice.
Write down the assumptions your ranges depend on (“the API supports bulk reads”, “content arrives before development starts”) so that when one breaks, the conversation is about the assumption, not about you. The scope creep clauses guide has wording for assumptions and changes, and the proposal guide covers how to lay the estimate out. In ScopeDeck each line item already carries a min–max hours range, so the spread you worked out here shows up on the client's page as it is.
Checklist
- Say whether the number is an estimate, a quote or a commitment.
- Tag every line item as built before, similar or never done.
- Check built-before items against your own estimate-vs-actual log.
- Give similar items optimistic, likely and pessimistic figures.
- Use likely as the low end of the range, never optimistic.
- Spike never-done items, or sell discovery as a fixed, timeboxed piece.
- Get repository access and a real data export before quoting legacy or migration work.
- State confidence per phase and name the re-estimate checkpoint.
- Write down the assumptions each wide range depends on.
- After the project, log actual hours per line item and update your ratios.
Keep reading
- Fixed price vs hourly: which to quote for a software projectWho carries the risk under each model, the signals that point to one or the other, and the phased hybrid that suits many projects.
- Freelance developer hourly rates: how to set yoursRough rate bands in four currencies, the factors that actually move them, and a way to work backwards from the income you need.
- How to write a freelance developer proposalScope, estimate and present a software project so the client understands what they're buying — with a worked SaaS MVP estimate.
Write your next proposal in ScopeDeck
Line items in hours × rate with ranges, phases, tech stack, and a hosted page your client can accept.