“We sell at a 40% margin.” “Our standard markup is 40%.” These two sentences sound almost identical, and in many small businesses they are used interchangeably. They describe very different prices. A product that costs $60 sells for $100 at a 40% margin, but for only $84 at a 40% markup — and the difference between those two numbers can decide whether a product line actually pays its way.

This guide explains what margin and markup each measure, how to calculate and convert between them, and how to set a price that delivers the margin you intend.

A $100 selling price split into $60 cost and $40 profit. Margin is 40 divided by 100, or 40 percent. Markup is 40 divided by 60, or 66.7 percent. A side chart lists margins of 10 to 60 percent with equivalent markups from 11.11 to 150 percent.
The profit is the same $40. Margin compares it with the price; markup compares it with the cost.

Two ways to describe the same profit

Every sale has three numbers: the cost of the item, the selling price, and the profit — price minus cost. Margin and markup both express that profit as a percentage. The only difference is what it is a percentage of.

  • Gross margin is profit as a share of the selling price. It answers: “Of every dollar a customer pays, how much do we keep?”
  • Markup is profit as a share of the cost. It answers: “How much did we add on top of what we paid?”

Because the price is always larger than the cost (when you make a profit), the same profit is always a smaller percentage of the price than of the cost. Margin is therefore always lower than markup.

The formulas

Profit  = Price − Cost
Margin  = Profit ÷ Price × 100
Markup  = Profit ÷ Cost  × 100

Using the example from the diagram — cost $60, price $100:

  • Profit = $100 − $60 = $40
  • Margin = 40 ÷ 100 = 40%
  • Markup = 40 ÷ 60 = 66.7%

One sale, one profit, two percentages.

Working backwards: setting a price

The question most businesses really need answered is the reverse: “What should I charge?” The answer depends on which percentage you are targeting.

For a target markup, multiply the cost:

Price = Cost × (1 + Markup ÷ 100)

A 50% markup on a $60 cost gives 60 × 1.5 = $90.

For a target margin, divide the cost:

Price = Cost ÷ (1 − Margin ÷ 100)

A 40% margin on a $60 cost gives 60 ÷ 0.6 = $100.

The second formula surprises people. The intuitive approach — “I want 40%, so I’ll add 40% to the cost” — produces $84. At $84 the profit is $24, and 24 ÷ 84 is a margin of just 28.6%. Over a year of sales, the gap between a planned 40% and an actual 28.6% margin can be the difference between covering overheads and not.

Converting between margin and markup

You do not need the cost or price to convert one percentage into the other:

Markup = Margin ÷ (100 − Margin) × 100
Margin = Markup ÷ (100 + Markup) × 100
Gross margin Equivalent markup
10% 11.11%
20% 25%
25% 33.33%
30% 42.86%
40% 66.67%
50% 100%
60% 150%
75% 300%

Two patterns are worth remembering. At low percentages the two numbers are close (a 10% margin is an 11% markup), so the confusion matters little. As margins rise, markup grows much faster: doubling your cost (a 100% markup) is a 50% margin, and a 75% margin requires quadrupling it.

There is also an asymmetry in limits. Margin can never reach 100%, because that would require the cost to be zero. Markup has no upper limit: selling a $5 item for $50 is a 900% markup but a 90% margin.

Which one should you use?

Both are legitimate; the important thing is that everyone in the conversation uses the same one.

Markup is convenient on the shop floor. If you know the cost, multiplying by a fixed factor gives a price instantly, which is why many retailers and trades use “cost plus” pricing rules.

Margin is better for managing the business. Revenue, overheads and profit are all reported as amounts of sales, so margin plugs straight into financial statements. If you know your overheads are 30% of revenue, you know any product below a 30% gross margin is losing money once those costs are included. Lenders, investors and accountants almost always talk in margins.

A practical approach: set targets as margins, then convert them into the markup factor your team uses for day-to-day pricing. A 40% target margin becomes “multiply cost by 1.667”.

Gross margin is not net margin

The margin in this article is gross margin per item: it subtracts only the direct cost of the product — what you paid the supplier, or the materials and labour to make it. It does not include rent, salaries, software, marketing or other overheads.

Net margin subtracts all of those as well, and is always lower. A product can have a healthy 45% gross margin and still be unprofitable if overheads take 50% of revenue. To see how many sales you need to cover fixed overheads, use a break-even calculation: it divides fixed costs by the contribution each sale makes.

Common mistakes

  • Adding the target margin to the cost. As shown above, a 40% “margin” added to cost is really a 40% markup and a 28.6% margin.
  • Mixing the two in one spreadsheet. If one column is margin and another is markup, averages and comparisons become meaningless. Label columns explicitly.
  • Including sales tax or VAT in the price. Tax collected on behalf of the government is not revenue. Calculate margin on the price excluding tax.
  • Ignoring discounts. A 20% discount on a product with a 40% margin does not leave a 20% margin. With a $60 cost and a $100 price, a 20% discount makes the price $80, the profit $20 and the margin 25%. Run discounts through the margin formula, not a mental shortcut.
  • Forgetting variable selling costs. Payment processing fees, marketplace commissions and shipping you pay for are part of the cost of each sale. Leave them out and your real margin is lower than you think.

Worked example: pricing a new product

A small online shop wants to sell a ceramic mug. It costs $7.20 from the supplier, plus $0.80 for packaging — $8.00 in total per unit. The shop’s target gross margin is 55%.

  1. Price for a 55% margin: 8.00 ÷ (1 − 0.55) = 8.00 ÷ 0.45 = $17.78.
  2. The shop rounds to a price point of $17.95.
  3. Actual profit: 17.95 − 8.00 = $9.95. Actual margin: 9.95 ÷ 17.95 = 55.4%. Markup: 9.95 ÷ 8.00 = 124.4%.
  4. If the shop runs a 15% off promotion, the price becomes $15.26, profit $7.26 and margin 47.6% — still above its 40% minimum, so the promotion is acceptable.

You can check each of these numbers with the margin and markup calculator, which works from any two of cost, price, margin and markup, and with the percentage calculator for the discount.

Summary

Margin and markup are two views of the same profit. Margin divides profit by the selling price; markup divides it by the cost; margin is always the smaller number. To price for a target margin, divide the cost by (1 − margin), never add the margin to the cost. Agree which measure your business uses, label it clearly, and convert with markup = margin ÷ (100 − margin) when you need the other one.