Skip to content
Finance metrics

Margin vs markup: the difference, and the conversion table

Margin vs markup, settled: both formulas, a checked conversion table, and the pricing error that quietly costs you dollars per unit.

ERPray teamUpdated 7 min read
Short answer

Margin is profit as a percentage of price; markup is profit as a percentage of cost. Margin = (price − cost) ÷ price. Markup = (price − cost) ÷ cost. On a $100 price with $60 cost, the $40 profit is a 40% margin and a 66.7% markup — the same money, two denominators.

Key takeaways

  • Margin divides profit by price. Markup divides the same profit by cost. The dollar profit is identical; only the denominator changes.
  • Markup = margin ÷ (1 − margin), and margin = markup ÷ (1 + markup). A 40% margin is a 66.7% markup; a 50% markup is a 33.3% margin.
  • Markup is always the larger number. Applying a markup percentage when you meant margin under-prices every unit — at a 30% target the shortfall is 6.9 margin points.
  • A 10% discount on a 40% margin item cuts gross profit by 25% and needs 33.3% more volume to break even on profit dollars.
  • Pick one convention, write it into the item pricing setup, and make sure everyone knows which number the ERP field holds.

The margin vs markup confusion is the most expensive arithmetic mistake in mid-market pricing. It is not a hard concept. It is a quiet one: both numbers describe the same dollar of profit, both are quoted as percentages, and nobody notices the mix-up until a year of gross margin comes in a few points light. If someone in your business says "we price at 30%", you do not yet know what they charge.

Gross margin
Profit expressed as a percentage of the selling price. It answers: of every dollar the customer pays, how many cents do we keep? Margin can never reach 100%, because profit can never exceed price.
Markup
The same profit expressed as a percentage of cost. It answers: by how much do we uplift cost to get to price? Markup has no ceiling — a 300% markup is perfectly ordinary in some categories.

Margin vs markup: the two formulas

Gross profit = Price − Cost

Margin % = (Price − Cost) ÷ Price
Markup % = (Price − Cost) ÷ Cost
Same numerator. Different denominator. That is the whole difference.

Work an example all the way through. You buy an item for $60 and sell it for $100.

  • Gross profit = $100 − $60 = $40
  • Margin = $40 ÷ $100 = 0.40 = 40.0%
  • Markup = $40 ÷ $60 = 0.6667 = 66.7%

Both statements are true at once: this item carries a 40% margin and a 66.7% markup. Interpretation: 40 cents of every sales dollar stays with you, and you uplift cost by two-thirds to reach the shelf price. Because cost is always smaller than price on a profitable item, markup is always the bigger percentage. If someone quotes you a percentage that is larger than you expected, they are probably quoting markup.

The conversion formulas

You can move between the two without knowing either price or cost. These four lines cover every conversion you will ever need.

Markup = Margin ÷ (1 − Margin)
Margin = Markup ÷ (1 + Markup)

Price from a target margin  = Cost ÷ (1 − Margin)
Price from a target markup  = Cost × (1 + Markup)
The two conversions, and the two pricing formulas they imply

Check the first one on the example above: margin 0.40 ÷ (1 − 0.40) = 0.40 ÷ 0.60 = 0.6667, so 66.7% markup. Check the second in reverse: 0.6667 ÷ 1.6667 = 0.40, so 40% margin. Now price from a target: cost $18.40 at a 42% target margin gives $18.40 ÷ 0.58 = $31.72. Verify it — profit is $31.72 − $18.40 = $13.32, and $13.32 ÷ $31.72 = 42.0%. The equivalent markup is 0.42 ÷ 0.58 = 72.4%, and $18.40 × 1.724 = $31.72. The two routes agree, as they must.

Free calculator
Margin vs markup calculator

Enter any two of price, cost, margin or markup and get the other two, plus the conversion table for your own numbers.

Margin to markup conversion table

The column that saves the most time is the third: the number you multiply cost by to hit the target margin. Price = cost ÷ (1 − margin) is the same as cost × the multiplier.

Gross marginEquivalent markupMultiply cost byPrice if cost is $60
10%11.1%1.111$66.67
15%17.6%1.176$70.59
20%25.0%1.250$75.00
25%33.3%1.333$80.00
30%42.9%1.429$85.71
33.3%50.0%1.500$90.00
35%53.8%1.538$92.31
40%66.7%1.667$100.00
45%81.8%1.818$109.09
50%100.0%2.000$120.00
60%150.0%2.500$150.00
66.7%200.0%3.000$180.00
75%300.0%4.000$240.00
Every row: markup = margin ÷ (1 − margin), multiplier = 1 ÷ (1 − margin). The three memorable anchors are 20% margin = 25% markup, 33.3% margin = 50% markup, 50% margin = 100% markup.

Markup to margin conversion table

Read this direction when a supplier, a rep or a legacy price list gives you a markup and you need to know what margin it actually delivers.

MarkupResulting marginPrice if cost is $60
10%9.1%$66.00
20%16.7%$72.00
25%20.0%$75.00
30%23.1%$78.00
40%28.6%$84.00
50%33.3%$90.00
60%37.5%$96.00
75%42.9%$105.00
100%50.0%$120.00
150%60.0%$150.00
200%66.7%$180.00
Every row: margin = markup ÷ (1 + markup). A 100% markup is only a 50% margin — doubling cost keeps half the sales dollar, not all of it.

The error, quantified

The mistake is almost always the same shape. Someone is told to hit a 30% margin, opens the item record, and types 30 into a field that multiplies cost. Here is exactly what that costs at each target.

Target marginMarkup wrongly appliedMargin you actually getShortfallMarkup you needed
20%20%16.7%3.3 pts25.0%
25%25%20.0%5.0 pts33.3%
30%30%23.1%6.9 pts42.9%
40%40%28.6%11.4 pts66.7%
50%50%33.3%16.7 pts100.0%
The gap widens as the target rises. At a 50% margin target, applying 50% as a markup delivers only a third of the sales dollar.

Put money on it. Cost is $70 and the target is a 30% margin. Done wrong: $70 × 1.30 = $91, profit $21, margin $21 ÷ $91 = 23.1%. Done right: $70 ÷ 0.70 = $100, profit $30, margin 30.0%. The difference is $9 per unit. At 12,000 units a year that is 12,000 × $9 = $108,000 of gross profit that never existed, on a product line everyone believed was priced correctly.

What a discount does to margin

Once you have the margin figure, discounting stops feeling free. Take the $100 price and $60 cost again. A discount comes entirely out of the profit, because cost does not move.

Discount off listNet priceGross profitMarginExtra volume needed to hold profit
0%$100.00$40.0040.0%
5%$95.00$35.0036.8%+14.3%
10%$90.00$30.0033.3%+33.3%
15%$85.00$25.0029.4%+60.0%
20%$80.00$20.0025.0%+100.0%
25%$75.00$15.0020.0%+166.7%
Volume needed = original profit ÷ new profit − 1. At 10% off, $40 ÷ $30 = 1.333, so you need a third more units to earn the same dollars.

That last column is the sentence to bring to a pricing meeting. A 10% discount is not a 10% problem; it removes a quarter of the gross profit on the line. When discounts stack — distributor discount, then volume tier, then a promotional percentage — the erosion compounds faster than people expect, which is worth running through the discount cascade calculator before you agree the chain.

Which one should you actually use

  • Report in margin. Margin ties directly to the income statement: gross profit ÷ revenue is a margin. Every external comparison, budget line and board pack is in margin terms.
  • Price in markup, if that is how your buyers think. Distribution and trade categories often set price as a cost uplift because cost is the number in front of them. That is fine, as long as the target is derived from a margin goal using the conversion, not copied from it.
  • Never mix them in one document. A price list with a "30%" column that means markup on some lines and margin on others is unauditable. Label the column with the word, not just the percent sign.
  • Decide the cost basis before you argue about the percentage. Margin on purchase price, on landed cost, and on fully absorbed standard cost give three different answers for the same item. Freight and duty alone can move a margin by several points.

Where ERP pricing fields go wrong

The formulas are easy; the field semantics are where the money leaks. Four things to check in your item and pricing setup:

  • Which cost does the pricing rule read? Standard cost, average cost, last purchase price and item defined cost usually all exist on the record, and they rarely agree. A markup rule pointed at last purchase price re-prices your catalogue every time a supplier invoice lands.
  • Is the uplift a markup or a margin? Many systems express derived price levels as "markup/discount %" off a base. That is a cost multiplier. Feeding it a margin target under-prices every item on the level.
  • Is landed cost in the cost? If duty, freight and brokerage sit in a separate expense account rather than in item cost, every reported item margin is overstated — often by more than the pricing error you are hunting.
  • Does reported item margin reconcile to the GL? Item-level margin is computed from item cost at the time of the transaction; GL margin includes purchase price variance, revaluations, scrap and freight-in. A persistent gap between the two is a costing hygiene problem, not a rounding issue — reporting on item profitability walks through why the two figures diverge.

Where margin sits with the rest of your pricing maths

Margin percentage is the entry point, not the destination. Contribution margin, which subtracts all variable costs rather than just COGS, is what you need for a break-even analysis or a decision about which line to push — the contribution margin calculator separates the two. And when blended margin moves without any individual price changing, the cause is mix, which is what price volume mix analysis is for.

For the plain revenue-minus-COGS view across a product line or a period, the gross margin calculator gives margin, markup, margin per unit and the price required for a target margin from one set of inputs.

Getting real margin by item out of your ERP

The arithmetic takes seconds. Getting trustworthy inputs takes a week: item cost on the right basis, freight allocated, credit notes netted, and the whole thing sliced by customer, channel and period. In most ERPs that is a saved search, an export, a pivot table, and an argument about which cost column is correct.

This is the class of question answers directly. Ask "what was gross margin by item category last quarter, using landed cost, excluding intercompany?" and get the number computed live from your own account, with the query shown underneath so you can check which cost field it used instead of taking the percentage on faith.

Frequently asked questions

What is the difference between margin and markup?

Both describe the same gross profit, but divide it by different things. Margin divides profit by the selling price; markup divides profit by cost. On a $100 sale costing $60, the $40 profit is a 40% margin and a 66.7% markup. Markup is always the larger figure on a profitable item.

How do you convert markup to margin?

Margin = markup ÷ (1 + markup). A 25% markup is 0.25 ÷ 1.25 = 20% margin. A 50% markup is 0.50 ÷ 1.50 = 33.3% margin. A 100% markup is 0.50, so 50% margin. Going the other way, markup = margin ÷ (1 − margin), so a 40% margin needs a 66.7% markup.

Is a 50% markup the same as a 50% margin?

No. A 50% markup on $60 cost gives a $90 price and $30 profit, which is a 33.3% margin. To reach a 50% margin on that same cost you need a 100% markup and a $120 price. Treating the two as equivalent under-prices the item by $30, a third of the intended profit.

How do I price an item to hit a target gross margin?

Divide cost by one minus the target margin: price = cost ÷ (1 − margin). For a 35% margin on $18.40 cost, that is 18.40 ÷ 0.65 = $28.31. Check it: profit is $9.91, and 9.91 ÷ 28.31 = 35.0%. Never multiply cost by the margin percentage — that produces a markup, and a smaller margin than you asked for.

Can gross margin be more than 100%?

No. Margin is profit ÷ price, and profit cannot exceed price, so margin caps at just under 100%. Markup has no such ceiling because the denominator is cost, which can be tiny relative to price. Software and services routinely show markups in the hundreds of percent while margins stay in the 80s or 90s.

Why did our gross margin fall when no prices changed?

Almost always mix or cost drift. Selling more low-margin units and fewer high-margin ones lowers blended margin with every individual price intact, because blended margin is total profit ÷ total revenue. The other common cause is cost moving under a fixed price list — freight, duty or a supplier increase that never reached the price file.

Your ERP already knows. Start asking.

ERPray computes answers like these live from your own ERP account and shows the exact query behind every number. Early access is open for NetSuite teams — free plan at launch.