Skip to content
Language:en

Profit margin calculator

Profit, margin and markup from a cost and a price, or the price that gives a target margin or markup.

I know

Runs entirely in your browser. Your files never leave your device.

About this tool

Margin and markup are often confused, and the difference matters when you set prices. Both start from the profit, the selling price minus the cost. The margin divides it by the price, the markup divides it by the cost: an item bought 60 and sold 100 has a 40 % margin but a 67 % markup.

Enter a cost and a price to see both, or start from the margin or the markup you want and the calculator returns the selling price to charge. Useful for shops, freelancers quoting a job, resellers and anyone pricing a product. Prices are taken excluding tax: add VAT or sales tax afterwards with the dedicated calculator.

How it works

  1. Choose what you know besides the cost: price, margin or markup.
  2. Enter the cost and that value.
  3. Read the profit, the margin, the markup and the price.

Profit = price − cost. Margin = profit ÷ price. Markup = profit ÷ cost. Price from a margin = cost ÷ (1 − margin); from a markup = cost × (1 + markup).

Worked example

You buy a lamp for €60 and sell it for €100. The profit is €40: a margin of 40 % (40 ÷ 100) and a markup of 66.7 % (40 ÷ 60).

To earn a 30 % margin on an item that costs you €42, the price must be 42 ÷ (1 − 0.30) = €60, a markup of about 43 %.

Good to know

  • Adding 30 % to the cost does not give a 30 % margin: it gives 23 %. Always say which one you mean.
  • Work prices out excluding VAT, then add the tax at the end.
  • Include shipping, packaging and payment fees in the cost, or the margin will look better than it is.

Frequently asked questions

What is the difference between margin and markup?
Margin is profit as a share of the selling price, markup is profit as a share of the cost. A 50 % markup equals a 33 % margin.
Can a margin be over 100 %?
No, the margin is always below 100 % because profit cannot exceed the price. Markup, however, can be any size.
Should I include VAT?
Use prices excluding tax for both cost and price, since VAT collected is not your money. Add it at the end for the customer price.