Margin vs Markup: How to Price a Product (and Check a Discount or Ad Spend Pays Off)

BusinessLast updated:

Most small sellers price by adding a percentage to cost, then wonder why the money never feels like 40%. The reason is simple: markup is measured on cost, margin is measured on the selling price, and the same profit gives two very different percentages.

This guide walks through the three questions every seller faces — what price gives the margin I want, can I afford this discount, and did that promotion actually pay off — with the formulas and worked numbers for each.

Margin and markup: same profit, different denominator

Take an item that costs $60 and sells for $100. Gross profit is $40 either way. Divided by the price it is a 40% margin; divided by the cost it is a 66.7% markup. Neither number is wrong — they answer different questions.

Gross profit = price − cost Margin = gross profit ÷ price × 100% Markup = gross profit ÷ cost × 100%

Margin tells you how much of every dollar you take in stays with you before overheads, which is why accountants and investors quote it. Markup is handy on the shop floor because you start from what you paid. Trouble starts when one is used where the other was meant.

Target marginEquivalent markupPrice on a $60 cost
20%25%$75.00
25%33.3%$80.00
30%42.9%$85.71
40%66.7%$100.00
50%100%$120.00
60%150%$150.00

Markup = margin ÷ (1 − margin). The gap widens fast as margins grow.

Check any price, cost or target marginGross margin, markup, price from margin

Setting a price from the margin you need

Start from the margin your business needs to cover rent, wages, payment fees and returns, then work backwards to the price. The order matters: decide the margin first, the price follows.

Price = cost ÷ (1 − target margin)
  1. Add up the full unit cost: Purchase price plus inbound shipping, packaging and any per-order platform fee you always pay.
  2. Pick a target margin: Look at what similar shops achieve and what your overheads need; 40% on a $60 cost means a $100 price.
  3. Divide, don't add: $60 ÷ (1 − 0.40) = $100. Adding 40% to cost gives $84, which is only a 28.6% margin.
  4. Round to a believable price: $99 or $100 rather than $100.14 — then recheck the margin after rounding.
Watch out
If your supplier quotes a "recommended markup", convert it to margin before comparing it with your overheads. A 50% markup sounds generous but leaves only a 33.3% margin.

Can you afford the discount? Work out the extra sales it needs

A discount comes straight out of gross profit, so its real cost depends on your margin. On the $100 item with a $60 cost, a 20% discount drops the price to $80 and the profit from $40 to $20. The price fell 20%, the profit fell 50%.

Extra units needed = discount ÷ (margin − discount)
DiscountAt 30% marginAt 40% marginAt 50% margin
5%+20%+14.3%+11.1%
10%+50%+33.3%+25%
15%+100%+60%+42.9%
20%+200%+100%+66.7%
30%never breaks even+300%+150%

Extra unit sales needed just to earn the same total gross profit as before the discount.

Use the percentage calculator to get the discounted price and the percentage change in profit, then ask honestly whether the promotion will lift sales that much. Sometimes a free gift or free shipping costs less than an equivalent price cut.

Work out the discounted price and the change in profit% of a number, % share, % change, add or subtract %

Did the promotion pay off? ROI done right

Return on investment compares what you gained with what you spent. For ads and promotions, the gain is the extra gross profit the campaign produced — not the extra revenue — because you still had to pay for the goods you sold.

ROI = (gross profit gained − amount spent) ÷ amount spent × 100%
Ad spend
$1,500
Extra revenue from the campaign
$5,250
Extra gross profit at a 40% margin
$2,100
ROI on gross profit
($2,100 − $1,500) ÷ $1,500 = 40%
ROI if you wrongly use revenue
($5,250 − $1,500) ÷ $1,500 = 250%
Break-even return on ad spend (ROAS)
1 ÷ margin = 2.5× revenue per dollar of ads

The revenue-based figure looks spectacular and would justify tripling the budget; the profit-based figure says the campaign worked, modestly. If a campaign ran for a few months, also look at the annualized ROI so you can compare it with simply keeping the cash in savings.

Calculate ROI and annualized ROI for a campaignROI, net gain, annualized return

Five pricing mistakes that quietly eat profit

Adding margin to costCost + 40% is a 28.6% margin, not 40%.
Leaving out feesCard fees, marketplace commission and shipping subsidies belong in unit cost.
Mixing tax basesCompare price and cost both before sales tax or VAT, or both after.
Judging ads on revenueUse gross profit; revenue-based ROI overstates the return.
Discounting low-margin itemsAt a 30% margin, a 20% discount needs triple the unit sales just to break even.

Frequently asked questions

Is a 50% markup the same as a 50% margin?
No. A 50% markup on a $60 cost gives a $90 price and a $30 profit, which is a 33.3% margin. A 50% margin needs a 100% markup: $60 cost, $120 price.
What is the formula for selling price from margin?
Divide the cost by one minus the margin. For a 35% margin on a $26 cost: 26 ÷ 0.65 = $40.
How do I convert markup to margin?
Margin = markup ÷ (1 + markup). A 25% markup is 0.25 ÷ 1.25 = 20% margin; a 100% markup is a 50% margin.
How much more do I need to sell after a 10% discount?
Divide the discount by your margin minus the discount. At a 40% margin: 10 ÷ (40 − 10) = 33.3% more units just to keep the same gross profit.
Should ROI on advertising use revenue or profit?
Use the gross profit the ads generated. Revenue includes the cost of the goods, so revenue-based ROI can show 250% when the real return was 40%.
What margin should a small online shop aim for?
It depends on the category, but many product sellers need 40–60% gross margin to cover advertising, platform fees, returns and their own time. Work out your monthly overheads first and check the margin covers them at realistic volumes.

Tools used in this guide