Profit Margin Calculator

Find your margin and markup from cost and price, or the price you need for a target margin.

How it works

Margin and markup both describe profit, but they divide by different things. Margin divides profit by the selling price. Markup divides profit by the cost. The same sale always has a smaller margin than markup.

Choose "Cost and selling price" to see both numbers for a sale you already made. Choose "Cost and the margin I want" to find the price you must charge.

The formula

margin = (price - cost) / price
markup = (price - cost) / cost
price for a target margin = cost / (1 - margin)

Worked example

Cost 800, price 1,000. Profit is 200. Margin is 200 / 1,000 = 20%. Markup is 200 / 800 = 25%. To earn a 30% margin on a cost of 800, the price must be 800 / 0.7 = 1,142.86, not 800 x 1.3.

Good to know

Common questions

Which is better to quote, margin or markup?
Investors and accountants talk in margin. Shops often price by markup. Always say which one you mean.
Can the margin be 100%?
No. That would mean the cost is zero. The tool refuses 100% or more.
What is a good margin?
It depends on the trade. Software can have 80% or more. A grocery shop may live on 10% to 20%. Compare with others in your own line of business.

More in Business.