Margin vs Markup: The Difference and Why It Matters for Pricing

December 2, 2026

Two people in the same store can look at the same product and say "we make 50 percent on it" and mean very different things. One means markup, the other margin. The difference sounds technical, but mixing them up is one of the most common ways small stores set prices that earn less than they think.

This article explains both terms, shows the formulas with a worked example, and gives a conversion table you can use when pricing.

The two definitions

Both compare the selling price with the cost of the product, but from different starting points:

  • Markup is profit as a share of cost.
  • Margin is profit as a share of price.

> Markup = (price − cost) ÷ cost > > Margin = (price − cost) ÷ price

Here "cost" means the cost of the product itself, sometimes called cost of goods. Other costs, such as delivery, packaging and payment fees, come later; more on that below.

A worked example

An illustrative product costs 20 to buy and sells for 30.

  • Profit per unit: 30 − 20 = 10.
  • Markup: 10 ÷ 20 = 50 percent.
  • Margin: 10 ÷ 30 = about 33 percent.

The same product has a 50 percent markup and a 33 percent margin. Neither figure is wrong; they answer different questions.

Why the difference matters

Suppose you want a 50 percent margin and you add 50 percent to cost. The price becomes 30 on a cost of 20, which is a 33 percent margin, not 50. To get a 50 percent margin, the price would need to be 40.

The gap grows as the numbers rise. At higher targets, confusing the two can cut planned profit significantly. Margins also drive other calculations, such as how much you can spend to win a customer, so an error here spreads.

Converting between them

> Margin = markup ÷ (1 + markup) > > Markup = margin ÷ (1 − margin)

A quick reference:

MarkupMargin
25%20%
50%33%
60%37.5%
75%about 43%
80%about 44%
150%60%

Markup can go above any level; margin can never reach the full price, because cost is never zero.

Setting a price from a target margin

If you know the margin you need, calculate the price directly:

> Price = cost ÷ (1 − target margin)

With a cost of 20 and a target margin of 40 percent: 20 ÷ 0.6 = about 33.33. Round to a price point that suits your market, then check the margin again at the rounded price.

Include the other costs

Product margin is only the first layer. To know what an order really earns, subtract the costs that come with each sale:

  • packaging;
  • delivery you pay for;
  • payment provider fees;
  • an allowance for returns.

What is left after those is often called contribution per order. Our guide to ecommerce unit economics walks through that calculation, and the article on the break-even point shows how contribution covers fixed costs.

Margin across the whole catalog

A single product's margin tells you about that item; the margin of the whole catalog depends on what sells. If low-margin products make up most of your orders, the overall margin can be thin even when many items have healthy margins. Once a month, multiply each product's margin by its sales and look at the result, so you know which products carry the business.

Use one term in your store

Pick one term for internal use, usually margin, because it relates directly to revenue and to most reports. Write it next to the formula in your pricing sheet, so everyone means the same thing. When a supplier or a wholesale partner talks about markup, convert it before comparing.

The broader pricing method, from cost to final price, is covered in our guide on how to price products online.

Common mistakes

  • Adding the target margin to cost. That gives a markup, and a lower margin than intended.
  • Leaving out other costs. A healthy product margin can turn into a thin contribution after delivery and fees.
  • Comparing figures that use different bases. Always ask whether a percentage is of cost or of price.
  • Forgetting discounts. A discount comes off the price, so it cuts margin faster than it seems.

A short checklist

  1. Write the cost of goods for each product.
  2. Calculate margin at the current price.
  3. Set prices from a target margin with the formula above.
  4. Subtract delivery, packaging, fees and returns to see contribution.
  5. Use one term across the team.

Prices and sales data in RedCart

In RedCart, you set the price of each SKU yourself in each currency your store uses, as the announcement on prices per currency describes, so the price in your margin sheet is the price buyers see. The cabinet dashboard shows this month's revenue in your default currency, as covered in the note on the dashboard.

RedCart takes no commission on sales; payment provider fees are separate and not included.

Take your five best-selling products this week, calculate the margin at today's price, and compare it with the margin you thought you had.

Request early access to RedCart.