Guide for every trade

Markup vs Margin: The Difference That Costs Contractors Money

Updated · 12 min read

The short answer

Markup is profit as a percentage of your cost. Margin is the same profit as a percentage of the selling price. On any profitable job the price is bigger than the cost, so margin is always the smaller number: a 25% markup is a 20% margin, 50% is 33.3% and 100% is 50%. The expensive mistake is adding your target margin as a markup. To price for a margin, divide your cost by 1 minus the margin.

Markup and margin divide the same profit by different numbers

Both numbers start from the same dollars: the price minus the cost, which is your gross profit on the job. Markup divides that profit by the cost. Gross margin divides it by the price. Same dollars, different denominator.

Example: A water heater replacement costs you $1,000 in the heater, fittings, permit and loaded labor, and you charge $1,500. Your gross profit is $500. Markup: $500 ÷ $1,000 = 50%. Margin: $500 ÷ $1,500 = 33.3%. One job, one profit, two percentages.

Three things follow from the math:

  • Margin is always the smaller number on a profitable job, because you divide the same profit by the bigger number.
  • Margin can never reach 100%, because that would mean the job cost nothing. Markup has no ceiling: for example, tripling a part's cost is a 200% markup, which is a 66.7% margin.
  • Your books speak margin. Your profit and loss statement measures gross profit against revenue, which is the price side, and commissions, card fees and discounts are figured on the price as well. Set your targets as margins so they match what you'll measure, and work out any markup or multiplier from them.

The formulas

Write percentages as decimals in the math: for example, 40% is 0.40.

To find Formula
Gross profit Price minus cost
Markup Gross profit ÷ cost
Margin Gross profit ÷ price
Price from a markup Cost × (1 + markup)
Price from a target margin Cost ÷ (1 minus margin)
Margin from a markup Markup ÷ (1 + markup)
Markup from a margin Margin ÷ (1 minus margin)
Cost multiplier for a margin 1 ÷ (1 minus margin)

The one to memorize is price from a target margin. Say you need a 40% margin: divide the cost by 0.60. For 35%, divide by 0.65. If you'd rather not do the division on a job site, the free profit margin calculator does it.

In a spreadsheet

Put the job cost in A2 and the target margin in B2 as a decimal or a percent, for example 0.35 or 35%. Then fill in:

Cell Shows Formula
C2 Price for the target margin =A2/(1-B2)
D2 Margin check =(C2-A2)/C2
E2 Markup that price works out to =(C2-A2)/A2
F2 Commission and card fee rates charged on the price Type it, like 0.08
G2 Price that still keeps the target margin after F2 =A2/(1-B2-F2)

Markup to margin conversion tables

Percentages are rounded to one decimal place.

Markup you add, margin you keep

Markup on cost Same as multiplying cost by Margin you keep
10% 1.10 9.1%
15% 1.15 13.0%
20% 1.20 16.7%
25% 1.25 20.0%
30% 1.30 23.1%
35% 1.35 25.9%
40% 1.40 28.6%
50% 1.50 33.3%
60% 1.60 37.5%
75% 1.75 42.9%
100% 2.00 50.0%
150% 2.50 60.0%
200% 3.00 66.7%
300% 4.00 75.0%

Margin you need, markup to add

The divide-by column is exact, so use it when you price. Multipliers are rounded to three decimals.

Margin on price Divide cost by Or multiply cost by Same as a markup of
10% 0.90 1.111 11.1%
15% 0.85 1.176 17.6%
20% 0.80 1.250 25.0%
25% 0.75 1.333 33.3%
30% 0.70 1.429 42.9%
35% 0.65 1.538 53.8%
40% 0.60 1.667 66.7%
45% 0.55 1.818 81.8%
50% 0.50 2.000 100.0%
60% 0.40 2.500 150.0%
70% 0.30 3.333 233.3%

The mistake that costs contractors money

The expensive mix-up is using your margin target as a markup. Say you decide you need a 40% margin and then add 40% to your cost: you end up with a 28.6% margin, and the gap grows as the target rises.

Example: Here's what the mix-up does to $10,000 of job cost at common targets.

Margin you meant Priced with that markup Priced for that margin Short by Margin you keep
20% $12,000 $12,500 $500 16.7%
25% $12,500 $13,333 $833 20.0%
30% $13,000 $14,286 $1,286 23.1%
35% $13,500 $15,385 $1,885 25.9%
40% $14,000 $16,667 $2,667 28.6%
50% $15,000 $20,000 $5,000 33.3%

There's a rule hidden in that table: adding your target margin as a markup costs you that same percentage of the gross profit you planned. For example, aim for 40% with a 40% markup and you keep 40% less gross profit than you planned on. Overhead doesn't shrink to match, so the whole loss comes out of net profit.

Example: A roofing company plans a year with $650,000 of job costs (materials, crew labor, dumpsters and permits) and $250,000 of overhead. Priced for a 35% margin, that's $650,000 ÷ 0.65 = $1,000,000 of revenue, $350,000 of gross profit and $100,000 of net profit. Priced with a 35% markup instead, revenue is $877,500 and gross profit is $227,500, so after overhead the year ends with a $22,500 loss. Same crews, same roofs. The numbers are made up for illustration.

Check your own pricing for it

  1. Find where your prices come from: price book multipliers, a markup setting in your estimating software, or the percentage you add in your head.
  2. Write down the margin you think you're earning.
  3. Pull five recent jobs. For each, divide the gross profit (price minus cost) by the price.
  4. If they land near the first table's "margin you keep" figure (for example, 28.6% when you meant 40%), you've been adding your margin as a markup. Replace each multiplier with 1 ÷ (1 minus the target margin), such as 1.667 instead of 1.40.

Find your target margin in your own numbers

Your target gross margin is the share of each sales dollar that has to be left after job costs to pay overhead and leave a profit:

Target gross margin = (annual overhead + the net profit you want) ÷ annual revenue

Take the numbers from a full year of your profit and loss statement, so slow and busy months both count. Overhead is every cost not tied to one job: office and shop, insurance, vehicles and fuel not charged to jobs, software, marketing, and pay for anyone who doesn't bill hours. Put your own pay somewhere too: field hours in job labor, office hours in overhead. If it's in neither, the profit line has to cover it.

Example: An HVAC company's profit and loss statement for last year shows $800,000 of revenue and $200,000 of overhead, which is 25% of revenue. The owner wants a 10% net profit, so the target gross margin is 25% + 10% = 35%. Every job's direct cost gets divided by 0.65 (a 1.538 multiplier, or a 53.8% markup). A 35% markup would leave a 25.9% margin, barely enough to cover overhead. The numbers are made up for illustration.

Start with one target for the whole business. Once your job costs are reliable, you can vary it by type of work (lower on equipment, higher on service labor) as long as the mix still reaches the overall target.

Don't count overhead twice, or not at all

There are two consistent ways to get overhead into a price. Pick one:

  • Job costs only, divided by 1 minus your target gross margin, which already includes overhead.
  • Job costs plus an overhead share, divided by 1 minus your target net margin.

Mixing them either charges overhead twice, which loses you jobs, or never charges it, which loses you money.

Example: A pressure washing company's overhead runs 30% of revenue and the owner wants a 10% net profit, so the gross target is 40%. A house wash and driveway has $300 of job cost in crew time, chemicals and fuel. Job cost alone: $300 ÷ 0.60 = $500. Job cost plus a $150 overhead share (30% of that $500): $450 ÷ 0.90 = $500. Same price either way. The mixes go wrong: $450 ÷ 0.60 = $750 charges overhead twice, and $300 ÷ 0.90 = $333 never charges it. The numbers are made up for illustration.

Apply it to materials, labor and equipment

Materials

Start from landed cost: the supplier's price plus any sales tax you pay on it, delivery, and an allowance for what gets returned, damaged or lost. Then price to the margin you need instead of a habit markup.

One percentage across every part fails at both ends: on a cheap part it doesn't pay for stocking and tracking it, and on an expensive one it can put you well above a price the customer can look up. Use a sliding scale instead, with a higher margin on small parts and a lower one on big-ticket items, and check the whole job against your target. How to price plumbing jobs has a worked sliding scale. Price book multipliers convert with the first table: for example, 3.00 is a 66.7% margin and 1.50 is 33.3%.

Labor

Price labor from what an hour costs you, not what you pay per hour. The loaded cost of a billable hour includes wages, payroll taxes, workers' comp, benefits and the paid hours nobody is billed for (drive time, shop time, training), spread over the hours you do bill. Then price the hour to your gross margin target like any other job cost. How to set your labor rate builds the rate the other consistent way, with overhead added to the hourly cost and a net profit target; either works if you don't mix them.

Example: An electrical contractor pays a journeyman $30 an hour, and with payroll taxes, workers' comp and benefits each paid hour costs $40. Six of every eight paid hours get billed, so a billable hour costs $40 × 8 ÷ 6 = $53.33. For a 45% margin on labor: $53.33 ÷ 0.55 = $96.97, so $97 an hour. Billing double the wage, $60 an hour, looks like a 100% markup but leaves an 11.1% margin on the hour. The numbers are made up for illustration.

Subcontractors

A sub's invoice is a job cost like any other: the roofer's gutter sub, the electrician on an HVAC change-out, the excavator on a sewer line. You still sell and coordinate the work and answer to the customer if it goes wrong, so price it to a margin too, even one below your labor margin.

Big-ticket equipment and the blended margin

When equipment is most of a job's cost (an HVAC system, a solar array, a standby generator), a full margin on it can price you out, so you may use a lower margin on equipment and a higher one on labor. That works only if the whole job still reaches your target. Check with total gross profit ÷ total price, never by averaging line percentages: a big low-margin line drags the job down more than the average shows. How to price HVAC jobs walks through a full replacement.

Example: An HVAC replacement has $6,000 of equipment priced at a 20% margin ($7,500) and $2,000 of labor and materials priced at a 50% margin ($4,000). The average of 20% and 50% is 35%, the company's target. The job's real margin is $3,500 of gross profit ÷ $11,500 = 30.4%. Hitting 35% takes $8,000 ÷ 0.65 = $12,308, so the quote is $808 short. The numbers are made up for illustration.

Price any job to a target margin

  1. List every direct cost. Materials at landed cost, labor hours at loaded cost, subcontractors, equipment rental, permits, disposal and travel.
  2. Take the target margin for this kind of work from your overhead and profit math.
  3. Divide. Price = total cost ÷ (1 minus target margin).
  4. Take costs charged on the price out of the divisor too. A sales commission, a card processing fee or a lender fee on a financed job grows with the price, so price = cost ÷ (1 minus margin minus those rates). Adding them to cost first still comes up short, because the fee is figured on the higher price.
  5. Round up, then compare with the market. Round to a clean number, never down past your target. If the market sits far below you, look for a cost or scope problem before you cut the margin.
  6. Check it backward. Gross profit ÷ price should meet or beat the target.
  7. Compare after the job, using the checks below.

Example: A solar installer's residential job has $15,000 of direct cost, a 25% target margin and an 8% sales commission paid on the contract price. Dividing by 0.75 gives $20,000, but the $1,600 commission leaves $3,400, a 17% margin. Dividing by 1 minus 0.25 minus 0.08, which is 0.67, gives $22,388. The commission is then $1,791, and $5,597 is left: the full 25%. The numbers are made up for illustration.

Discounts come straight out of margin

The job costs the same whether you discount it or not, so every dollar of discount comes out of gross profit. For example, a 10% discount on a 40% margin job leaves a 33.3% margin, and the gross profit drops by a quarter.

Discount From a 30% margin From a 40% margin From a 50% margin
5% 26.3%, 20% more jobs 36.8%, 14.3% more jobs 47.4%, 11.1% more jobs
10% 22.2%, 50% more jobs 33.3%, 33.3% more jobs 44.4%, 25% more jobs
15% 17.6%, 100% more jobs 29.4%, 60% more jobs 41.2%, 42.9% more jobs
20% 12.5%, 200% more jobs 25.0%, 100% more jobs 37.5%, 66.7% more jobs

Each cell shows the margin left after the discount, then how many more jobs you'd have to sell at that discount to earn the same gross profit dollars.

Example: A detailer sells a ceramic coating package for $1,200 with $720 of cost in labor and product: a 40% margin and $480 of gross profit. At 10% off, the price is $1,080 and the gross profit is $360. Three full-price coatings earn $1,440 of gross profit; at the discount, it takes four. The numbers are made up for illustration.

When a customer asks for a lower price, trade scope instead of margin:

"I can't lower the price on the same work, but I can get you closer to your number. If we [do a one-step polish instead of two / save the gutters for the next visit / go with the standard model], the price comes to $[amount]. Would that work for you?"

If you do discount (a slow week, a neighbor of a current job, a repeat customer), set the limit in advance from the table above, not in the driveway.

Contracts and estimates written as markups

Some prices are stated as markups on purpose: time-and-materials work billed as materials at cost plus a percentage, cost-plus contracts, and any insurance estimate that adds overhead and profit as percentages of the line items. Convert them to margin before you agree. For example, cost plus 15% is a 13.0% margin on those costs, and cost plus 25% is a 20% margin.

Example: Say an insurance estimate on a roof adds 10% overhead and 10% profit to $10,000 of line items, for $12,000. That's a 20% markup on the line items, a 16.7% margin. If profit is figured on top of overhead ($10,000 × 1.10 × 1.10 = $12,100), it's a 21% markup and a 17.4% margin. Your real margin depends on what the work costs you against those line item prices, so job-cost the claim like any other job. The numbers are made up for illustration.

Check the margin you actually earned

An estimate prices the job you expected. The margin you earned comes from the job you did.

  • Every job: (final price minus actual cost) ÷ final price, next to the margin on the estimate. That comparison is job costing, and it shows where estimates run over: labor hours, extra trips, missed materials, callbacks or extras nobody approved.
  • Every month: gross profit ÷ revenue from your profit and loss statement, against your target.
  • Every year, and when overhead changes: rerun the target margin math. A new truck, an office hire or a bigger marketing budget all raise the margin your jobs need.

Watch dollars as well as percentages. A high margin on a small job can earn less than a modest margin on a big one, so divide each job's gross profit by the crew days it took. That number shows which work deserves your schedule.

Redline, which is chat-first field service software, includes job costing for the per-job comparison.

Markup vs margin cheat sheet

  • Markup = gross profit ÷ cost. Margin = gross profit ÷ price. Set targets as margins.
  • Price = cost ÷ (1 minus margin), with costs charged on the price also taken out of the divisor.
  • Adding your margin as a markup costs you that same share of your planned gross profit.
  • Judge each job by total gross profit ÷ total price, then job-cost it when it's done.

Common questions

What margin should a contractor aim for?

There's no single right number, because the margin has to pay your own overhead and profit. Work it out from a full year of your profit and loss statement: overhead as a share of revenue plus the net profit you want is the gross margin your jobs need to average. Recheck it every year and whenever overhead changes, such as a new truck or an office hire.

Is markup ever the right number to use?

As a shortcut, yes. A multiplier in a price book is quicker than dividing on a phone, and a time-and-materials or cost-plus contract may state its fee as a markup. Work the multiplier out from your margin target (1 divided by 1 minus the margin) instead of reusing the margin number, and convert any markup in a contract back to margin before you sign it.

What do I say when a customer finds the part cheaper online?

Try: "That price is for the part in a box. Ours includes having the right part on the truck today, installing it and standing behind the repair. If you'd rather supply the part, we can install it at our labor rate, but our warranty would cover our work only." If you accept customer-supplied parts, price that labor to carry the gross profit the part would have earned.

Why are my actual margins lower than my estimates?

If the price math was right, the gap is in the costs or in the price you collected. Look for labor hours over the estimate, supply-house runs, materials that weren't on the estimate, callbacks, discounts, card fees and extra work done without a signed change order. Comparing estimated and actual costs on each finished job shows which one it is.

How to Get Paid Faster as a ContractorHow contractors get paid sooner: payment terms set at booking, invoices sent the day the job ends, pay links, deposits, progress billing and reminders.How Much Deposit Should a Contractor Ask For?How to size a contractor deposit from what you'd lose if the customer cancels, check state limits and cancellation rights, and write terms customers sign.How to Follow Up on Quotes Without Being PushyA quote follow-up plan for contractors: a cadence by job size, text and call scripts for each touch, honest options, when to stop and how to track close rate.How to Get More Reviews LegallyGet more reviews without breaking FTC or Google rules: ask every customer at the right moment, use these scripts, offer nothing, and answer every review.How to Read a Profit and Loss Statement for ContractorsRead a contractor P&L line by line: revenue, job costs, gross margin, overhead and net profit, plus cash vs accrual and a 30-minute monthly review.How to Set Your Labor RateBuild your labor rate from real costs: billable hours, payroll burden, overhead and profit, with worked examples from HVAC, roofing, plumbing and other trades.How to Handle Change OrdersA contractor's process for change orders: the contract clause, what to say on site, what the form must include, how to price changes and how to bill them.How to Collect Overdue InvoicesA contractor's plan for past-due invoices: a reminder schedule, a call script, payment plans, a final notice letter, late fees, liens and small claims.

All guides · Contractor glossary

Guides by trade