Profit Margin Calculator
Work out profit, margin and markup from cost and price, or the price you need for a target margin or markup.
Loading tool…
Short answer
Profit Margin Calculator works out profit, gross margin and markup from a cost and a selling price. It can also work backwards to the price you need for a target margin or markup. A 50% markup is only a 33.33% margin.
What is the difference between margin and markup?
Gross margin
Profit as a share of the selling price. Cost 40, price 65: profit 25, margin 38.46%.
Markup
Profit as a share of the cost. The same sale is a 62.5% markup.
Why use Profit Margin Calculator?
- Price correctly. Mixing up margin and markup is a common way to underprice.
- Work backwards. Get the exact price that hits your target margin.
- Any currency. Set your own symbol; amounts show to two decimals.
How to use Profit Margin Calculator, step by step

- Choose what you know in Profit Margin Calculator. Cost and price, cost and target margin, or cost and target markup.
- Enter the numbers. The fields change to match your choice.
- Read price, profit, margin and markup. All four are shown every time.
Frequently asked questions
Can a margin be 100%?
No. That would need an infinite price. Targets must be below 100%.
What if the cost is zero?
Markup is not defined, and the calculator says so.
Is this net profit?
No, gross: it only counts the cost you enter, not overheads or tax.
Looking for the long version? The guides cover each of these jobs in depth.