Markup to Margin Calculator for Contractors

This calculator is for planning only. Results depend on the numbers you enter.

Markup and margin both describe profit as a percentage, which is exactly why they get mixed up. Markup measures profit against your cost. Margin measures it against your price. Use one when you mean the other, and every job comes in short of the profit you planned.

This calculator does two things. First, it gives you the price to charge for a target margin, and shows how much you’d lose by adding that same percentage as a markup instead. Second, it converts any markup into its margin, and any margin into the markup you need.

Quick answer: to convert markup to margin, divide markup by (1 + markup). To convert margin to markup, divide margin by (1 − margin). To price a job for a target margin, divide your total cost by (1 − margin). A 20% markup equals only a 16.67% margin; a 20% margin requires a 25% markup.

Price a job for a target margin

Enter your total cost and the margin you want to keep.

$
%

Price to charge

$0

Profit$0
Markup needed on cost0%

Convert markup and margin

Type in either box. The other updates.

%
%

Estimates for planning only. Nothing you type is saved or sent anywhere.

How to use the calculator

Price a job for a target margin

  1. Total job cost: enter everything the job costs you, including labor at your burdened rate, materials, equipment, subcontractors, permits and your share of overhead.
  2. Target profit margin: the percentage of the price you want to keep as profit.

The calculator shows:

  • Price to charge: cost ÷ (1 − margin).
  • Profit in dollars.
  • Markup needed on cost to reach that margin.
  • The common mistake: what happens if you simply add your target percentage to cost.

Convert markup and margin

Type a percentage in either box. If you enter a markup, the calculator shows the margin it produces. If you enter a margin, it shows the markup you need. This is handy when your estimating software asks for a “markup” but you think in margins, or the other way around.

The formulas

Markup = profit ÷ cost

Margin = profit ÷ price

Margin = markup ÷ (1 + markup)

Markup = margin ÷ (1 − margin)

Price = cost ÷ (1 − target margin)

For more background, see these explanations of markup and profit margin.

Quick reference table

MarkupMarginTarget marginMarkup needed
10%9.09%10%11.11%
15%13.04%15%17.65%
20%16.67%20%25.00%
25%20.00%25%33.33%
30%23.08%30%42.86%
40%28.57%40%66.67%
50%33.33%50%100.00%

The gap widens as percentages rise. A 50% margin needs a 100% markup.

Examples

These numbers are illustrative.

Example 1: pricing a job for a 20% margin

  • Total job cost: $1,000
  • Target margin: 20%
  • Price: $1,000 ÷ 0.80 = $1,250
  • Profit: $250
  • Markup needed: $250 ÷ $1,000 = 25%

Example 2: the common mistake

Adding 20% to the same $1,000 cost:

  • Price: $1,000 × 1.20 = $1,200
  • Profit: $200
  • Actual margin: $200 ÷ $1,200 = 16.67%

That’s $50 less on a $1,000 job. Across $500,000 of job costs a year, the same mistake costs about $25,000.

Example 3: converting your software’s markup

Your estimating software applies a 35% markup to all jobs. What margin is that?

35% ÷ 1.35 = 25.93% margin

If your overhead runs 15% of revenue, that leaves roughly 11% as net profit on jobs where the markup is applied to direct costs only.

Direct costs vs. total cost

Be clear about which cost you enter:

  • Total cost (direct costs plus overhead): the margin you calculate is your net margin, your real profit.
  • Direct costs only (labor, materials, equipment, subcontractors): the margin you calculate is your gross margin. It must cover overhead and profit.

Example: if overhead is 15% of revenue and you want a 10% net profit, you need a 25% gross margin when pricing from direct costs. Enter 25% as the target margin with direct costs, not 10%.

Worked example: what the overhead mistake costs

These numbers are illustrative. Direct job costs are $10,000, overhead runs about 15% of revenue and the target net profit is 10%, so the job needs a 25% gross margin.

  • Correct pricing: $10,000 ÷ (1 − 0.25) = $13,333. Overhead (15% of $13,333) is $2,000, which leaves $1,333 of net profit, or 10% of the price.
  • Using a 25% markup instead: $10,000 × 1.25 = $12,500. Overhead (15% of $12,500) is $1,875, which leaves $625 of net profit, or 5% of the price.

The contractor planned a 10% net profit and kept 5%. Half the profit disappeared on a single job because of one formula.

Materials markup vs. job margin

Many contractors mark up materials, often to cover purchasing time, handling, returns and warranty replacements. That’s common practice. But the margin that matters is the margin on the whole job. A healthy materials markup won’t save a job where labor or overhead is underpriced.

Use this calculator on the whole job total, not just on materials.

Discounts and margin

Discounts come straight out of profit. On a job priced for a 20% margin:

  • Price: $1,250, cost $1,000, profit $250.
  • A 10% discount brings the price to $1,125.
  • Profit drops to $125, a 10% margin.

A 10% discount cut profit in half. Before discounting, try reducing scope instead.

When to use markup and when to use margin

  • Use margin to set profit targets, compare jobs and read financial statements. Lenders, accountants and profit and loss statements use margin.
  • Use markup if your estimating tool or pricebook requires it, but convert your target margin to the correct markup first.

Whichever you use, keep it consistent across estimates.

How to set your target margin and use it in every quote

Your target margin should cover three things: your overhead as a percentage of revenue, taken from your profit and loss statement; the net profit you want to keep; and extra room for job types that often run over. Your accountant can help you find your overhead percentage, and the SBA has guidance on managing your business finances.

Then use it the same way on every estimate:

  1. Calculate the direct costs of the job.
  2. Apply your target gross margin, which includes overhead and profit.
  3. Calculate the price: direct costs ÷ (1 − target margin).
  4. Round sensibly and check the price against your market.
  5. Track the actual margin once the job is finished.

Common mistakes

  • Adding your target margin as a markup.
  • Pricing from direct costs with a net margin target.
  • Assuming your software’s “markup” setting is a margin.
  • Discounting without recalculating profit.
  • Applying a materials markup and assuming the job is profitable.

Frequently asked questions

How do I convert markup to margin?
Divide markup by (1 + markup). A 25% markup equals 25 ÷ 1.25 = 20% margin.

How do I convert margin to markup?
Divide margin by (1 − margin). A 20% margin requires 20 ÷ 0.80 = 25% markup.

What price should I charge for a 20% margin?
Divide your total cost by 0.80. A $1,000 cost needs a $1,250 price.

Is a 20% markup the same as a 20% margin?
No. A 20% markup gives a 16.67% margin.

Does this calculator save my numbers?
No. It runs in your browser and doesn’t save or send anything you enter.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top