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.
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:
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.
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) |
Percentages are rounded to one decimal place.
| 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% |
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 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.
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.
There are two consistent ways to get overhead into a price. Pick one:
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.
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%.
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.
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.
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.
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.
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.
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.
An estimate prices the job you expected. The margin you earned comes from the job you did.
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.
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.
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.
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.
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.