Margin and markup describe the same profit from two sides. Markup is profit divided by the cost; margin is profit divided by the selling price. Buy an item for $30 and sell it for $45, and the $15 profit is a 50% markup (15 ÷ 30) but only a 33.33% margin (15 ÷ 45). Both numbers are correct. Trouble starts when one is used where the other was meant: a business that wants a 50% margin and adds 50% to its costs prices every item too low.

The Two Formulas Side by Side

MarkupMargin
Divides the profit byCostSelling price
Formula(price − cost) ÷ cost × 100(price − cost) ÷ price × 100
$30 cost, $45 price50.00%33.33%
$60 cost, $100 price66.67%40.00%
$60 cost, $120 price100.00%50.00%
Upper limitNoneBelow 100%
Typically used forSetting prices from costReporting how much of each sale you keep

The price is always bigger than the cost when you make a profit, so the margin is always the smaller of the two percentages. OpenStax's Principles of Marketing defines markup exactly this way, as the selling price minus the purchase price, divided by the purchase price, and gross margin as net sales minus the cost of goods sold.

How to Convert Markup to Margin and Back

You do not need the price to convert between the two:

  • Margin = markup ÷ (1 + markup)
  • Markup = margin ÷ (1 − margin)
MarkupMargin
10%9.09%
20%16.67%
25%20.00%
33.33%25.00%
50%33.33%
66.67%40.00%
100%50.00%
150%60.00%
200%66.67%
300%75.00%

Two pairs are worth remembering: a 25% markup is a 20% margin, and a 100% markup is a 50% margin. Doubling the cost is so common in retail that it has a name, keystone pricing.

The Most Expensive Mistake: Adding the Margin to the Cost

Say an item costs $60 and you want a 40% margin. Multiplying the cost by 1.4 gives $84, but $24 of profit on an $84 price is a 28.57% margin. The correct price divides instead: $60 ÷ (1 − 0.40) = $100, which leaves $40, exactly 40% of the price.

Target marginCorrect price ($60 cost)Cost × (1 + margin)Margin you actually get
20%$75.00$72.0016.67%
30%$85.71$78.0023.08%
40%$100.00$84.0028.57%
50%$120.00$90.0033.33%
60%$150.00$96.0037.50%

The gap grows with the target. At a 50% target the shortcut gives a third of the price as profit, not half. This is the most useful reason to keep the two words apart in a price list or a spreadsheet: write "margin" or "markup" next to every percentage, never just "%".

What a Discount Does to Your Margin

Discounts are taken off the price, and the cost does not move, so the profit falls much faster than the price. Take a $100 item with a $60 cost, a 40% margin:

DiscountPriceProfitMarginSales needed to earn the same $40 profit
None$100.00$40.0040.00%1×
10%$90.00$30.0033.33%1.33×
20%$80.00$20.0025.00%2×
25%$75.00$15.0020.00%2.67×
30%$70.00$10.0014.29%4×

A 20% sale halves the profit on each item, so you need to sell twice as many to stay where you were. OpenStax notes the same effect in retail terms: markdowns lower the markup a store actually realises and its gross profit.

Which One Does Someone Mean?

Most people say "markup" for the percentage added to cost and "margin" for profit as a share of the price, as Xero and Shopify both define them. But the words are not always used that way. In retail, a markup is sometimes stated as a percentage of the selling price, a markup on retail, which is the same number as a margin, instead of a markup on cost. Monash Business School's marketing dictionary, for example, describes the keystone markup as doubling the cost price, or "a markup of 50 percent of retail". The same deal can be called a 100% markup or a 50% markup depending on the base.

When a supplier, a buyer or a colleague gives you one percentage, ask what it is a percentage of. "Of the cost or of the price?" is a quick question that settles it.

Three Checks Before You Trust a Margin

  1. Use the full cost per item. Inbound shipping, duties and payment or marketplace fees are part of the cost. An item bought for $18.75 and sold for $29.99 has a 37.48% margin; with $3.60 of shipping and fees it drops to 25.48%.
  2. Take tax out of the price. Sales tax and VAT are collected for the government, not earned. A $120 price that includes 20% VAT is $100 of revenue. Enter $120 against a $60 cost and you see a 50% margin instead of the real 40%. The VAT Calculator removes VAT from a gross price.
  3. Know which margin you are looking at. A per-item gross margin does not include rent, wages or advertising. Operating and net margins subtract those too, so they are usually much lower.

Working It Out with FindUtils

The Profit Margin Calculator shows margin and markup side by side for any cost and price, and it has a Target Margin mode that does the division for you: a $60 cost at a 40% target margin returns $100.00. Its Target Markup mode does cost-plus pricing, and a table under the calculator converts common markups to margins. For fixed costs, the Break-Even Calculator shows how many units you need to sell, and the Percentage Calculator handles quick percentage-change questions. The Profit Margin Calculator guide walks through every mode with tested examples.


Need help with a project? The team behind FindUtils takes on freelance work through Upwork, including a Flutter app for iOS and Android built from your idea or design, for example a quoting app your sales team can use on the road.

Sources