Profit Margin Calculator
Enter what an item costs you and what you sell it for to see the profit, the margin and the markup. You can also start from a target margin or markup and get the selling price.
What one item costs you.
Margin or markup?
Both use the same profit. Margin divides it by the selling price; markup divides it by the cost. An item that costs 80 and sells for 100 has a profit of 20: a 20% margin but a 25% markup. Margin can never reach 100%, while markup has no upper limit.
About Profit Margin Calculator
Profit Margin Calculator shows how much you make on a sale and expresses it two ways: as a margin and as a markup. It works forwards, from a cost and a selling price, and backwards, from a cost and the margin or markup you want, to give you a selling price.
Margin and markup are not the same
Both start from the same profit: selling price minus cost. The difference is what you divide by.
- Margin = profit ÷ selling price × 100. It tells you what share of each sale is profit.
- Markup = profit ÷ cost × 100. It tells you how much you added on top of what you paid.
Because the selling price is always larger than the cost when you make a profit, the margin is always the smaller percentage. A 30% markup does not give a 30% margin.
Worked examples
- Cost
80, selling price100: profit20.00, margin20%, markup25%. - Cost
60, target margin40%: price = 60 ÷ (1 − 0.40) =100.00. The profit is 40 and the markup is66.67%. - Cost
60, markup50%: price = 60 × 1.5 =90.00. The profit is 30, but the margin is only33.33%. - Cost
120, selling price100: the tool shows a loss of20.00, a margin of-20%and a markup of-16.67%.
Limits that follow from the maths
A margin can never reach 100%, because profit can only equal the whole price if the item cost nothing. The tool therefore asks for a target margin below 100%. Markup has no such ceiling: an item bought for 10 and sold for 50 has a 400% markup. When the cost is 0, markup cannot be calculated and is shown as not defined.
Good to know
- Use the full cost, including delivery or packaging.
- Keep prices consistent: both before tax or both after. To add or remove tax first, use the GST / VAT Calculator.
- Percentages and amounts are shown to two decimal places.
How to use Profit Margin Calculator
- Choose what you know: the selling price, a target margin or a markup.
- Enter the cost and the second value.
- Read the profit, margin, markup and, for the reverse modes, the selling price.
Privacy: how it works
Calculations run in your browser. The amounts you enter are not sent anywhere.
Frequently asked questions
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. Cost 80 and price 100 give a 20% margin but a 25% markup.
Why can a margin not be 100% or more?
Margin is profit ÷ price. Profit can only equal the whole price if the cost is 0, so for any real cost the margin stays below 100%. Markup has no such limit.
Does it include tax or other costs?
No. Use the full cost you want to cover, and enter prices consistently, either both before tax or both after.