Define revenue and the cost boundary
Gross margin expresses the spread between revenue and a defined cost subtotal as a share of revenue. The basic calculation is revenue minus cost, divided by revenue. Multiplying that result by one hundred gives the percentage. Because revenue is the denominator, gross margin answers how much of each revenue dollar remains after the selected costs. It does not answer how much was added to cost.
For the internal job analysis in this guide, cost means direct job cost. That includes materials assigned to the work, employer-loaded labor assigned through time records, subcontract work, and project-specific equipment or other charges. General business overhead stays separate. The resulting gross job profit must contribute toward that overhead. A financial statement may classify some costs differently, so reconcile this internal measure to the business's accounting policy before comparing reports.
All figures and percentages in the worked example are hypothetical teaching inputs. They are not construction market prices, recommended margins, or advice about a particular bid. A homeowner can use the method to understand the vocabulary in a quote discussion, while a contractor can use it to check that a worksheet describes its denominator correctly.
Separate dollars from percentages
Start with revenue and direct cost in dollars. Their difference is gross job profit in dollars under the stated convention. Divide that dollar difference by revenue to calculate gross job margin. Write dollars beside the first result and percent beside the second. People sometimes say the margin is a dollar amount when they mean gross profit. Distinguishing the two avoids confusion when comparing a small job with a much larger one.
Revenue here is the amount assigned to the same work and period as the cost being reviewed, after any price reduction included in the analysis. It is not automatically the deposit received, the amount invoiced this week, or the cash remaining in the bank. Progress payments and job completion can occur on different dates. An estimate can use the planned contract revenue and full forecast direct cost, but label the calculation as forecast rather than actual.
The IRS explains in Publication 334, chapter 7 that gross profit precedes the deduction of other business expenses in its business examples. That distinction supports keeping gross profit separate from the final business result. This guide's direct-job-cost convention is an estimating tool, not an instruction to copy a tax-return classification.
Worked example: revenue is the denominator
Assume hypothetical completed-scope revenue of $24,000 and hypothetical direct job costs of $18,000. Subtract cost from revenue: $24,000 minus $18,000 leaves $6,000 of gross job profit. Divide $6,000 by $24,000 and multiply by one hundred. The gross job margin is 25 percent. This means one quarter of the stated revenue remains after the stated direct costs.
A reverse check starts with the margin percentage. Multiply $24,000 by 0.25 to recover $6,000, then subtract that gross profit from revenue to recover $18,000 of cost. Alternatively, the direct cost ratio is $18,000 divided by $24,000, or 75 percent. On the same cost definition, cost ratio plus gross margin equals 100 percent.
Suppose the business assigns a hypothetical $3,500 of general overhead to this job for internal analysis. Subtracting that allocation from the $6,000 gross job profit leaves $2,500 before any other uncounted expenses or adjustments. Calling the original $6,000 net profit would skip the overhead. Calling the $2,500 final net profit would also be premature unless the analysis included every remaining item needed for that measure.
Explain why markup gives a different answer
Using the example's same $6,000 spread, divide by $18,000 of cost instead of $24,000 of revenue. The result is approximately 33.33 percent markup on direct cost. Both percentages describe the same dollars. The 25 percent gross margin uses revenue; the approximately 33.33 percent markup uses cost. Changing only the denominator changes the percentage without changing the contract price or the job's cost.
Do not subtract a markup percentage from one hundred to find the cost ratio. Markup is based on a different whole. To compare estimates, first identify each denominator and then convert the measures if needed. A worksheet heading such as profit percent is insufficient because it does not say which formula produced the value. Use gross job margin on revenue or markup on direct cost as the field label.
A discount also has a larger effect on gross profit than its percentage of total revenue might suggest. If direct costs stay fixed while revenue falls, the entire reduction comes out of the spread. Recalculate the numerator and denominator after the reduction. Subtracting a discount percentage directly from a previously calculated margin percentage generally does not reproduce the new ratio.
Use a consistent overhead policy
For this guide, general office salaries, office occupancy, and general business administration stay outside direct job cost. Site labor and project-specific supervision enter direct cost when time records support assignment to the job. A firm can use another documented classification for its reports. What matters for comparison is preserving the same classification or presenting a reconciliation when it changes.
For example, moving project management from overhead into direct cost reduces reported gross job profit while leaving the business's total costs unchanged. That bookkeeping move does not by itself mean the project became less profitable. Compare the combined direct cost and overhead before interpreting the changed gross margin. Preserve a note identifying the moved category, the affected period, and the reason for the change.
Avoid recovering the same expense twice. If a loaded labor rate includes employer benefits, do not also include those same benefits in the overhead allocation. If equipment charges include a defined ownership-cost component, keep the matching amount out of any additional pool used for the same analysis. The cost boundary belongs beside the margin calculation so a later reviewer can reproduce it.
Match the scope and stage of completion
For an unfinished job, distinguish actual cost incurred from estimated cost to complete. Comparing the entire contract value only with costs posted so far can create a misleadingly high margin. An internal forecast should pair the planned total revenue with the full forecast direct cost for that same scope, including the remaining work. Identify approved changes separately from potential changes so expected revenue does not quietly include an unapproved amount.
For a completed job, check that supplier bills, payroll assignments, subcontract invoices, and credits have been posted before treating the result as final. Keep pending charges visible. A late invoice can change gross margin without any new physical work. Likewise, a customer credit reduces revenue even when the crew's completed hours remain unchanged. The review should explain which side of the calculation changed.
Do not average job margin percentages to obtain the company's combined margin. Add the relevant revenue dollars and gross profit dollars, then divide total gross profit by total revenue. A large project must have proportionate weight in the combined measure. A simple average assigns the same weight to a tiny repair and a major remodel, which can distort the result even if every individual percentage is correct.
Check exceptional results and share the meaning
A zero revenue denominator makes gross margin undefined. Show a clear unavailable result instead of dividing by zero or displaying a fabricated zero percent. If direct cost exceeds positive revenue, gross job profit and margin are negative. That is a useful signal to inspect scope, cost posting, and price adjustments, not a reason to reverse the denominator. Preserve the sign so the result remains meaningful.
When sharing a margin, include the period, scope, revenue amount, cost definition, and whether the result is estimated or actual. A percentage alone omits the information needed to interpret it. For homeowners comparing quotes, a claimed gross margin does not reveal the contractor's final earnings and cannot substitute for matching quantities, specifications, allowances, exclusions, and contract terms. Use the calculation to clarify the proposal's explanation.
