Skip to content
Running the shop

Markup vs Margin: Formulas, Examples and Table

Markup vs margin explained with formulas, worked dollar examples and a conversion table, so you know which number to use when pricing and checking profit.

SayHisaab Team Published 8 min read

On this page
  1. 1What is the difference between markup and margin?
  2. 2What are the markup and margin formulas?
  3. 3Markup vs margin conversion table
  4. 4How do I price an item from a target margin?
  5. 5How do I price from a markup?
  6. 6Worked examples from three kinds of shop
  7. 7How do I work out the margin across many products?
  8. 8How does a discount change the margin?
  9. 9Do sales tax and card fees affect margin?
  10. 10How should wholesalers and suppliers quote prices?
  11. 11Which number goes in my reports?
  12. 12What are the most common markup and margin mistakes?
  13. 13How SayHisaab fits in

Markup vs margin comes down to the base you divide by. Markup is profit as a percentage of cost, and margin is profit as a percentage of the selling price. Both come from the same dollars, so a 50% markup is only a 33.3% margin. Use markup to set prices and margin to judge how much of each sale you keep.

The rest of this guide gives the formulas, a conversion table, worked examples from a convenience store, a phone repair shop and a boutique, and the effect of discounts on what you actually earn.

What is the difference between markup and margin?

Say a shop buys a phone charger for $6.00 and sells it for $10.00.

  • Profit per unit: $10.00 minus $6.00 is $4.00.
  • Markup: $4.00 divided by the cost of $6.00 is 66.7%.
  • Margin: $4.00 divided by the selling price of $10.00 is 40.0%.

The profit is the same $4.00 in both cases. Only the base changes. Because cost is always smaller than the selling price on a profitable item, markup is always the larger of the two percentages.

This is why a supplier who says “we add 50%” and a report that says “we earn 50%” can mean very different things. A 50% markup leaves you with 33 cents of each sales dollar. A 50% margin leaves you with 50 cents.

What are the markup and margin formulas?

Keep these on a card by the register:

  1. Profit per unit = selling price minus cost
  2. Markup % = profit divided by cost, times 100
  3. Margin % = profit divided by selling price, times 100
  4. Markup to margin = markup divided by (1 plus markup)
  5. Margin to markup = margin divided by (1 minus margin)

Use decimals inside the last two formulas. A 25% markup is 0.25, so the margin is 0.25 divided by 1.25, which is 0.20, or 20%. A 40% margin is 0.40, so the markup is 0.40 divided by 0.60, which is 0.667, or 66.7%.

Markup vs margin conversion table

Markup Margin On a $10.00 selling price
20% 16.7% Cost $8.33, profit $1.67
25% 20% Cost $8.00, profit $2.00
33.3% 25% Cost $7.50, profit $2.50
50% 33.3% Cost $6.67, profit $3.33
66.7% 40% Cost $6.00, profit $4.00
100% 50% Cost $5.00, profit $5.00
150% 60% Cost $4.00, profit $6.00
200% 66.7% Cost $3.33, profit $6.67

Read across any row to see the matching pair. Notice that margin can never reach 100%, because that would mean the item cost nothing, while markup has no upper limit.

How do I price an item from a target margin?

Use this formula: selling price = cost divided by (1 minus target margin).

Example: a phone case costs $4.00 and the shop wants a 40% margin. The price is $4.00 divided by 0.60, which is $6.67. Round to $6.99 to match your shelf prices, then recheck the margin on the rounded figure: $6.99 minus $4.00 is $2.99, and $2.99 divided by $6.99 is 42.8%. The rounded price beats the target slightly, which is usually fine.

A common mistake is to multiply cost by 1.40 for a 40% margin. That gives $5.60, which is a 40% markup but only a 28.6% margin ($1.60 divided by $5.60).

How do I price from a markup?

Use this formula: selling price = cost times (1 plus markup).

Example: a wholesale case of drinks costs $40.00 and you want a 30% markup. The price per case is $40.00 times 1.30, which is $52.00. Your profit is $12.00, and your margin is $12.00 divided by $52.00, which is 23.1%.

This is where many small shops get confused. A 30% markup feels like a 30% profit, but on the selling price it is closer to 23%.

Worked examples from three kinds of shop

Shop and item Cost Price Profit Markup Margin
Convenience store, energy drink $1.75 $3.50 $1.75 100.0% 50.0%
Phone repair shop, screen protector $14.00 $25.00 $11.00 78.6% 44.0%
Clothing boutique, dress $28.00 $70.00 $42.00 150.0% 60.0%

Each row uses the same two formulas. For the screen protector, $11.00 divided by $14.00 is 78.6%, and $11.00 divided by $25.00 is 44.0%. Use the 44% margin when you compare accessories with repairs in your monthly report. Use the 78.6% markup when you price the next batch from the same supplier.

Margins that look high on one item still have to cover rent, wages and slow sellers. A boutique that marks a dress up 150% may sell some at full price and clear the rest at a discount, so the average margin across the season ends up lower than the tag suggests.

How do I work out the margin across many products?

Your overall margin is not the average of the item margins. It is total gross profit divided by total sales, so the products that sell the most carry the most weight.

Category Sales Margin Gross profit
Cold drinks $500 40% $200
Snacks $300 30% $90
Tobacco $200 10% $20
Total $1,000 31% $310

A simple average of 40%, 30% and 10% gives 26.7%, which understates this shop’s margin. The correct figure is $310 divided by $1,000, or 31%. If tobacco sales grew to half the total, the overall margin would fall even though no single price changed. That is why it helps to track sales and margin by category each month.

How does a discount change the margin?

A discount reduces the selling price while the cost stays the same, so the whole discount comes out of profit. Take the $6.00 charger that sells for $10.00:

Discount Sale price Profit per unit Margin Units needed to earn $40
None $10.00 $4.00 40.0% 10
10% off $9.00 $3.00 33.3% 14 (13.3 rounded up)
20% off $8.00 $2.00 25.0% 20
30% off $7.00 $1.00 14.3% 40

A 20% discount halves the profit on each unit, so you need twice the sales to earn the same dollars. A 30% discount needs four times the sales. Before you run a promotion, work out the margin at the discounted price and ask whether the extra volume is realistic.

Do sales tax and card fees affect margin?

Work out margin on the price before sales tax. The IRS explains in Publication 334 that state and local sales taxes imposed on the buyer, which you collect and pay over to the government, are not your income. If you include them in the selling price, your margin will look higher than it is.

Card processing fees come out of what you receive. If your processor charges 3% of the sale, a $10.00 sale costs $0.30, and the charger’s profit drops from $4.00 to $3.70. Most shops record card fees as an operating expense rather than inside the item’s margin, but it helps to know the effect when you price low-cost items. Check with a tax professional about how to treat sales tax and fees in your own books.

How should wholesalers and suppliers quote prices?

Wholesalers often quote prices as a markup over cost, while retail buyers talk in margins. Ask which one a supplier means before you compare offers.

  • “Cost plus 25%” on a $100 order is a $125 price. That is a 20% margin for the seller.
  • “A 25% margin” on the same $100 cost is a $133.33 price. That is a 33.3% markup.

The $8.33 gap between those two quotes is the difference between the two words. On a large order, it adds up fast.

Keep a simple price sheet with cost, markup, margin and selling price for each product line. When a supplier raises a cost, change that one number and the sheet shows the new margin at your current price, or the new price you need to keep the old margin.

Which number goes in my reports?

Use margin in your profit reports. Gross margin is the margin after the cost of goods but before rent, wages and other expenses. Net margin is what is left after all of those. The profit and loss statement guide shows the full path from sales to net profit with real dollar amounts, and the break-even calculator uses your gross margin to show the sales you need to cover fixed costs.

Use markup when you set prices, because it tells you what to multiply cost by. If your stock records keep an up-to-date cost per item, both numbers stay accurate; the inventory management guide covers how to keep those costs current.

What are the most common markup and margin mistakes?

  1. Treating a markup percentage as if it were a margin when planning profit.
  2. Multiplying cost by 1 plus the target margin, which undershoots the price.
  3. Forgetting to recheck the margin after rounding a price or running a discount.
  4. Including sales tax in the selling price when you work out margin.
  5. Using an old cost after a supplier price increase.

How SayHisaab fits in

SayHisaab keeps the numbers behind your margins in one place. When you record a purchase, such as “Bought 50 phone cases at $4 each from Metro Supply,” stock goes up and the unit cost updates. When you record a sale, stock goes down and the sale lands in your books. The profit and loss report then shows sales, cost of goods and gross profit for any date range, and you can tap the i next to a figure to see how it was worked out. The reports and invoices feature page shows what those reports look like.

For a quick check on a single item, the free profit margin calculator turns cost and price into markup and margin in one step. Use it to test a new price before you change the shelf tag. The SayHisaab Basic plan is free during beta if you want to see your own margins come out of your own sales.

Do this in SayHisaab: Reports and invoices

Frequently asked questions

What is the difference between markup and margin?

Markup is profit divided by cost. Margin is profit divided by selling price. On an item that costs $6 and sells for $10, profit is $4, so markup is 66.7% and margin is 40%. Both use the same dollars but a different base, which is why the two percentages never match. Check which one a supplier or report means before you compare numbers.

How do I price an item to hit a target margin?

Use this formula: selling price equals cost divided by one minus the target margin. For a $6 cost and a 40% target margin, the price is $6 divided by 0.60, which is $10. Round to a price that fits your shelf, such as $9.99 or $10.00, then check the margin again on the rounded price before you print the tag.

How do I convert a markup to a margin?

Divide the markup by one plus the markup. A 50% markup is a 33.3% margin, because 0.50 divided by 1.50 is 0.333. To go the other way, divide the margin by one minus the margin. A 40% margin is a 66.7% markup, because 0.40 divided by 0.60 is 0.667. The conversion table in this guide covers the common pairs.

Does a discount change my margin?

Yes, and the whole discount comes out of profit. An item that costs $6 and sells for $10 earns $4, a 40% margin. Take 20% off and the sale is $8, so profit falls to $2 and margin falls to 25%. You would need to sell twice as many units to earn the same profit, so check the margin before you plan any sale.

Should my profit report use markup or margin?

Use margin, often called gross margin, when you review profit. It shows how many cents of each sales dollar are left after the cost of goods, and it matches how a profit and loss statement is laid out. Use markup when you set prices, since it tells you what to multiply cost by. Keeping both on your price sheet keeps the two numbers consistent.

Written by

SayHisaab Team

The SayHisaab team builds simple AI bookkeeping for small shops. We write about customer credit, inventory and plain-language accounting.

Start free