Margin vs. markup
The same profit, measured against the price or against the cost
In briefMargin and markup both describe the profit on a sale, but they divide it by different amounts. Margin divides profit by the selling price. Markup divides profit by the cost. Any profitable sale therefore has a higher markup than margin, and mixing the two up can lead to wrong prices.
Side by side
| Margin | Markup | |
|---|---|---|
| Formula | (Price minus cost) / price | (Price minus cost) / cost |
| Measured against | Selling price | Cost |
| Used to answer | How much of each sales dollar is profit | How much was added to cost to set the price |
| Ceiling | Below 100% | No limit |
| Example: $60 cost, $100 price | 40% | 66.7% |
Margin and markup calculator
Change the numbers to see the result. Everything is calculated on this page; nothing is sent or saved.
- Profit per unit
- -
- Margin (profit / price)
- -
- Markup (profit / cost)
- -
Illustration only, not financial, tax or investment advice.
A worked example
A shop buys a jacket for $60 and sells it for $100. The profit is $40.
- Margin: $40 / $100 = 40%.
- Markup: $40 / $60 = 66.7%.
Now suppose the shop wants a 50% markup on an $80 cost. It adds $40, so the price is $120. Its margin is $40 / $120, or 33.3%. A 50% markup is not a 50% margin. To earn a 50% margin on an $80 cost, the price must be $160, because profit of $80 is half of $160. That is a 100% markup.
Converting between them
- Margin = markup / (1 + markup). A 50% markup gives 0.5 / 1.5 = 33.3%.
- Markup = margin / (1 - margin). A 40% margin gives 0.4 / 0.6 = 66.7%. A 25% margin gives 0.25 / 0.75, which is 33.3%.
A real example: Costco
In its fiscal year ended August 30, 2026, Costco reported net sales of $297,247 million and merchandise costs of $264,279 million. The difference, which Costco reports as its gross margin, is $32,968 million.
- Margin on merchandise: $32,968 / $297,247 is about 11.1%. Costco reports it as 11.09%.
- Markup on merchandise: $32,968 / $264,279 is about 12.5%.
The markup is calculated here from the reported figures. Neither percentage counts membership fees or Costco's selling, general and administrative expenses. Both describe the same sales, measured against a different base.
Common confusion
- They are not interchangeable. Quoting a 30% markup when a 30% margin was meant leaves the price too low.
- Markup can exceed 100%. Margin cannot, because profit cannot exceed the selling price.
- Margin is not the same as net profit. Gross margin subtracts only the cost of the goods sold. Office wages, advertising and other operating costs come later.
- Retail practice varies. OpenStax's marketing text gives a $50 shoe sold for $75 as a 50% markup, and notes that markups differ widely by industry.
Related entries
- Gross marginWhat is left from sales after paying for the goods sold
- Gross profitWhat a company has left from sales after paying for the goods it sold
- Contribution margin vs. gross marginTwo ways to measure what is left after costs, and what each leaves out
- Gross profit vs. net profitWhat is left after the cost of goods, and what is left after every expense
- Gross margin vs. operating marginProfit after the cost of goods, and profit after the cost of running the business
- CostcoWho owns it, how it merged with Price Club, and what a membership pays for