Google Ads

Markup vs Margin: Formulas, Examples and a Conversion Table

For store owners who set prices from cost and run Google Ads: the two formulas, a table that converts one into the other, and the margin your ROAS target has to come from.

Safeer SafeerGoogle Ads & Merchant Center strategist Updated 11 min read
Diagram comparing markup, profit divided by cost, with margin, profit divided by price, for a product that costs $30 and sells for $50

Quick answer

Markup is profit divided by cost; margin is profit divided by the selling price. A product that costs $30 and sells for $50 makes $20, which is a 66.67% markup and a 40% margin. Markup is always the larger number. Convert with margin = markup ÷ (1 + markup). Set prices with markup, but set ad targets from margin: break-even ROAS is 1 ÷ margin.

Key takeaways

  • Markup is profit as a share of cost and margin is profit as a share of the selling price, so $20 of profit on a $30 cost and a $50 price is a 66.67% markup and a 40% margin.
  • Convert markup to margin with markup ÷ (1 + markup) and margin to markup with margin ÷ (1 − margin); a 100% markup is a 50% margin.
  • A markup can pass 100% and keep going, but a margin never reaches 100% as long as the product costs anything.
  • Pricing with a markup and then reading a margin report as if it used the same percentage underprices every unit: a 30% markup is only a 23.08% margin.
  • Google Ads ROAS divides revenue by ad spend, so break-even ROAS comes from margin (1 ÷ margin), and the lowest break-even any markup allows is 1 + 1 ÷ markup, before shipping, fees and returns.
On this page
  1. What is the difference between markup and margin?
  2. How do you calculate markup percentage?
  3. How do you calculate margin?
  4. How do you convert markup to margin and back?
  5. What goes wrong when you price with markup and report with margin?
  6. What does margin mean for break-even ROAS and Google Ads targets?
  7. What is a good markup percentage?
  8. FAQ

What is the difference between markup and margin?

Markup is profit as a percentage of cost. Margin is profit as a percentage of the selling price. Both start from the same dollars of profit; only the number you divide by changes. Because cost is smaller than price on any profitable sale, markup is always the bigger percentage.

Take a ceramic planter that costs a store $30 landed and sells for $50. The profit is $20. Divided by the $30 cost, that is a 66.67% markup. Divided by the $50 price, it is a 40% margin. Same planter, same $20, two different percentages. In accounting terms, the margin on product cost alone is the gross margin: sales minus the cost of goods sold, as AccountingTools defines it.

Markup (on cost)

  • Profit ÷ cost
  • $20 ÷ $30 = 66.67%
  • Answers: how much did I add to what I paid?
  • Used to set prices from a cost, in supplier quotes and cost-plus price lists
  • Has no ceiling: a 300% markup is possible

Margin (on price)

  • Profit ÷ selling price
  • $20 ÷ $50 = 40%
  • Answers: how much of each sales dollar do I keep?
  • Used in profit reports, Shopify product margins and Google Ads gross profit margin
  • Always below 100%
One illustrative planter: $30 landed cost, $50 price, $20 profit. Markup and margin divide the same $20 by different bases.

How do you calculate markup percentage?

To calculate markup percentage, subtract the cost from the selling price, divide the result by the cost and multiply by 100. To set a price from a markup, multiply the cost by 1 plus the markup.

Markup %(Price − Cost) ÷ Cost × 100
  1. Find the profit in dollars. $50 price − $30 cost = $20.
  2. Divide by the cost. $20 ÷ $30 = 0.6667.
  3. Multiply by 100. The markup is 66.67%.

Setting a price from a markup is one multiplication. A 30% markup on the $30 planter is $30 × 1.30 = $39. A 100% markup, often called keystone pricing, doubles the cost to $60. Shopify's help center describes cost-plus pricing the same way: total production cost plus a fixed markup percentage. Use the landed cost (supplier price plus inbound freight and duties), or the markup will look bigger than it is. Our markup calculator runs the math in both directions if you would rather type than divide.

How do you calculate margin?

To calculate margin, subtract the cost from the selling price, divide by the selling price and multiply by 100. To set a price that hits a target margin, divide the cost by 1 minus the margin.

Margin %(Price − Cost) ÷ Price × 100

For the planter, $20 ÷ $50 = 0.40, a 40% margin. To price the same $30 cost for a 45% margin, divide: $30 ÷ 0.55 = $54.55. Multiplying instead ($30 × 1.45 = $43.50) gives only a 31.03% margin, because multiplying by 1 plus a percentage is the markup method.

Margin comes in layers, and the layer matters:

  • Gross margin takes off only the cost of goods. It is the margin that pairs with markup, and the one this guide means when it says margin without a qualifier.
  • Contribution margin also takes off every cost that grows with each order: shipping, payment fees, packaging and returns. It is the one ad math needs.
  • Net margin takes off everything, including rent, salaries and software.

How do you convert markup to margin and back?

Convert markup to margin with margin = markup ÷ (1 + markup), and margin to markup with markup = margin ÷ (1 − margin). Work in decimals: a 50% markup is 0.50 ÷ 1.50 = 0.3333, a 33.33% margin.

Markup to marginMarkup ÷ (1 + Markup)
Margin to markupMargin ÷ (1 − Margin)

Markup to margin conversion table

Find your markup in the first column. The last column is the lowest break-even ROAS a product at that markup can ever have, explained in the ROAS section below.

MarkupMarginPrice on a $30 costLowest break-even ROAS
10%9.09%$33.0011.00x
20%16.67%$36.006.00x
25%20.00%$37.505.00x
30%23.08%$39.004.33x
40%28.57%$42.003.50x
50%33.33%$45.003.00x
75%42.86%$52.502.33x
100%50.00%$60.002.00x
150%60.00%$75.001.67x
200%66.67%$90.001.50x
300%75.00%$120.001.33x

Margin to markup conversion table

Start from the margin you want and read across to the markup and price that deliver it.

Target marginMarkup neededPrice on a $30 cost
10%11.11%$33.33
15%17.65%$35.29
20%25.00%$37.50
25%33.33%$40.00
30%42.86%$42.86
35%53.85%$46.15
40%66.67%$50.00
45%81.82%$54.55
50%100.00%$60.00
60%150.00%$75.00
70%233.33%$100.00
75%300.00%$120.00
80%400.00%$150.00

At low percentages the two numbers sit close together (a 10% markup is a 9.09% margin), so a mix-up costs little. The gap widens as the price climbs above cost: a 100% markup is a 50% margin, and an 80% margin takes a 400% markup.

What goes wrong when you price with markup and report with margin?

A costly markup mistake is setting prices with a markup and then reading margin reports as if they used the same percentage. The price sheet says 30%, the profit report says 23%, and every unit has been priced below the goal since launch.

It happens because the two numbers live in different places. Supplier quotes, cost-plus price lists and many spreadsheets talk in markup. Profit reports talk in margin: Shopify's admin shows profit and margin for each product once you add a cost per item, and Google Ads reports gross profit margin, the share of ad-driven sales left after the cost of goods, when you send cart data and product costs. AccountingTools warns that confusing the two terms leads to prices that are too high or too low, which costs sales or profit.

Worked example: a 30% target

For example, a store wants a 30% margin on the $30 planter. Someone multiplies the cost by 1.30 and lists it at $39. The report later shows a 23.08% margin ($9 ÷ $39). The price that delivers 30% is $30 ÷ 0.70 = $42.86. The gap is $3.86 per unit, or $7,720 across 2,000 units, before a single ad click is paid for.

Goal: 30%The owner wants a 30% margin on a $30 cost
$39.00Priced with a 30% markup ($30 × 1.30)
23.08%Margin the profit report shows ($9 ÷ $39)
$42.86Price that delivers 30% ($30 ÷ 0.70)
Illustrative example: the same "30%" read as markup on the price sheet and as margin in the report leaves $3.86 on the table for every unit.

Five habits stop it from happening:

  • Write the base next to every percentage: "30% markup on cost" or "30% margin on price".
  • When a supplier, partner or team member says "30%", ask "of cost or of price?" before a price changes.
  • Enter the landed cost in your store (in Shopify, the cost per item field) so the admin shows the real margin.
  • Price from a target margin with cost ÷ (1 − margin), never cost × (1 + margin).
  • Recheck margin after every discount, because a lower price cuts margin while the cost stays where it was.

What does margin mean for break-even ROAS and Google Ads targets?

Your ROAS target has to come from margin, not markup, because ROAS is measured against revenue. Google Ads calculates Conv. value / cost by dividing total conversion value by the total cost of ad interactions, and conversion value is revenue. Margin is the share of that revenue you keep, so break-even ROAS is 1 ÷ margin. Our ROAS formula guide derives it step by step.

Break-even ROAS1 ÷ Contribution margin

Markup gives you one useful shortcut. Because gross margin is markup ÷ (1 + markup), the break-even ROAS on product cost alone is 1 + 1 ÷ markup. That is the lowest break-even a product can ever have, because shipping, fees and returns only push it higher. A 50% markup can never break even below 3.00x, and a 100% markup never below 2.00x.

Worked example: the $50 planter

Back to the planter: $50 price, $30 landed cost. Shipping and fulfillment take $4.25, payment fees $1.75 (2.9% plus $0.30), a 3% returns allowance $1.50 and packaging $0.50. That is $8 of variable costs on top of the $30, which leaves $12 per order: a 24% contribution margin. If you do not know these figures for your own orders, the Shopify profit margin calculator adds them up. Here is what each number does as a break-even:

Number usedValueBreak-even ROAS it impliesOne $50 order at that ROAS
Markup, mistaken for margin66.67%1.50x$33.33 of ads, $21.33 loss
Gross margin40%2.50x$20.00 of ads, $8.00 loss
Contribution margin24%4.17x$12.00 of ads, breaks even

In Google Ads, enter the result as a percentage. Google's own example is $5 in sales for every $1 of ad spend, a 500% target ROAS, so the planter's break-even is 417%. To keep 5% of revenue as profit after ads, the target becomes 1 ÷ (0.24 − 0.05) = 5.26x, or 526%. As of November 2026, Google asks for at least 15 conversions in the past 30 days on Search and Shopping campaigns. Our Target ROAS guide covers the setup, and the break-even ROAS calculator turns your own order costs into the contribution margin and target.

Google Ads can report margin for you. Add the cost_of_goods_sold attribute to your Merchant Center feed and send conversions with cart data, and Google Ads reports gross profit and gross profit margin for the sales your ads drove. Google's example is a $10 hat with a $3 cost: a 70% gross profit margin. It is a gross figure, so shipping, fees and returns still come off before you set a ROAS target from it.

What is a good markup percentage?

A good markup percentage is one that leaves enough margin to pay for every cost after the product itself, including the ads that win each sale. No single figure fits every store, so work back from the margin you need. For a reference point, here are average gross margins for US public companies, converted to markups:

Industry (NYU Stern dataset)Average gross marginEquivalent markup
Retail (General)33.18%49.66%
Retail (Special Lines)35.30%54.56%
Retail (Grocery and Food)26.31%35.70%
Furn/Home Furnishings30.28%43.43%
Shoe43.88%78.19%
Household Products51.04%104.25%
Apparel56.88%131.91%
Total Market37.76%60.67%

The margins come from Aswath Damodaran's margins-by-industry data at NYU Stern, with data as of January 2026 (checked November 2026). The markup column is our conversion with margin ÷ (1 − margin). These are averages for listed companies, so treat them as a reference, not a target for a small store.

Work back from the ROAS your ads can reach

  1. Start from a realistic ROAS. Use your account's last 60 to 90 days, not the number you hope for. Say your campaigns hold about 4x.
  2. Turn it into a margin. 1 ÷ 4 = 25%: at break-even, ads take a quarter of every sales dollar.
  3. Add variable costs as a share of price. If shipping, fees, packaging and returns run about 16% of the price, you need a 41% gross margin just to break even.
  4. Convert to markup. 0.41 ÷ 0.59 = 69.49%. On the $30 planter that is a $50.85 price. The $50 price sits just under it, which is why the planter needs 4.17x rather than 4x.

Add the profit share you want to step 3 before converting, and the same steps give a markup that pays for the ads and leaves a profit. Our guide to what counts as a good ROAS covers the ROAS side of that equation, and our eCommerce Google Ads management sets targets from product margins rather than one account-wide number. If you want a second opinion first, a free Google Ads audit tells you whether we found what is keeping your campaigns below the margin your prices carry.

Frequently asked questions

How much margin is a 30% markup?

A 30% markup is a 23.08% margin. Divide the markup by 1 plus the markup: 0.30 ÷ 1.30 = 0.2308. On a $100 cost, a 30% markup gives a $130 price and $30 of profit, and $30 ÷ $130 = 23.08%. To earn a true 30% margin on the same cost, price at $100 ÷ 0.70 = $142.86, which is a 42.86% markup.

Is a 20% margin the same as a 25% markup?

Yes. A 20% margin and a 25% markup describe the same price. On a $40 cost, a 25% markup adds $10 for a $50 price, and $10 ÷ $50 is a 20% margin. The rule behind it is markup = margin ÷ (1 − margin), so 0.20 ÷ 0.80 = 0.25. The same pairing gives a 100% markup for a 50% margin.

What does a 5% markup mean?

A 5% markup means the selling price is 5% above cost. Multiply the cost by 1.05: a $200 cost becomes a $210 price with $10 of profit. As a margin that is only 4.76%, because $10 ÷ $210 = 0.0476. At that margin the lowest possible break-even ROAS is 21.00x, so a product priced this way struggles to pay for its own ad clicks.

What is a 30% margin on $100?

It depends on whether $100 is the price or the cost. If $100 is the selling price, a 30% margin is $30 of profit on a $70 cost, which is a 42.86% markup. If $100 is your cost and you want a 30% margin, divide by 0.70 for a $142.86 price. Multiplying $100 by 1.30 gives $130, which is only a 23.08% margin.

Should I use markup or margin?

Use both, for different jobs. Markup is the quicker tool for setting a price from a known cost, because you multiply the cost by 1 plus the markup. Margin is the right number for profit reports, comparisons with other businesses and ad targets, because revenue is the base. AccountingTools describes the same split: markup builds prices, and margin tests whether those prices are acceptable.

Can a margin be more than 100%?

No. Margin is profit divided by the selling price, and profit could only equal the full price if the product cost nothing. A markup has no ceiling: a $5 cost sold at $30 is a 500% markup, yet the margin is $25 ÷ $30 = 83.33%. If someone quotes a margin above 100%, the number is a markup with the wrong label, or a typo.

Is markup the same as gross profit?

No. Gross profit is a dollar amount: revenue minus the cost of goods sold. Markup and margin are two ways to state that same dollar amount as a percentage, markup against cost and margin against revenue. A $50 sale with a $30 cost has $20 of gross profit, a 66.67% markup and a 40% gross margin.

Sources7 references
  1. AccountingTools: The difference between margin and markup
  2. NYU Stern, Aswath Damodaran: Margins by industry, US companies (data as of January 2026)
  3. Shopify Help Center: Pricing products for profit
  4. Google Ads Help: Understand your conversion tracking data
  5. Google Ads Help: About Target ROAS bidding
  6. Google Ads Help: Metrics available with conversions with cart data
  7. Google Merchant Center Help: Cost of goods sold [cost_of_goods_sold]
Safeer

Written by

SafeerGoogle Ads & Merchant Center strategist

Safeer leads strategy at Logical Gecko, a Google Partner and Shopify Partner agency that runs Google Ads for eCommerce and home-service brands and recovers suspended Merchant Center accounts. Everything in these guides comes from work on live client accounts. More about the team.

Free audit

Find out where your ad spend is leaking

A senior strategist reviews your account and tells you whether we found what is holding it back. No obligation, no hard sell.

Get a free Google Ads audit

Keep reading

Book your Google Ads strategy call

Fill in your details and we'll schedule a call to discuss your Google Ads growth.