2026-10-24
Profit margin vs markup: what is the difference?
You buy a product for $40 and sell it for $100. Is your profit 60 % or 150 %? Both answers are correct. Margin and markup measure the same $60 against different bases, and mixing them up is a common and expensive pricing mistake in small businesses.
This guide explains both terms, how to convert between them and how to set a price that hits the margin you want. You can check every example with the profit margin calculator.
The definitions
Markup is profit as a percentage of the cost:
Markup = (price − cost) ÷ cost × 100
Margin, or more precisely gross profit margin, is profit as a percentage of the selling price:
Margin = (price − cost) ÷ price × 100
For the $40 product selling at $100:
- Profit: $100 − $40 = $60
- Markup: $60 ÷ $40 = 150 %
- Margin: $60 ÷ $100 = 60 %
When you make a profit the price is always higher than the cost, so the margin is always the smaller of the two percentages.
Why the difference matters
The mistake usually goes like this. A business owner decides they need a 30 % margin to cover overheads and make a profit, adds 30 % to the cost of a product and sets that as the price.
Take a product that costs $70:
- Adding 30 % to the cost: $70 × 1.3 = $91
- Margin at $91: ($91 − $70) ÷ $91 = 23.1 %
That is 7 percentage points short of the plan on every sale. Over a year, the gap can decide whether the business makes a profit or just about breaks even. A real 30 % margin on a $70 product needs a price of $100, which comes from a different formula.
How to price for a target margin
Divide the cost by one minus the margin, written as a decimal:
Price = cost ÷ (1 − target margin)
- Cost $70, target margin 30 %: $70 ÷ 0.70 = $100
- Cost $40, target margin 60 %: $40 ÷ 0.40 = $100
- Cost $12, target margin 45 %: $12 ÷ 0.55 = $21.82
The formula also shows why a margin can never reach 100 %. You would be dividing by zero, which describes a product that costs nothing to make or buy.
How to price from a markup
Markup is easier to apply, which is why many retailers and wholesalers think in markup:
Price = cost × (1 + markup)
- Cost $40, markup 150 %: $40 × 2.5 = $100
- Cost $70, markup 30 %: $70 × 1.3 = $91
Markup has no upper limit. A product that costs $5 and sells for $50 has a 900 % markup and a 90 % margin.
Converting between margin and markup
If you know one, you can calculate the other. Write both as decimals:
Markup = margin ÷ (1 − margin)
Margin = markup ÷ (1 + markup)
Some common pairs:
| Margin | Markup |
|---|---|
| 10 % | 11.1 % |
| 20 % | 25 % |
| 25 % | 33.3 % |
| 30 % | 42.9 % |
| 40 % | 66.7 % |
| 50 % | 100 % |
| 60 % | 150 % |
| 75 % | 300 % |
A 50 % margin equals a 100 % markup, which is what people mean by "doubling" the cost. With a few of these pairs in your head, pricing mistakes are easier to spot.
Which one should you use?
Markup is handy when you set prices from cost, especially across many products. A rule like "mark up all accessories by 80 %" is easy to apply in a spreadsheet or at a till.
Margin works better for planning and reporting. An income statement starts with revenue, so profit as a share of revenue makes comparisons straightforward. If overheads take 25 % of revenue, you know gross margins have to stay above 25 % for the business to be profitable. Margin also puts products with very different prices on an equal footing.
Trouble starts when you set prices with markup and plan with margin without converting between the two.
Gross margin and net margin
The margin in this article is gross margin: price minus the direct cost of the product, such as the purchase price, materials, packaging and inbound shipping.
Net margin also subtracts rent, salaries, software, marketing, payment fees and taxes. A product can have a healthy 60 % gross margin while the business as a whole runs at a small net margin, or a loss, because overheads take the difference.
When you set a target gross margin, start from your overheads. If fixed and other operating costs come to 35 % of expected revenue and you want 10 % net profit, you need an average gross margin of around 45 %. The break-even calculator shows how many sales it takes to cover those fixed costs at a given margin.
Practical tips for pricing
Include every direct cost. Shipping to customers, payment processing and marketplace fees often grow with each sale, and if you leave them out, the margin you calculate is higher than the one you get.
Round up. If the formula gives $21.82, a price of $21.99 keeps your margin, while $19.99 cuts it noticeably.
Recalculate when costs change. A supplier increase of a few percent can erode your margin if the selling price stays the same.
Check discounts against margin before a sale. A 20 % discount on a product with a 40 % margin halves your profit per unit.
Finally, cost-based pricing only tells you the minimum. What customers will pay and what competitors charge may let you set a higher price.
The profit margin calculator has a mode for each case: margin from price, price from a target margin and price from a markup.
Profit Margin Calculator
Margin and markup from cost and price, or the price for a target margin.
For information only.This article is general information, not financial, tax or investment advice. Your situation may differ.