Pricing math

Markup and margin calculator

Type your cost, then any one of markup, margin, or selling price. The other two fill in. Markup is figured on what you paid; margin is figured on what the customer pays, so the same dollars give two different percentages.

Your numbers

Then type one of these

Results

Selling price
$300.00
Profit
$100.00
Markup
50.0%
Margin
33.3%

Markup = profit ÷ cost. Margin = profit ÷ price. This is gross margin on this one cost line. Labor, drive time, and overhead still have to come out of it, so check the whole ticket in the job profitability calculator.

Common markups and the margin each gives

Prices and profit use your cost of $200.00.

MarkupMarginPriceProfit
25%20.0%$250.00$50.00
33%24.8%$266.00$66.00
50%33.3%$300.00$100.00
67%40.1%$334.00$134.00
100%50.0%$400.00$200.00
150%60.0%$500.00$300.00
200%66.7%$600.00$400.00

How markup and margin are worked out

Both numbers describe the same profit dollars. The only difference is what you divide by. Markup divides by your cost. Margin divides by the price. Because the price is always bigger than the cost, the margin is always the smaller percentage.

  • Profit = price − cost.
  • Markup = profit ÷ cost.
  • Margin = profit ÷ price.
  • Margin from markup = markup ÷ (1 + markup). A 50% markup is 0.5 ÷ 1.5 = 33.3% margin.
  • Markup from margin = margin ÷ (1 − margin). A 40% margin needs 0.4 ÷ 0.6 = 66.7% markup.
  • Price from margin = cost ÷ (1 − margin). A $200 part at 40% margin is $200 ÷ 0.6 = $333.33.

Margin can never reach 100%, because that would mean the item cost you nothing. Markup has no ceiling. That is why the calculator will refuse a 100% margin but happily take a 300% markup.

Worked example: the $200 part

You want to keep half of what you charge for parts, so you tell the office to “put 50% on everything.” Here is what that does to a part that cost you $200, and what the price should have been.

LineMathAmount
Your cost$200.00
Price at 50% markup$200 × 1.5$300.00
Profit$300 − $200$100.00
Margin you actually got$100 ÷ $30033.3%
Price for a 50% margin$200 ÷ (1 − 0.50)$400.00
Profit at that price$400 − $200$200.00
Markup it takes$200 ÷ $200100.0%

The gap is $100 on one part. If you buy $40,000 of parts and equipment a year, a 50% markup brings in $20,000 of gross profit. The 50% margin you meant brings in $40,000. Same supplier, same jobs, same hours.

How to use the number on real tickets

  • Set your target as a margin, then convert. Margin is the share of each invoice dollar you keep, which is how your profit and loss statement reads. Pick the margin, then use the table above to find the markup that gets you there.
  • Give the office one markup, not a feeling. If the target is 40% on parts, the rule is “cost × 1.67,” not “add 40%.” Write it on the price sheet.
  • Mark up at your real cost. Use what you paid after discounts, plus freight and the trip to the supply house if you made one for this job.
  • Remember parts margin is not job margin. A healthy markup on materials still loses money if labor, drive time, and overhead are underpriced. Run the whole ticket through the job profitability calculator to see the net.
  • Tier it if you need to. Cheap fittings can carry a high markup; a $3,000 condenser usually cannot. See how to set a material markup that hits your target margin.

For the longer version of why this mix-up costs shops money, read markup vs margin: why confusing them costs money. For what to aim for on the whole job, see what a good profit margin is for trade contractors.

Where shops get it wrong

  • Adding the margin percent to cost. “We run 35% margin” turns into cost × 1.35 at the counter. That is a 25.9% margin. Over a year of parts, the difference is real money you thought you had.
  • Discounting off the price, then judging by markup. A 10% discount on a part marked up 50% does not leave 40% markup. The price drops from $300 to $270, profit drops from $100 to $70, and the margin falls from 33.3% to 25.9%. Run discounts through the price field above before you agree to them.
  • Using list price as cost. If you mark up from the supplier’s list instead of what you paid, your markup looks lower than it is on some items and higher on others. Markup only means something on your real cost.
  • One markup for everything. A flat markup can be fine on small parts and price you out of big equipment. Most shops step it down as the cost goes up.

Questions owners ask

What markup gives a 50% margin?

A 100% markup. You double your cost: a $200 part sells for $400, you keep $200, and $200 is half of $400. A 50% markup only gives a 33.3% margin.

Is a 30% markup the same as a 30% margin?

No. A 30% markup is a 23.1% margin. To keep 30% of the price you need a 42.9% markup. The markup is always the bigger number because it is divided by the smaller one, your cost.

Should I price with markup or margin?

Set your goal as a margin, because that is the share of each invoice you keep and how your books report it. Then price with the markup that produces that margin, since markup is easier to apply to a cost at the counter.

Want these numbers from your real jobs?

A calculator answers one question at a time. MarginMate logs each job from your phone and shows profit, margin, and profit per hour on every ticket. Keep Jobber or QuickBooks for invoicing.

Get early access

More free calculators