Skip to content
CalcNova

Profit Margin Calculator

Calculate gross profit, profit margin and markup from your selling price and cost. You can also work backwards to find the selling price that gives a target margin or markup.

For educational and planning purposes only. This is not financial, tax or investment advice.

Result

Profit margin
33.33%
Gross profit
50.00
Markup
50%
Revenue
150.00
Cost
100.00

Overview

Margin and markup are often confused. This calculator shows both side by side so you can see the difference.

Formula

  • Profit = Revenue − Cost
  • Margin % = Profit ÷ Revenue × 100
  • Markup % = Profit ÷ Cost × 100
  • Price for margin m = Cost ÷ (1 − m/100)

Margin expresses profit as a share of the selling price. Markup expresses the same profit as a share of the cost. Because the cost is smaller than the price when you make a profit, markup is always higher than margin for the same item.

Worked examples

Example 1Sell for 150, cost 100

  1. Profit = 150 − 100 = 50
  2. Margin = 50 ÷ 150 × 100 = 33.33%
  3. Markup = 50 ÷ 100 × 100 = 50%

Gross profit 50, margin 33.33%, markup 50%.

Example 2Price for a 30% margin on a cost of 100

  1. Price = 100 ÷ (1 − 0.30)
  2. = 100 ÷ 0.70 = 142.857…

Sell for 142.86 to earn a 30% margin (a 42.86% markup).

Assumptions and limitations

  • This calculates gross margin: only the cost you enter is subtracted. Overheads, taxes and other expenses are not included unless you add them to the cost.
  • Margin is undefined when revenue is 0; markup is undefined when cost is 0.
  • A target margin must be below 100%, because a 100% margin would require a cost of zero.
  • Amounts are currency-neutral and rounded to 2 decimal places for display.

Frequently asked questions

What is the difference between margin and markup?

Both use the same profit, but margin divides it by the selling price and markup divides it by the cost. A product that costs 100 and sells for 150 has a 33.33% margin and a 50% markup.

Can a profit margin be negative?

Yes. If the cost is higher than the selling price, the profit is negative and so is the margin. That means the item is sold at a loss.

What is a good profit margin?

It depends heavily on the industry. Grocery stores often operate on thin margins while software can have very high gross margins. Compare against businesses in your own sector.

Last reviewed . Found a problem? Let us know.

Explore finance calculators