PlainCalc

Margin Calculator

Enter what an item costs you and what you sell it for. Margin, markup and profit update as you type.

Profit margin–
Markup
–
Profit per sale
–

Price for a target margin

Selling price needed–

Margin and markup are different

Both describe the same profit, measured against different bases. Margin compares profit with the selling price. Markup compares profit with the cost.

Margin % = (price − cost) ÷ price × 100
Markup % = (price − cost) ÷ cost × 100

Worked example

An item costs 40 and sells for 64. Profit is 24. Margin is 24 ÷ 64 = 37.5%. Markup is 24 ÷ 40 = 60%.

Pricing to a target margin

Price = cost ÷ (1 − margin ÷ 100)

For a 50% margin on a cost of 40, the price is 40 ÷ 0.5 = 80. A common mistake is to add 50% to the cost, which gives 60 and a margin of only 33.3%.

If you charge sales tax or VAT, use prices without tax on both sides.

Common questions

Can margin be more than 100%?

No. Margin is profit as a share of the price, so it stays below 100% unless the cost is zero or negative. Markup has no upper limit.

Is this gross or net margin?

Gross margin, if the cost you enter is the direct cost of the item. To estimate net margin, include overheads in the cost.

How do I convert markup to margin?

Margin = markup ÷ (100 + markup) × 100. A 60% markup is a 37.5% margin.

More calculators