Sep 1, 2026 · 7 min read

Markup vs Margin: Formulas, Table, and Examples

DhwaniCo-Founder, Daymark

Markup and margin both measure the gap between what a product costs you and what you sell it for. The difference is the number you divide by. Margin divides that gap by the selling price. Markup divides it by the cost. Same dollars of profit, two different percentages, and confusing them is one of the most common ways stores quietly underprice.

This guide gives you both formulas, a worked example, a conversion table that runs both directions, and the exact pricing mistake that happens when the two get swapped.

What is the difference between markup and margin?

Markup and margin are two ways to express the same gross profit as a percentage. Gross profit is the selling price minus the cost of the item. The only question is which base you compare it against.

  • Margin is gross profit as a percentage of the selling price.
  • Markup is gross profit as a percentage of the cost.

Because the cost is always smaller than the price, the markup percentage is always larger than the margin percentage for the same sale. A 50% markup is not a 50% margin. That single fact is where most pricing errors start.

Markup vs margin formulas

Here are the two formulas side by side. Both use the same two inputs: the cost you paid and the price you charge.

Margin (%) = (Price − Cost) / Price × 100
Markup (%) = (Price − Cost) / Cost × 100

Take a product you buy for $60 and sell for $100. The gross profit is $40 in both cases. The percentages differ because the denominator differs.

MeasureCalculationResult
Margin$40 / $10040%
Markup$40 / $6066.7%

The same $40 of profit is a 40% margin and a 66.7% markup. Neither number is wrong. They answer different questions. Margin tells you what share of each sale you keep. Markup tells you how much you added on top of cost to get to the price.

Markup to margin conversion table

If you know one, you can always get the other. This table lists common markups and the margin each one produces. Read it whenever you inherit a "we mark everything up by X" rule and want to know the margin it actually delivers.

MarkupEquivalent margin
15%13.0%
20%16.7%
25%20.0%
30%23.1%
40%28.6%
50%33.3%
60%37.5%
75%42.9%
100%50.0%
150%60.0%
200%66.7%
300%75.0%

The reverse matters more when you price from a target margin. This table lists common margins and the markup you have to apply to your cost to hit them.

Target marginRequired markup
15%17.6%
20%25.0%
25%33.3%
30%42.9%
35%53.8%
40%66.7%
50%100%
60%150%
70%233%
75%300%

How to convert between markup and margin

You do not need the tables if you remember two short formulas. Both come straight from the definitions above.

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

Use decimals in these. A 50% markup is 0.50, so margin is 0.50 / 1.50, which is 0.333, or 33.3%. Going the other way, a 40% margin is 0.40, so markup is 0.40 / 0.60, which is 0.667, or 66.7%. If you would rather not do the arithmetic, the margin calculator and the markup calculator each take a cost and a price and return the percentage directly.

When to use markup vs margin

Both numbers are useful. They just belong in different conversations.

Use markup when you set prices from a supplier cost. It is the natural way to think when you buy an item for a known amount and decide how much to add. Retail and wholesale buying teams usually work in markup because the cost is the fixed starting point.

Use margin when you judge profitability and compare products. Margin sits on the same base as your revenue, so it lines up with your P&L, your gross margin, and every downstream figure like contribution margin and net margin. When a finance report or an investor asks about margin, they mean the price-based number, never markup.

A simple rule: price in markup if it helps you, but always report and compare in margin.

The pricing mistake that costs you money

The expensive error is applying a markup percentage when you meant a margin percentage. They feel interchangeable and they are not.

Say your target is a 40% margin, and your cost is $60. If you apply a 40% markup by habit, you set the price at $84. That $84 price only delivers a 28.6% margin, not the 40% you wanted. To actually hit a 40% margin you need a 66.7% markup, which puts the price at $100.

ApproachPriceMargin you get
Applied 40% markup (wrong)$8428.6%
Applied 66.7% markup (correct)$10040.0%

That is $16 of profit per unit left on the table, on every single sale, from one mixed-up percentage. Across a full catalog priced this way, the leak is large and invisible until someone checks the margin against the target. This is also why a store can hit its "markup rule" on every product and still miss its margin goal by a wide gap.

Frequently asked questions

What is the difference between markup and margin?

Both express the same gross profit as a percentage, but against different bases. Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. Because cost is always lower than price, the markup percentage is always higher than the margin percentage for the same sale. A 50% markup equals a 33.3% margin.

How do you convert markup to margin?

Use the formula margin equals markup divided by one plus markup, in decimals. A 50% markup is 0.50, so 0.50 divided by 1.50 gives 0.333, or a 33.3% margin. To go the other way, markup equals margin divided by one minus margin. A 40% margin is 0.40 divided by 0.60, which is 0.667, or a 66.7% markup.

Why is markup always higher than margin?

Because markup divides profit by the cost, and margin divides the same profit by the selling price. The cost is always smaller than the price, so dividing by the smaller number produces a larger percentage. For a $60 cost and $100 price, the $40 profit is a 66.7% markup but only a 40% margin. The gap widens as prices rise.

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

No, and treating them as equal is a common pricing error. A 50% markup produces a 33.3% margin, not 50%. To reach a true 50% margin you have to apply a 100% markup, meaning you double the cost. Confusing the two underprices the product and quietly reduces the profit you keep on every sale.

Should I price my products using markup or margin?

Use markup to set the price when you start from a supplier cost, since it adds a percentage on top of that cost. Use margin to judge and compare profitability, because it shares the same base as your revenue and P&L. A good habit is to price in markup if it is convenient, then always report and compare results in margin.

Does margin account for costs beyond the product?

Gross margin only subtracts the cost of goods. It ignores shipping, payment fees, ad spend, and overhead. Those come out at the contribution margin and net margin stages. So a healthy gross margin can still leave a thin net margin once every cost is counted. Track the full ladder, not just the product-level number, to see real profit.

Conclusion

Markup and margin measure the same gross profit, just against different bases, so markup always reads higher than margin for the same sale. Price in whichever is convenient, but report and compare in margin so the number lines up with your P&L. To run the numbers on any cost and price, use the margin calculator or the markup calculator, and see gross margin for what the margin figure means once you have it.

About the author

Dhwani

Co-Founder, Daymark

Dhwani is a co-founder of Daymark, focused on the metrics that decide whether a D2C brand is actually profitable. She writes about retention, margin, customer segmentation, and the benchmarks that separate healthy stores from merely busy ones.

LinkedIn

Related articles