Profit Margin Calculator

Work out your profit, margin and markup from a cost and a price, or find the price that gives you the margin you want.

Margin and markup from cost and price

—Profit
—Margin
—Markup

Price for a target margin

—

Price for a target markup

—

For information only. Results are estimates based on the numbers you enter and are not financial advice. Check real terms, fees and taxes with your bank or lender.

Margin and markup, with worked examples

Gross profit is the selling price minus the cost of the product. Margin expresses that profit as a percentage of the price: margin = (price − cost) ÷ price. Markup expresses it as a percentage of the cost: markup = (price − cost) ÷ cost. They describe the same sale from two angles, which is why they are so often confused.

Example: a shop buys a lamp for 45 and sells it for 75. The profit is 30. The margin is 30 ÷ 75 = 40%, and the markup is 30 ÷ 45 = 66.7%. If the owner wants a 50% margin on a product that costs 45, the price must be 45 ÷ (1 − 0.50) = 90. A 50% markup, on the other hand, gives 45 × 1.50 = 67.50, which is a margin of only 33.3%.

A useful rule: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin). A 25% markup equals a 20% margin, a 100% markup equals a 50% margin, and a 60% margin requires a 150% markup.

Gross margin only covers the direct cost of the product. Rent, salaries, shipping, payment fees and taxes still have to be paid from it, so the net margin of a business is lower. Enter prices without VAT or sales tax, since the tax is collected for the government and is not part of your profit.

How to use it

  1. To analyse a price, type the cost and the selling price.
  2. To set a price, type the cost and your target margin or markup.
  3. Read the profit, margin and markup in each box.

Frequently asked questions

What is the difference between margin and markup?

Both compare profit with a base. Margin divides the profit by the selling price; markup divides it by the cost. A product that costs 60 and sells for 100 has a 40% margin and a 66.7% markup.

How do I find the price for a 30% margin?

Divide the cost by (1 − 0.30). With a cost of 70, the price is 70 ÷ 0.70 = 100. Adding 30% to the cost (91) would give only a 23% margin.

Can the margin be more than 100%?

No. Margin is profit as a share of the price, so it is always below 100%. Markup has no upper limit: selling at three times the cost is a 200% markup.

More free tools