Every construction job starts with two numbers, and most of the year-end work depends on them
A contractor wins a bid, signs a contract and starts work. Months later, at year end, the accountant has to say how much revenue the job has earned, whether the customer has been billed too much or too little, and whether the job is still profitable. Every one of those answers goes back to two numbers set at the very start: the contract value and the estimated total cost. If those are wrong or incomplete, the percent complete, the earned revenue, the over- and underbillings and the margin fade are wrong too.
This free lesson is for construction accountants and controllers, project managers who have to explain their job margins to the finance team, bookkeepers who have just started working for a contractor, bonding and banking analysts who read work-in-progress (WIP) schedules, and students who want to understand how revenue over time works in practice. You need basic Excel: subtraction, division, SUM and one lookup.
Throughout the course we follow Stonebrook Builders, Inc., a fictional mid-size general contractor with eight jobs under contract: a school, a medical centre, a bridge, an apartment complex, a fire station, a distribution centre, a parking garage and a library. In the lab above you turn its eight winning bids into estimated total cost, estimated gross profit and gross margin, job by job and for the whole backlog. All figures are illustrative.
The core concept: contract value, estimate at completion and gross profit
Three definitions carry the whole lesson:
- Contract value is what the owner has agreed to pay for the job. Later in the course approved change orders are added to it, so it is a moving number over the life of a job.
- Estimated total cost, often called the estimate at completion (EAC), is what the contractor expects the whole job to cost by the time it is finished. It includes direct costs (labour, materials, subcontractors, equipment) and indirect job costs that belong to that job, such as site supervision, temporary facilities, and the insurance and bonds for that project.
- Estimated gross profit = contract value − estimated total cost. The gross profit percentage (GP %) = estimated gross profit ÷ contract value.
Head office costs such as the accounting department, estimating staff who bid on many jobs, and sales are normally not part of the contract cost. They are period costs of the company. Under the revenue standards (ASC 606 and IFRS 15) and the related cost guidance, costs that relate directly to a contract, including allocations of costs such as supervision and insurance that relate to contract activities, are contract costs, while general and administrative costs that are not explicitly chargeable to the customer are expensed as incurred. Where exactly a company draws the line is an accounting policy that should be applied consistently.
Why does the estimated total cost matter so much? Because contractors that recognise revenue over time usually measure progress with the cost-to-cost method: percent complete = cost incurred to date ÷ estimated total cost. The EAC is the denominator of every progress calculation for the rest of the job. An estimate that leaves out the indirect job costs makes every job look further along, and more profitable, than it really is.
Worked example: Stonebrook Builders’ eight jobs
Here are the eight jobs from the lab, completed. Columns B to D are the bid data; E to G are what you calculate.
| Job (A) | Contract value (B) | Direct cost (C) | Indirect job cost (D) | Est. total cost (E) | Est. gross profit (F) | GP % (G) |
|---|---|---|---|---|---|---|
| J101 Maple Grove School | 6,450,000 | 5,250,000 | 330,000 | 5,580,000 | 870,000 | 13.5 % |
| J102 Lakeside Medical | 3,280,000 | 2,700,000 | 180,000 | 2,880,000 | 400,000 | 12.2 % |
| J103 Route 9 Bridge | 1,875,000 | 1,560,000 | 95,000 | 1,655,000 | 220,000 | 11.7 % |
| J104 Riverbend Apts | 9,600,000 | 8,050,000 | 520,000 | 8,570,000 | 1,030,000 | 10.7 % |
| J105 Hillcrest Fire | 2,940,000 | 2,420,000 | 160,000 | 2,580,000 | 360,000 | 12.2 % |
| J106 Northgate DC | 7,200,000 | 6,060,000 | 390,000 | 6,450,000 | 750,000 | 10.4 % |
| J107 Oak St Garage | 4,150,000 | 3,480,000 | 220,000 | 3,700,000 | 450,000 | 10.8 % |
| J108 Willow Library | 1,320,000 | 1,090,000 | 70,000 | 1,160,000 | 160,000 | 12.1 % |
| Total | 36,815,000 | 30,610,000 | 1,965,000 | 32,575,000 | 4,240,000 | 11.5 % |
The formulas in row 2, copied down to row 9:
E2: =C2+D2estimated total cost, direct plus indirect job cost.F2: =B2-E2estimated gross profit.G2: =F2/B2gross margin on the contract value, formatted as a percentage.
And in the total row and below:
E10: =SUM(E2:E9), copied right to F10.G10: =F10/B10the portfolio margin: 4,240,000 ÷ 36,815,000 = 11.5 %.E12: =INDEX(A2:A9,MATCH(MIN(G2:G9),G2:G9,0))returns the job with the lowest margin: J106 Northgate DC at 10.4 %.
Two things stand out. First, the portfolio margin of 11.5 % is not the simple average of the eight percentages, which would be 11.7 %. The average gives the small Willow Library the same weight as the 9.6 million Riverbend apartments. The right portfolio figure divides total gross profit by total contract value, so each job counts in proportion to its size. Second, the two largest jobs, Riverbend Apts and Northgate DC, have the two thinnest margins. Together they are almost half of the backlog, so a small cost overrun on either one moves the whole company’s result.
Why the bid estimate drives every later number
It is tempting to see the bid sheet as a sales document that the accountants can forget once the contract is signed. In practice it is the foundation of the year-end numbers. Take J101 Maple Grove School as an example. Suppose that by 31 December Stonebrook has incurred, for example, 2,790,000 of cost on the job. With the cost-to-cost method:
- Percent complete = 2,790,000 ÷ 5,580,000 = 50 % (
=cost_to_date/E2). - Earned revenue to date = 50 % × 6,450,000 = 3,225,000 (
=percent_complete*B2). - Gross profit to date = 3,225,000 − 2,790,000 = 435,000, which is half of the estimated 870,000.
Now suppose someone had forgotten the 330,000 of indirect job cost and used 5,250,000 as the estimate. The same cost to date would give 53.1 % complete, earned revenue of about 3,427,700 and gross profit to date of about 637,700. That is roughly 200,000 of profit recognised too early on a single job, and it would reverse later as a painful margin fade. The estimate is the denominator of progress, so an error in it flows straight into revenue.
This is also why surety companies, banks and auditors pay close attention to how estimates are prepared and updated. A contractor whose estimates are complete and regularly revised produces WIP schedules that can be trusted; one whose estimates are stale produces profits that come and go.
How to build the job margin sheet in Excel, step by step
- Enter the bid data. One row per job: name in A, contract value in B, direct cost in C, indirect job cost in D. Keep one job per row and never merge cells; every later lesson adds columns to the right of these.
- Turn it into a Table. Click in the data and press Ctrl+T (Cmd+T on a Mac), tick My table has headers. New jobs added below are then picked up by every formula and chart.
- Estimated total cost. In E2 type
=C2+D2. In a Table the formula fills down by itself; otherwise select E2:E9 and press Ctrl+D. - Estimated gross profit. In F2 type
=B2-E2and fill down. - Gross margin. In G2 type
=F2/B2, fill down and press Ctrl+Shift+% for the percentage format. Use Home › Increase Decimal to show one decimal place. - Totals. Select B10:F10 and press Alt+= (AutoSum) to add all columns at once. Do not sum the percentages in G.
- Portfolio margin. In G10 type
=F10/B10. This is the weighted margin; resist the temptation of=AVERAGE(G2:G9). - Lowest-margin job. In E12 type
=INDEX(A2:A9,MATCH(MIN(G2:G9),G2:G9,0)). In Microsoft 365 you can write=XLOOKUP(MIN(G2:G9),G2:G9,A2:A9)instead. - Highlight the thin margins. Select G2:G9, choose Home › Conditional Formatting › Highlight Cells Rules › Less Than and enter the company’s minimum acceptable margin, for example 11 %.
- Chart it. Select A1:A9 and G1:G9 (hold Ctrl for the second range) and use Insert › Bar Chart. Sort the data by margin first so the chart reads from best to worst.
=SUM(B2:B9)-SUM(C2:D9) must equal F10. If it does not, a row is missing from one of the SUM ranges, which happens easily when a new job is inserted below the total row.
Common mistakes, and how to spot them
- Leaving out the indirect job costs.
=B2-C2instead of=B2-C2-D2overstates every margin. For J104 it would show 1,550,000 profit instead of 1,030,000. Spot it by checking that column E is larger than column C on every row. - Dividing by cost instead of price.
=F2/E2gives a markup, not a margin. Markups are always higher than margins on profitable jobs, so if J101 shows 15.6 % instead of 13.5 %, you have divided by the wrong number. - Averaging percentages.
=AVERAGE(G2:G9)gives 11.7 % instead of 11.5 %. Spot it by recalculating the portfolio margin as total profit ÷ total contract value; if the two differ, the average is the wrong one. - Putting head office costs into the job. Spreading the whole office overhead across the jobs lowers every margin and makes the cost-to-cost progress unreliable. Keep a clear, written list of what counts as an indirect job cost.
- Freezing the estimate. The bid estimate is a starting point. When the project team revises the EAC, the sheet has to use the revised number, and the difference to the bid is the margin fade you will measure later in the course.
- Hard-coded numbers in formulas.
=6450000-5580000works once and breaks the moment a change order arrives. Always reference the cells. - INDEX/MATCH returning the wrong job. If the lookup range and the return range have different sizes or start in different rows, MATCH returns a position that points to the wrong name. Keep both ranges on the same rows, for example A2:A9 and G2:G9.
Quick reference: the Excel functions and shortcuts in this lesson
| Function / shortcut | What it does here | Example |
|---|---|---|
SUM | Totals contract value, cost and profit | =SUM(B2:B9) |
| Division and % format | Gross margin on contract value | =F2/B2, then Ctrl+Shift+% |
MIN | Finds the lowest margin | =MIN(G2:G9) |
INDEX + MATCH | Returns the job name for that margin | =INDEX(A2:A9,MATCH(MIN(G2:G9),G2:G9,0)) |
XLOOKUP | The same lookup in Microsoft 365 | =XLOOKUP(MIN(G2:G9),G2:G9,A2:A9) |
AVERAGE | The simple average, useful only as a comparison | =AVERAGE(G2:G9) |
| Ctrl+T | Turns the job list into an Excel Table | Cmd+T on a Mac |
| Alt+= | AutoSum for the selected total row | Cmd+Shift+T on a Mac |
| Ctrl+Shift+% | Percentage format | Select G2:G10 first |
Real-world uses
- Bid review. Before a bid goes out, put it on the same sheet as the existing backlog. You see at once whether it lifts or dilutes the portfolio margin and how much of the backlog it would be.
- Monthly WIP meeting. Project managers update the estimated cost of each job, and the sheet shows how today’s margin compares with the bid margin. The difference is the margin fade, and it is often the first number a construction CFO looks at.
- Surety and bank reporting. Bonding companies and lenders commonly ask for a WIP schedule with contract values, estimated costs and gross profit per job. Clean bid data is the first column of that schedule.
- Sensitivity on large jobs. For example, if Northgate DC’s costs ran 3 % over the estimate (6,643,500 instead of 6,450,000), its gross profit would fall from 750,000 to 556,500 and its margin from 10.4 % to 7.7 %. Adding a cost-overrun input cell to the sheet shows which jobs can absorb a surprise and which cannot.
- Estimator feedback. Comparing the bid margin with the final margin of completed jobs shows which kinds of work the company estimates well and which it consistently underestimates.
What you will build in the rest of this course
This first lab is free. The other 19 lessons are part of the paid course ($9.90, one-time) and keep working on Stonebrook’s eight jobs, so the sheet you started today grows into a complete year-end WIP schedule.
Percent Complete with the Cost-to-Cost Method. You measure the progress of all eight jobs at 31 December 2026 using the estimated total cost from today as the denominator, find the cost still to come and count the jobs past the halfway mark.
Earned Revenue to Date and Revenue for the Year. You turn percent complete into earned revenue, separate what belongs to 2026 from what was recognised in earlier years, and calculate the gross profit recognised so far.
Billings vs Earned Revenue: Overbillings and Underbillings. You follow the Maple Grove School job through four quarters and watch it swing between underbilled and overbilled, which is the part of WIP accounting that confuses most newcomers.
The WIP Schedule for Eight Jobs and the Year-End Adjustment. You complete Stonebrook’s full work-in-progress schedule, split overbillings from underbillings, total them and book the year-end WIP adjustment.
Change Orders, Revised Estimates and Margin Fade. You add approved change orders, compare the bid margin with today’s margin and measure the fade in percentage points and in dollars, the number that tells management where profit is leaking.
Loss Contracts: Recognise the Whole Loss Now. You re-estimate two jobs, spot the one that has turned into a loss, provide for the remaining loss at once and see how much hits the first quarter of 2027.
Retainage, Backlog and a Margin-Fade Chart. You calculate the retainage Stonebrook is owed and owes, the backlog still to be earned, and chart bid against current margins by job for a one-page management view.
Every lesson is a graded lab like the one above, with hints and feedback on common mistakes, and the course ends with an exam and a certificate.
Summary
Every construction job is measured against two numbers: the contract value and the estimated total cost, which includes the indirect costs that belong to the job. Estimated gross profit is their difference, and gross margin divides it by the contract value, not by the cost. For the whole backlog, divide total profit by total contract value; for Stonebrook that gives 11.5 %, with Northgate DC as the thinnest job at 10.4 %. These two numbers drive percent complete, earned revenue and every WIP figure that follows.
Now scroll back up and try it in the free lab. Fill in the estimated total cost and gross profit for all eight jobs, calculate each margin and the portfolio margin in G10, and let INDEX and MATCH find the weakest bid in E12.
Frequently asked questions
How do you calculate estimated gross profit on a construction contract?
Subtract the estimated total cost (direct costs plus indirect job costs) from the contract value. Include approved change orders in the contract value and the related costs in the estimate.
What is the difference between gross margin and markup in construction?
Gross margin divides gross profit by the contract value, markup divides it by the cost. A job with a 13.5 % margin has a markup of about 15.6 %, so always state which one you mean.
What costs are included in the estimated total cost of a job?
Direct labour, materials, subcontractors and equipment, plus indirect costs that relate to the job, such as site supervision, temporary facilities, and the insurance and bonds for that project. General head office costs are normally not included.
What is an estimate at completion (EAC)?
It is the contractor’s current estimate of what the whole job will cost when finished. It starts as the bid estimate and is updated as the job progresses.
How do I calculate the overall gross margin for all jobs in Excel?
Divide total estimated gross profit by total contract value, for example =F10/B10. Do not average the job percentages, because that gives a small job the same weight as a large one.
Is this construction accounting lesson free?
Yes. The first lesson with its interactive Excel lab is free. The other 19 lessons, the exam and the certificate are part of the paid course.
Keep going: Construction Contract Accounting: WIP Schedules, Over/Under Billing & Margin Fade
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time $9.90.
- Percent Complete with the Cost-to-Cost Method
- Earned Revenue to Date and Revenue for the Year
- Billings vs Earned Revenue: Overbillings and Underbillings
- The WIP Schedule for Eight Jobs and the Year-End Adjustment
- Change Orders, Revised Estimates and Margin Fade
- Loss Contracts: Recognise the Whole Loss Now
- Retainage, Backlog and a Margin-Fade Chart
- Uninstalled Materials and Rework in the Progress Measure
- Output Methods: Metres Installed vs Cost-to-Cost
- Changes in Estimate: the Cumulative Catch-Up Quarter by Quarter
- Unapproved Change Orders and Claims in the Contract Price
- Progress Billing: Schedule of Values, Stored Materials and Retainage
- Retainage Aging and Release after Completion
- Cost Cut-Off: Accrued Subcontractor Work and Its Effect on Revenue
- Gross Profit Bridge: Bid Margin to Current Margin with a Waterfall
- The Surety View: Adjusted Working Capital, Backlog Multiple and Underbillings
- Job Cash Flow: Which Jobs Fund Themselves and Which Borrow
- Closed-Job Lookback: How Accurate Were the Bids?
- Final Project: Year-End 2027 WIP Schedule and Dashboard