Markup & Margin Calculator

Price your products correctly. Calculate markup from cost, gross margin from selling price, or the selling price you need to hit a target margin.

Your calculator entries stay in this browser.

Markup is based on cost

Markup vs. Margin — Key Difference

Markup is the percentage added to cost. Margin is profit as a percentage of the selling price. A 25% markup does NOT equal a 25% margin — it equals a 20% margin.

Understand the working

The detail behind your answer.

What is the difference between markup and margin?

Markup is profit as a percentage of cost. Margin is profit as a percentage of the selling price. A 25% markup is only a 20% margin.

How do I calculate markup?

((Selling Price - Cost) / Cost) × 100. If cost is $40 and price is $55: (($55 - $40) / $40) × 100 = 37.5% markup.

How do I calculate gross margin?

((Selling Price - Cost) / Selling Price) × 100. If price is $55 and cost is $40: (($55 - $40) / $55) × 100 = 27.3% margin.

What selling price gives me a 40% margin?

Divide your cost by (1 - 0.40). If cost is $60: $60 ÷ 0.60 = $100 selling price.