Skip to content
See what we’d build
Tools  /  Markup and margin

Markup and margin calculator

Enter the cost and any one of markup, margin or price. See the other two.

Labor, material and anything else the job costs you.

I know the
Margin
20%
Sell price
$1,250.00
Markup
25%
Margin
20%
Gross profit
$250.00
How it’s worked outprice = $1,000.00 × (1 + 25%) = $1,250.00markup = ($1,250.00 − $1,000.00) ÷ $1,000.00 = 25%margin = ($1,250.00 − $1,000.00) ÷ $1,250.00 = 20%
  • Markup divides the profit by the cost. Margin divides it by the price.

Percents are rounded to two places. Prices to the cent.

What are the two formulas?

Markup and margin measure the same profit, the price less the cost. Markup compares it to the cost. Margin compares it to the price.

markup = (price − cost) ÷ cost
margin = (price − cost) ÷ price
price from markup = cost × (1 + markup)
price from margin = cost ÷ (1 − margin)

To turn one into the other: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin).

A worked example

A job costs $8,000.00 in labor and material, and the shop wants a 25% margin. Divide the cost by 1 − 0.25: the price is $10,666.67, a profit of $2,666.67, which is a 33.33% markup.

Mark the same cost up 25% and the price is $10,000.00. The profit is $2,000.00, a 20% margin, and the job brings in $666.67 less than the target.

Common markups and margins

Worked out by the same code as the calculator, rounded to two places.

MarkupSame as margin
10%9.09%
15%13.04%
20%16.67%
25%20%
30%23.08%
40%28.57%
50%33.33%
75%42.86%
100%50%
MarginNeeds markup
10%11.11%
15%17.65%
20%25%
25%33.33%
30%42.86%
35%53.85%
40%66.67%
50%100%

Which one should a quote use?

Either works if everyone in the office means the same thing by it. The mistake is pricing with a markup and reporting a margin, or the other way round. Write down which one your price book uses, and what the cost includes. When a quote turns into a change order, price it the same way.

01  Questions

What people ask next.

What is the difference between markup and margin?

Both measure the same profit. Markup divides it by the cost, and margin divides it by the sell price, so the markup percent is always the larger number.

What margin is a 25% markup?

A 25% markup is a 20% margin. On a $1,000 cost the price is $1,250, and the $250 profit is 20% of the price.

How do I price a job for a target margin?

Divide the cost by one minus the margin. For a 25% margin on a $8,000 cost, divide by 0.75 to get a price of $10,666.67.

Can margin be more than 100%?

No. Margin is profit as a share of the price, and profit can never be more than the whole price. Markup has no upper limit.

Should overhead be in the cost?

Decide once and stay consistent. If the cost is only labor and material, the margin has to cover overhead and profit, so it needs to be higher than if overhead is already in the cost.

Why does using markup in place of margin lose money?

Because the same percent gives a lower price. Marking a cost up 25% earns a 20% margin, not 25%, and the gap grows as the percent rises.