Home ↓
CalculatorsVerified

Business

Profit Margin Calculator

Margin is profit as a share of the selling price. Use this calculator to find the margin on a product you already price, or to set a price that hits a target margin — and see the equivalent markup so you never confuse the two.

¤
¤
%

How to use this calculator

  1. Choose whether you know the price or want to set a price from a target margin.
  2. Enter the cost per unit (everything it costs you to get the product ready to sell).
  3. Enter the selling price or the target margin.

Why margin is the number to watch

Gross margin tells you how much of every sale is left after paying for the goods sold. A product sold for 100 that costs 60 has a 40% margin: 40 of every 100 in revenue is available to pay rent, salaries, marketing and, finally, profit. Retailers, wholesalers and online sellers use margin to set prices, compare products and negotiate with suppliers.

Margin is calculated on the selling price, which is why it can never reach 100%. Markup, the other common measure, is calculated on cost and can exceed 100%. Mixing the two is one of the most expensive pricing mistakes in small businesses: adding a 40% markup gives only a 28.6% margin.

Setting a price from a target margin

If you know the margin you need, divide the cost by one minus that margin: to earn a 40% margin on an item costing 60, the price must be 60 ÷ 0.60 = 100. Switch the calculator to “Price from cost and target margin” to do this instantly. Include every cost of getting the product to the customer — purchase price, shipping in, packaging and payment fees — for a margin you can rely on.

Formula & method

Margin = (Price − Cost) ÷ Price × 100Price = Cost ÷ (1 − Margin)Markup = (Price − Cost) ÷ Cost × 100

Margin can never reach 100%, because that would require a cost of zero. Markup has no upper limit.

Worked example

Cost 60, price 100

  1. Profit = 100 − 60 = 40
  2. Margin = 40 ÷ 100 = 40%
  3. Markup = 40 ÷ 60 = 66.67%

Answer: 40% margin, which is a 66.67% markup.

Official sources

Last updated:

Frequently asked questions

What is the difference between margin and markup?

Both use the same profit, but margin divides it by the price and markup divides it by the cost. A 50% markup is only a 33.3% margin.

What is a good profit margin?

It depends entirely on the industry: grocery retail often works on single-digit net margins, while software can exceed 70% gross margin. Compare against businesses like yours.

Is gross margin the same as net margin?

No. Gross margin subtracts only the cost of goods; net margin subtracts all expenses, including overheads and taxes.

Should VAT be included in the price?

No. Calculate margin on prices and costs excluding VAT or sales tax.

How do I convert margin to markup?

Markup = margin ÷ (1 − margin). A 40% margin equals a 66.7% markup.