Skip to content
Sumetrio

Profit margin calculator

Margin and markup are different percentages of different things, and confusing them systematically underprices goods. Whatever you enter, both are shown.

What do you know?

What the item costs you.

What the customer pays, excluding tax.

Result

Profit
40.00
Margin
40%
Markup
66.67%

How this is calculated

margin = (price − cost) ÷ price × 100
markup = (price − cost) ÷ cost × 100
price for a target margin = cost ÷ (1 − margin ÷ 100)

Both measure the same profit; they differ in what they divide it by. Margin is a share of the money coming in, so it can never reach 100%. Markup is a share of what you paid, so it has no upper limit. Because the denominators differ, the same profit always gives a higher markup than margin.

cost
— what you paid for the item
price
— what you sell it for
margin
— profit as a share of the selling price
markup
— profit as a share of the cost

Worked example

An item costs 60 and sells for 100. The profit is 40. As a share of the 100 that came in, the margin is 40%. As a share of the 60 you spent, the markup is 66.7%. Now run it the other way: if you want a 50% margin on a cost of 100, the price is 100 ÷ (1 − 0.50) = 200, which is a 100% markup. Applying a "50% markup" instead would price it at 150, giving a margin of only 33.3%. That one substitution costs a third of the intended profit on every sale.

How to use it

  1. Choose what you already know. Most people have cost and price; pricing a new product means starting from a target instead.
  2. Enter your figures excluding tax, and keep cost and price on the same basis — per unit or per order, not one of each.
  3. Read both margin and markup. If you are quoting a number to someone else, say which one you mean.

Limitations and assumptions

  • This is gross margin on a single item: price minus the direct cost of that item. It does not account for overheads, salaries, shipping, payment fees, returns or tax, so it is not net profit.
  • A margin of 100% or more has no finite selling price, because you would need infinite revenue for cost to be a zero share of it. The tool rejects it rather than returning infinity.
  • With a cost of zero the markup is undefined — an infinite return on nothing — so it is reported as unavailable rather than as a number.
  • Discounts you grant later reduce the realised margin. Model the price you actually receive, not the list price.

Questions

What is the difference between margin and markup?

Margin divides profit by the selling price; markup divides the same profit by the cost. Buy at 60, sell at 100: margin 40%, markup 66.7%. Margin answers "how much of the revenue did I keep"; markup answers "how much did I add to what I paid".

How do I convert a markup into a margin?

margin = markup ÷ (100 + markup) × 100. A 50% markup is 50 ÷ 150 × 100 = 33.3% margin. Going the other way: markup = margin ÷ (100 − margin) × 100.

Why can margin never reach 100%?

Because that would mean the cost is zero relative to the price. Margin is a share of revenue, and profit can only approach but never equal the whole of revenue while the item costs something. Markup has no such ceiling — a 900% markup is simply a tenfold price.

Should I use the price with or without tax?

Without. Sales tax or VAT is collected on behalf of the tax authority and is not your revenue, so including it inflates both figures.

Related calculators

This page has not yet had an editorial review.