span 1 span 2 span 3

Markup vs Margin: The Difference and How to Calculate Your Selling Price

A pricing staffer sets a 50% markup and budgets profit as if the margin were also 50%, when the real margin is only 33.3%. Markup and margin are often mixed up because both measure the gap between selling price and cost, yet they use different denominators. In a business with thousands of products, this mistake can quietly erode profit. This article covers the formulas, the conversion, and how to use each one on its own.

In short, markup and margin both measure the gap between the selling price and the cost of goods sold (COGS), but their basis differs. Markup is the percentage added on top of cost. Markup is used to set the selling price. Margin is profit as a percentage of the selling price. Margin is used to measure profitability. On the same transaction, the markup percentage is always larger than the margin.

Markup and Margin Formulas, With a Worked Example

The profit in currency terms stays the same. The only thing that differs is the denominator. Markup divides the gap between selling price and COGS by cost, while margin divides it by the selling price. The entire difference in the figures comes from this difference in denominator.

The following three formulas cover most pricing needs:

  • Markup (%) = (Selling Price − COGS) ÷ COGS × 100%
  • Margin (%) = (Selling Price − COGS) ÷ Selling Price × 100%
  • Selling Price = COGS + (COGS × Markup%)

For example, a product with a COGS of Rp80,000 and a 50% markup adds Rp40,000. The selling price becomes Rp120,000. The gross profit is Rp40,000. Yet the margin on that selling price is only Rp40,000 ÷ Rp120,000 = 33.3%.

COGS (cost of goods)

Rp80,000

Markup

50% → Rp40,000

Selling price

Rp120,000

Gross profit

Rp40,000

Margin

33.3%

Note that the profit stays at Rp40,000. The percentages, though, differ. Markup is 50%, and margin is 33.3%. According to Shopify, markup is calculated from cost, while margin is calculated from the selling price. One and the same transaction can produce different percentages. The markup percentage is always larger than the margin.

Markup divides profit by the smaller figure, cost. Margin divides the same profit by the higher figure, the selling price. A larger denominator gives a smaller percentage. That is why, on every transaction, the markup percentage is always higher than the margin.

That relationship can be worked out both ways with conversion formulas:

  • Margin = Markup ÷ (1 + Markup). A markup of 0.50 becomes 0.50 ÷ 1.50 = 33.3%.
  • Markup = Margin ÷ (1 − Margin). A margin of 0.25 becomes 0.25 ÷ 0.75 = 33.3%.

The table below translates common markups into their equivalent margins:

20%

16.7%

25%

20%

50%

33.3%

100%

50%

150%

60%

The last row drives the pattern home. Markup has to reach 150% for the margin to be just 60%. The higher the target, the wider the gap between the two figures. That raises the risk of budgeting errors.

When Should You Use Markup, and When Should You Use Margin?

Markup is used to set prices going forward. It turns cost into a selling price. Margin is used to measure profitability. It assesses the profit earned on a sale. The two serve different purposes and complement each other.

A quick guide to when to choose which:

  • Setting a selling price based on cost, then adding a markup (cost-plus pricing).
  • Setting a profit target from sales points to margin, for example, “We need a 30% gross margin.”
  • Comparing profitability across products or across periods uses margin. That is because margin is the figure that appears and gets compared in the income statement.
  • Negotiating a purchase price with suppliers means markup, because the starting point is cost.

In practice, one team can use both in a single day. Markup is used when setting prices. Margin is used when preparing the monthly report. Problems arise when the two figures are treated as the same.

A Common Mistake: Treating Markup as Margin

The most costly mistake is setting a markup and then calculating profit as if it were the margin. Assuming a 50% markup equals a 50% margin leads a company to overstate profit by 16.7 percentage points. The real margin is only 33.3%. In mass pricing, this gap can lower profit and often goes unnoticed on individual transactions.

For thousands of SKUs, pricing each one by hand is inefficient. Modern retail systems use pricing rules rather than relying on people’s memory. According to SAP Learning, in SAP S/4HANA Retail, the selling price comes from the purchase price plus a predefined markup. The system also calculates gross margin and net margin automatically. This way, the markup and margin rules stay the same across the entire catalog and the margin can be audited, as large retail businesses do with retail solutions.

FAQ (Frequently Asked Questions)

What is the main difference between markup and margin?

Both measure the gap between selling price and cost in currency terms. Markup, however, is calculated on cost (COGS), while margin is calculated on the selling price. Because cost is smaller than the selling price, the markup percentage is always larger. For example, a 50% markup is equivalent to a 33.3% margin.

How do you convert markup into margin?

Use the formula: Margin = Markup / (1 + Markup). Example: a 50% markup (0.50) becomes 0.50 divided by 1.50, which equals 33.3%. To go the other way, use Markup = Margin / (1 − Margin). This formula keeps your price and profit targets from getting mixed up when you use them together.

Is it better for a business to use markup or margin?

Both are used for different purposes. Use markup to set the selling price from cost, or cost-plus pricing. Use margin to measure and compare profitability, such as the figures shown in the income statement. Treating the two as the same can lead to overstating profit by as much as 16.7 percentage points.

Conclusion

Markup and margin are two different things. One is used to set prices, the other to measure profit. As long as the denominator is understood, both work well together. As an SAP Platinum Partner through United VARs since 1998, Soltius implements and supports SAP retail solutions. That includes structuring the pricing logic so the margin stays consistent and auditable.

To discuss consistent pricing on SAP S/4HANA Retail, visit soltius.co.id.

Other News

Nov 18, 2026
Employee Central SAP SuccessFactors: Functions and Advantages
Nov 16, 2026
What Is Human Capital Management (HCM)? A Complete Guide