Findocs

Margin vs. Markup Calculator

Understand the difference between margin and markup. Plan your pricing strategy effectively.

Pricing Details

Profit per Unit
$0.00
Gross Margin
0.00%
Percentage of revenue that is profit.
Markup
0.00%
Percentage increase over cost.

Price Breakdown

Gross Margin vs. Markup: What's the Difference?

Gross margin and markup both measure profit on a product — but they use different denominators, producing very different percentages for the same transaction. Confusing them is one of the most costly pricing mistakes in small business.

Gross Margin

Profit as a percentage of the selling price.

(Price − Cost) / Price × 100

$100 cost, $150 price → Margin = 33.3%

Used in financial reporting, P&L statements, and industry benchmarking.

Markup

Profit as a percentage of the cost.

(Price − Cost) / Cost × 100

$100 cost, $150 price → Markup = 50%

Used in purchasing, pricing negotiations, and cost-plus pricing strategies.

Why Getting This Wrong Is Expensive

If you set a pricing target of "40% margin" but accidentally apply it as a 40% markup, you end up with only 28.6% margin. On a business doing $500,000 in annual revenue, that error costs $57,000 per year in lost profit — while the books still appear profitable.

The confusion happens because the dollar profit is identical. Only the denominator changes. Margin uses the selling price; markup uses the cost. Always clarify which metric is being discussed when setting pricing targets across a team.

Conversion Table

Target MarginRequired MarkupApplied MarkupResulting Margin
20%25%20%16.7%
25%33.3%25%20%
33.3%50%33.3%25%
40%66.7%40%28.6%
50%100%50%33.3%

The rightmost column shows what margin you actually get if you mistakenly apply the target margin as markup.

Industry Gross Margin Benchmarks

SaaS / Software70–90%
Pharmaceuticals60–80%
Restaurants (food cost)60–70%
Fashion / Apparel40–60%
Consumer electronics30–45%
Grocery stores20–30%
Auto dealerships10–20%
Manufacturing25–50%

Margin vs. Markup: The Key Difference

Margin and markup both describe the gap between what a product costs you and what you sell it for, but they measure that gap against different numbers. Margin compares profit to the selling price. Markup compares profit to the cost. Mixing them up is one of the most common pricing mistakes in small businesses — it can quietly leave you less profitable than you think.

Profit = Selling price − Cost
Gross margin % = Profit ÷ Selling price × 100
Markup %       = Profit ÷ Cost × 100

Worked Example

You buy a product for $60 and sell it for $100. Your profit is $40.

  • Margin: $40 ÷ $100 = 40%
  • Markup: $40 ÷ $60 = 66.7%
  • Same product, same profit — but two very different percentages.

Setting a Price From a Target Margin

If you know your cost and want a specific margin, divide the cost by (1 − target margin). To earn a 40% margin on a $60 item: $60 ÷ (1 − 0.40) = $100. A common mistake is to add 40% to the cost instead ($60 × 1.4 = $84), which only produces a 28.6% margin.

Price = Cost ÷ (1 − Target margin)
Markup % = Margin % ÷ (1 − Margin %)

Quick Conversion Table

  • 20% margin = 25% markup
  • 25% margin = 33.3% markup
  • 33.3% margin = 50% markup
  • 40% margin = 66.7% markup
  • 50% margin = 100% markup

When to Use Each

Margin is what accountants, investors and financial statements use, because it tells you what share of each dollar of revenue you keep. It also can never exceed 100%. Markup is handy on the shop floor: it is easy to apply a fixed markup to a cost price when setting retail prices. Whichever you use internally, check the margin before you commit to a price, since overheads, discounts and returns all come out of that margin.

Frequently Asked Questions

Can margin be higher than 100%?

No. Margin is profit divided by price, and profit can never be larger than the price. Markup, on the other hand, can be any size — a 300% markup is common for some retail goods.

Is gross margin the same as net margin?

No. Gross margin only subtracts the direct cost of the product. Net margin also subtracts operating expenses such as rent, salaries, marketing and taxes, so it is always lower.

What is a good gross margin?

It depends heavily on the industry. Grocery retailers often work on margins in the low twenties or below, while software and digital products can exceed 70%. Compare yourself with businesses of a similar type rather than a single universal number.

Should I include shipping and payment fees in cost?

Yes, if they apply to every sale. Including per-unit costs such as packaging, shipping and card fees gives a margin that reflects what you actually keep.

Related Tools & Guides