Tabellab

Contract Value, Estimated Total Cost and Estimated Gross Profit

Lesson 1 of 20Lab

All lessons

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — $9.90
Loading the spreadsheet…

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.

Margin is not markup. Gross margin divides gross profit by the contract value (the price). Markup divides gross profit by the cost. For J101, the margin is 870,000 ÷ 6,450,000 = 13.5 %, but the markup is 870,000 ÷ 5,580,000 = 15.6 %. Estimators often think in markup, accountants and sureties in margin. Always say which one you mean.

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.

Stonebrook Builders, Inc.: estimated gross profit by job, USD
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 School6,450,0005,250,000330,0005,580,000870,00013.5 %
J102 Lakeside Medical3,280,0002,700,000180,0002,880,000400,00012.2 %
J103 Route 9 Bridge1,875,0001,560,00095,0001,655,000220,00011.7 %
J104 Riverbend Apts9,600,0008,050,000520,0008,570,0001,030,00010.7 %
J105 Hillcrest Fire2,940,0002,420,000160,0002,580,000360,00012.2 %
J106 Northgate DC7,200,0006,060,000390,0006,450,000750,00010.4 %
J107 Oak St Garage4,150,0003,480,000220,0003,700,000450,00010.8 %
J108 Willow Library1,320,0001,090,00070,0001,160,000160,00012.1 %
Total36,815,00030,610,0001,965,00032,575,0004,240,00011.5 %

The formulas in row 2, copied down to row 9:

  • E2: =C2+D2 estimated total cost, direct plus indirect job cost.
  • F2: =B2-E2 estimated gross profit.
  • G2: =F2/B2 gross 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/B10 the 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.

Bid gross margin by job vs portfolio marginJ101 Maple Grove School13.5 %J105 Hillcrest Fire12.2 %J102 Lakeside Medical12.2 %J108 Willow Library12.1 %J103 Route 9 Bridge11.7 %J107 Oak St Garage10.8 %J104 Riverbend Apts10.7 %J106 Northgate DC10.4 %0 %4 %8 %12 %16 %Portfolio margin 11.5 % (=F10/B10)
Figure 1. Bid margins range from 13.5 % (Maple Grove School) to 10.4 % (Northgate DC, in peach). The dashed line is the portfolio margin of 11.5 %, weighted by contract value, which sits below the simple average of 11.7 % because the two biggest jobs carry the thinnest margins.

What each contract dollar pays for (USD millions)J104 Riverbend Apts9.60J106 Northgate DC7.20J101 Maple Grove School6.45J107 Oak St Garage4.15J102 Lakeside Medical3.28J105 Hillcrest Fire2.94J103 Route 9 Bridge1.88J108 Willow Library1.320246810Direct costIndirect job costEstimated gross profit
Figure 2. Each bar is one contract, split into direct cost (sky), indirect job cost (butter) and estimated gross profit (mint). The profit slice is thin on every job, which is why small estimating errors matter so much in construction.

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

  1. 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.
  2. 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.
  3. 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.
  4. Estimated gross profit. In F2 type =B2-E2 and fill down.
  5. 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.
  6. Totals. Select B10:F10 and press Alt+= (AutoSum) to add all columns at once. Do not sum the percentages in G.
  7. Portfolio margin. In G10 type =F10/B10. This is the weighted margin; resist the temptation of =AVERAGE(G2:G9).
  8. 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.
  9. 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 %.
  10. 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.
Check your totals a second way: =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.

Construction contract accounting course: WIP schedule, over and under billing and margin fade worked in Excel
Construction contract accounting in Excel: from the bid margin to an eight-job WIP schedule, over- and underbillings and margin fade.

Common mistakes, and how to spot them

  • Leaving out the indirect job costs. =B2-C2 instead of =B2-C2-D2 overstates 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/E2 gives 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-5580000 works 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

Functions and shortcuts used for the job margin sheet
Function / shortcutWhat it does hereExample
SUMTotals contract value, cost and profit=SUM(B2:B9)
Division and % formatGross margin on contract value=F2/B2, then Ctrl+Shift+%
MINFinds the lowest margin=MIN(G2:G9)
INDEX + MATCHReturns the job name for that margin=INDEX(A2:A9,MATCH(MIN(G2:G9),G2:G9,0))
XLOOKUPThe same lookup in Microsoft 365=XLOOKUP(MIN(G2:G9),G2:G9,A2:A9)
AVERAGEThe simple average, useful only as a comparison=AVERAGE(G2:G9)
Ctrl+TTurns the job list into an Excel TableCmd+T on a Mac
Alt+=AutoSum for the selected total rowCmd+Shift+T on a Mac
Ctrl+Shift+%Percentage formatSelect 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.

  1. Percent Complete with the Cost-to-Cost Method
  2. Earned Revenue to Date and Revenue for the Year
  3. Billings vs Earned Revenue: Overbillings and Underbillings
  4. The WIP Schedule for Eight Jobs and the Year-End Adjustment
  5. Change Orders, Revised Estimates and Margin Fade
  6. Loss Contracts: Recognise the Whole Loss Now
  7. Retainage, Backlog and a Margin-Fade Chart
  8. Uninstalled Materials and Rework in the Progress Measure
  9. Output Methods: Metres Installed vs Cost-to-Cost
  10. Changes in Estimate: the Cumulative Catch-Up Quarter by Quarter
  11. Unapproved Change Orders and Claims in the Contract Price
  12. Progress Billing: Schedule of Values, Stored Materials and Retainage
  13. Retainage Aging and Release after Completion
  14. Cost Cut-Off: Accrued Subcontractor Work and Its Effect on Revenue
  15. Gross Profit Bridge: Bid Margin to Current Margin with a Waterfall
  16. The Surety View: Adjusted Working Capital, Backlog Multiple and Underbillings
  17. Job Cash Flow: Which Jobs Fund Themselves and Which Borrow
  18. Closed-Job Lookback: How Accurate Were the Bids?
  19. Final Project: Year-End 2027 WIP Schedule and Dashboard

Buy course — $9.90 See the full course