Skip to content

Margin Calculator

Enter what an item costs you and what you sell it for to get margin, profit and markup.

What you pay to make or buy one item.

Before tax, after any discount.

Results

Margin (%)
40.00%
Profit (USD)
$40.00
Markup (%)
66.67%
Price $100.00 =Cost $60.00 · 60.00%+Profit $40.00 · 40.00%

Compare scenariosSave up to three versions and compare them

Scenario A

Scenario B

Scenario C

How it works

Margin is profit as a share of the selling price. Markup is profit as a share of cost. When a sale makes a profit, markup is the larger number.

profit = price − cost

margin % = profit × 100 ÷ price

markup % = profit × 100 ÷ cost

price = cost × 100 ÷ (100 − margin %)

cost = price × (100 − margin %) ÷ 100

markup % = margin % × 100 ÷ (100 − margin %)

Worked example

You buy a lamp for $60.00 and sell it for $100.00.

  1. 1Profit100.00 − 60.00 = $40.00
  2. 2Margin40.00 × 100 ÷ 100.00 = 40.00%
  3. 3Markup40.00 × 100 ÷ 60.00 = 66.67%
Margin and markup at a glance
MarginMarkupPrice at $60.00 cost
20%25.00%$75.00
25%33.33%$80.00
30%42.86%$85.71
40%66.67%$100.00
50%100.00%$120.00

Questions

Margin or markup?

Margin is profit as a share of the price. Markup is profit as a share of the cost. The same profit gives a smaller margin than markup, so check which one a number refers to before you compare prices.

Why must the margin be below 100%?

The price formula divides by 100 minus the margin. At 100% or more no price works, so enter a margin below 100%.

How are results rounded?

Every result is rounded once, to 2 decimals, half away from zero. The math before that uses exact decimals, not floating point.