CertiAcademyPass your exam with confidence

California Contractor · Law & Business

Construction Bidding Math: Markup vs. Margin, Bonds and California Retention

Learn markup vs. margin with worked examples, distinguish bid, performance and payment bonds, and review California’s 2026 retention rules for CSLB study.

Updated: November 5, 2026

A contractor estimates $80,000 in project costs and adds 20%. The bid becomes $96,000. Has the contractor priced a 20% gross margin? No: the $16,000 difference is only 16.67% of the selling price. That change of denominator is the mistake to recognize before reaching for a calculator.

For CSLB Law and Business preparation, connect the calculation to the contract: what the customer pays, which bond protects which obligation, and how much cash may be withheld as retention. Each answers a different question.

Markup vs. gross margin: which number is the base?

Markup measures the amount added relative to cost. Gross margin measures gross profit relative to sales. In these examples, “cost” means the project cost of sales specified in the question. Gross profit is not automatically net profit: business overhead and other expenses may still need to be paid.

What you needCalculation
Price with markupCost × (1 + markup rate)
Gross margin(Price − cost) ÷ price
Price for a target marginCost ÷ (1 − margin rate)

With $80,000 cost and a 20% markup: $80,000 × 1.20 = $96,000. Gross profit is $16,000; $16,000 ÷ $96,000 = 16.67%. For a 20% gross margin instead, calculate $80,000 ÷ 0.80 = $100,000. The $20,000 gross profit is 20% of sales and 25% of cost.

Prepare the estimate before adding a percentage

Identify quantities, labor hours, material prices, equipment, subcontractor quotations and the costs assigned to this job. Then read whether the question includes or excludes overhead. A correct percentage applied to an incomplete cost base still produces a poor estimate. Do not add an expense twice because it appears in both a subcontractor quote and a separate allowance.

Keep profitability separate from liquidity. Our contractor financial-ratios guide explains working capital and current ratio; this calculation determines the selling price.

Bid bond, performance bond and payment bond

BondMain question it addresses
Bid bondWill the successful bidder execute the contract and furnish the required bonds?
Performance bondWill the contractor perform the contract obligations?
Payment bondWill covered labor and material claims be paid?

The California DGS bidder’s bond connects the successful bid with signing the contract and providing the required performance and payment bonds. Caltrans also distinguishes payment protection from faithful performance. Bond amounts depend on the applicable law and contract; do not assume one percentage fits every project. DGS bidder’s-bond form; Caltrans specifications, §3-1.05.

A contractor license bond is a different requirement. It is not a substitute for every project bond. Review that distinction in our California contractor bonds and insurance guide and CSLB’s bond requirements.

California retention rules: the 2026 distinction

Retention postpones payment of part of an earned amount; it does not reduce the agreed selling price. If a $20,000 progress payment has 5% retention, $1,000 is withheld and $19,000 is paid now. This does not mean the contractor earned a 95% margin.

Public work: Public Contract Code §7201 generally limits retention to 5% of a payment and 5% of the contract price. Exceptions include specified subcontractor bond situations and qualifying substantially complex projects, subject to findings and disclosures before bidding. A public agency cannot simply label every routine job complex. Other project-specific statutes can matter. Statutory framework; official agency application of the complexity exception.

Private work: Civil Code §8811 applies to covered contracts entered into on or after January 1, 2026. The limits are 5% per payment and 5% of the contract price; subcontract retention percentages cannot exceed the owner–direct-contractor percentage. Exceptions include residential projects that are not mixed-use and do not exceed four stories. Another exception concerns a subcontractor failing to furnish required performance and payment bonds after proper written notice at or before the bid request. Do not memorize “private equals 10%.” CSLB’s enacted-law update; official explanation of the exceptions.

Quick answers for exam preparation

Is 20% markup the same as 20% margin?

No. On the same cost, 20% markup gives 16.67% gross margin; 20% margin needs 25% markup.

Does retention pay for the bond?

No. Retention is withheld contract money. A bond is a separate security arrangement; its premium belongs in the relevant cost calculation.

Does every California job have a 5% retention limit?

No. Check the public/private category, contract date, project type and statutory exceptions before applying a percentage.

California Contractor · Law & Business

1 Sample Exam Scenario

Choose your answer before revealing the explanation.

A contractor estimates project cost of sales at $80,000 and wants a gross margin of 20% of the selling price. Assume no other adjustments. What selling price is required?

  1. $96,000
  2. $100,000
  3. $64,000
  4. $84,000
Reveal the correct answer and explanation

Correct answer B: $100,000

Divide cost by the share of the price that must cover cost: $80,000 ÷ (1 − 0.20) = $100,000. The $20,000 gross profit is 20% of the selling price. A is the common 20%-markup trap; C reduces cost instead of calculating a selling price; D applies only 5% markup. This is an original CertiAcademy practice question, not an official CSLB exam question.

Original CertiAcademy practice scenario; not an official CSLB exam question.

Sources