MarginCalculator.ioKnow your numbers. Price with confidence.
Free calculators for smarter decisionsExplore tools

Retail Margin vs Markup: What Is the Difference?

Retail profit margin and markup describe the same gross profit from two different angles. They are not the same percentage. Mixing them up can leave a store charging less than it intended, especially when products are discounted or sold through a marketplace.

Here is how to calculate each figure, compare them using real numbers, and choose the right formula for pricing decisions.

Retail margin versus markup: The difference

Gross margin (%) = (Selling price − cost of goods sold) ÷ selling price × 100.

Markup (%) = (Selling price − product cost) ÷ product cost × 100.

Margin measures the share of selling revenue left after the stated direct cost. Markup measures how much the selling price exceeds that cost. Both use the same dollar profit, but different denominators.

These formulas assume a positive selling price and, for markup, a positive cost. When the denominator is zero, the relevant percentage is undefined.

Worked example: A product costs $20 and sells for $40

  1. Find gross profit: $40 − $20 = $20.
  2. Gross margin: $20 ÷ $40 × 100 = 50%.
  3. Markup: $20 ÷ $20 × 100 = 100%.

The product makes $20 in gross profit either way. Saying it has a 100% gross margin would be incorrect. A markup can be more than 100%, but a positive-cost product’s standard gross margin cannot exceed 100%.

Quick margin and markup comparison table

Product cost Selling price Gross profit Gross margin Markup
$20 $25 $5 20% 25%
$20 $30 $10 33.33% 50%
$20 $40 $20 50% 100%
$20 $50 $30 60% 150%

The gap between the percentages grows as markup increases. A 100% markup means you doubled the cost, not that you kept all the revenue as profit.

How to convert markup to margin

Margin (%) = Markup (%) ÷ [100 + Markup (%)] × 100.

For example, a 50% markup corresponds to 50 ÷ 150 × 100 = 33.33% margin. The reverse conversion is:

Markup (%) = Margin (%) ÷ [100 − Margin (%)] × 100.

A 40% margin requires a markup of 40 ÷ 60 × 100 = 66.67%, provided the cost basis is consistent and the selling price is positive.

How much should you charge for a target gross margin?

If you know product cost and the gross margin you need, calculate:

Selling price = Product cost ÷ (1 − target gross margin as a decimal).

For a $30 item and a target gross margin of 40%, divide $30 by 0.60. The required selling price is $50.

By contrast, adding 40% markup to $30 gives a selling price of $42. The profit is $12, which is only about 28.57% gross margin. That difference can be meaningful across hundreds of sales.

Use the Reverse Margin Calculator to compute your target price, or the Profit Margin Calculator to compare profitability after entering actual results.

What happens to retail margins after a discount?

Suppose an item costs $30 and normally sells for $50. The original gross profit is $20, so gross margin is 40%.

Now offer a 20% discount. The selling price drops to $40, while the direct cost stays $30. Gross profit falls to $10 and gross margin becomes 25%. The markdown was only 20% of price, but the gross profit dollars were cut in half.

That is why the right question is not just, “How big is the discount?” It is, “How much gross profit remains at the price customers will actually pay?”

Shipping, marketplace fees and other selling costs

Gross margin is usually calculated using sales revenue and COGS, not every expense that a business pays. Actual take-home profit can be lower after payment fees, delivery, advertising, returns and overhead.

For example, if an item sells for $50 and costs $30, gross margin is 40%. If the seller also pays $5 shipping and a 5% transaction fee on the selling price, the additional costs are $7.50. The amount left after the specified costs is $12.50, or 25% of revenue. Call that an estimated margin after specified costs, not necessarily accounting net margin.

When selling on platforms, the percentage fee may apply to shipping collected from buyers, sales tax or other transaction amounts, depending on the current rules. For a detailed estimate, use our Amazon FBA Profit Calculator, Etsy Profit Calculator or eBay Profit Calculator instead of assuming all marketplaces use the same fee structure.

When should a retailer use margin or markup?

  • Use markup for a quick cost-plus quote or to explain the increase above supplier cost.
  • Use gross margin to evaluate how much of sales revenue remains after COGS and to compare product economics.
  • Use adjusted contribution estimates to explore sales after variable fees and other specified expenses.
  • Use operating or net margin for broader financial analysis, when operating expenses or other business costs are included.

Use the Product Pricing Calculator when you need to work backward from a target profit margin after several selling costs. Do not substitute cost-plus markup for a target margin formula.

Frequently asked questions

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

No. A 50% markup is a 33.33% gross margin. A 50% gross margin requires a 100% markup on a positive product cost.

Can a product have a negative margin?

Yes. If your cost exceeds your positive selling price, your gross profit and gross margin are negative. You are selling below direct cost before considering other expenses.

Which figure matters more for retail pricing?

Gross margin is often more useful when setting profitability targets and comparing products. Markup is convenient for quick cost-plus pricing, but you should understand the resulting margin.

Do I include tax in the selling price?

Use a consistent accounting basis and distinguish sales collected for your business from taxes collected for a tax authority. Marketplace fee calculations can use a different base from accounting revenue, so check the rules that apply to your transaction.

Key takeaway: Use the same cost definition throughout your calculation, choose the correct percentage, and check what happens to profit after a discount or selling fee. A higher-looking markup number does not mean you earn that percentage of sales.