Sales & inventory

How to calculate product profit margin: margin vs markup, with AED examples

A 30% markup is not a 30% margin, and neither survives freight, discounts and returns untouched. Here are the formulas, the worked examples and the checks that protect real profit.

How to calculate product profit margin: margin vs markup, with AED examples – Nashora guide cover

How do you calculate product profit margin?

Profit margin = (net selling price − true unit cost) ÷ net selling price × 100, using prices excluding VAT and a cost that includes freight and duty. A product costing AED 80 and sold for AED 100 has a 20% margin. Nashora adds below-cost checks and profitability reports.

A salesperson in Sharjah tells the owner that a product has a "30% profit". The owner is delighted. At the end of the quarter the accounts show far less money than 30% of sales, and nobody can say where it went. When the owner finally asks how the 30% was worked out, the answer is: "We add 30% to the cost." That is a markup of 30%, which is a margin of only 23.1%, and that is before freight, duty, discounts, returns and everything else that eats into the number.

This guide explains how to calculate product profit margin properly: the difference between margin and markup, gross and net margin, worked examples in AED, why landed cost and discounts matter, why VAT is not part of your revenue, and how to set up margin checks so a loss-making price does not reach the customer.

Why the price tag is not your profit

Profit is what is left after you have paid for the goods, and a price that looks healthy on a quotation can still lose money by the time the goods have been delivered, invoiced and paid for. Three things make the gap: the cost you used was not the real cost, the price you charged was not the price you kept, and some of the revenue you counted was never yours.

The real cost includes freight, customs and clearing charges for imports. The price you kept is after discounts, rebates and returns. And revenue should not include VAT, which you collect for the Federal Tax Authority. Once you correct all three, many products look different, a few look much better, and some are quietly losing money.

The good news is that the arithmetic is simple. It just needs to be done on the right numbers, the same way, every time.

Margin vs markup: same numbers, different answers

Both measures start from the same profit figure, which is the selling price minus the cost. They differ in what they divide by.

ProfitAED 100 − AED 80 = AED 20
Selling priceAED 100, excluding VAT
Margin20% (the markup on cost is 25%)
Same sale, two answers: dividing by the price gives margin, dividing by the cost gives markup.
  • Profit margin = profit ÷ selling price × 100. It tells you what share of each dirham of sales you keep.
  • Markup = profit ÷ cost × 100. It tells you how much you added to cost to arrive at the price.

Say a product costs you AED 80 and you sell it for AED 100, excluding VAT. Profit is AED 20. The margin is 20 ÷ 100 = 20%. The markup is 20 ÷ 80 = 25%. Same product, same sale, two correct numbers, and they will never be equal unless the profit is zero.

The problem is mixing them up. Margin can never reach 100%, because you cannot keep more than the whole price. Markup can be 100% or 200% or more. If a supplier says "we work on 50% margin" and your team hears "50% markup", the price will be wrong by a wide margin: a 50% markup is only a 33.3% margin.

Converting markup to margin, and back

Two formulas let you move between the two, using decimals (30% = 0.30):

  • Margin = markup ÷ (1 + markup)
  • Markup = margin ÷ (1 − margin)

The table shows common markups, the margin each one really gives, and the selling price on an item that costs AED 100.

Markup converted to margin, on an item that costs AED 100 (excluding VAT)
Markup on costSelling price (AED)Profit (AED)Profit margin
10%110109.09%
15%1151513.04%
20%1202016.67%
25%1252520.00%
30%1303023.08%
40%1404028.57%
50%1505033.33%
75%1757542.86%
100%20010050.00%

And in the other direction, if you want a particular margin, you need a larger markup than most people expect:

Margin you want, and the markup on cost you need to get it
Target marginMarkup neededPrice if cost is AED 100 (AED)
10%11.11%111.11
20%25.00%125.00
25%33.33%133.33
30%42.86%142.86
40%66.67%166.67
50%100.00%200.00

Gross margin, operating margin and net margin

When people say "margin" without a qualifier they usually mean gross margin, which only deducts the cost of the goods sold. It is the right number for judging a product, a price list or a supplier. It does not tell you whether the company makes money, because rent, salaries, marketing and other costs sit below it.

  • Gross margin = (revenue − cost of goods sold) ÷ revenue.
  • Operating margin = (gross profit − operating expenses) ÷ revenue.
  • Net margin = net profit ÷ revenue, after all expenses, interest and tax.

Here is an illustrative year for a small trading company, in AED, with revenue measured before VAT:

Illustrative gross, operating and net margin for one year (AED)
LineAmount (AED)As % of revenue
Revenue (excluding VAT)500,000100.0%
Cost of goods sold350,00070.0%
Gross profit150,00030.0% gross margin
Operating expenses (rent, salaries, transport and so on)110,00022.0%
Operating profit40,0008.0% operating margin

A 30% gross margin sounds comfortable, yet the owner keeps 8% before tax. That is why you cannot price from gross margin alone. It also explains why a 5% discount, which feels small, can take a very large bite out of the operating profit: 5% off AED 500,000 is AED 25,000, which is more than half of the AED 40,000 left. From 2023, UAE corporate tax at 9% applies to taxable profit above AED 375,000, so for larger businesses the net figure has one more deduction. Ask your tax adviser how it applies to you.

What really changes the margin: landed cost, discounts and returns

Take a product you buy from a supplier at AED 55 and list at AED 100. On paper the margin is 45%. Now follow what happens in the real business, using 1,000 units.

1Landed costFreight, duty and clearing raise the cost per unit
2DiscountsEvery dirham off the price comes straight out of profit
3ReturnsRefunded goods you cannot resell cost you twice
The three things that most often turn a planned margin into a smaller real one.
How a planned 45% margin shrinks on 1,000 units (AED, excluding VAT)
StepRevenueCostProfitMargin
Planned: list price AED 100, supplier price AED 55100,00055,00045,00045.0%
Add landed cost of AED 7 a unit (freight, duty, clearing)100,00062,00038,00038.0%
Add an 8% customer discount (net price AED 92)92,00062,00030,00032.6%
Add 30 returned units refunded and not resaleable89,24062,00027,24030.5%

Check the last line: 970 units kept × AED 92 = AED 89,240 of revenue, against AED 62,000 of cost for all 1,000 units, leaving AED 27,240, which is 30.5% of revenue. A planned 45% became 30.5%. Nothing went wrong, nothing was stolen, and no one made a mistake. The business simply forgot to count the costs that arrive after the price list is printed.

Landed cost

Freight, insurance, customs duty and clearing charges belong in the unit cost for imported goods. Our article on managing inventory in a trading company has a worked landed cost example for a sea shipment through Jebel Ali or the Sharjah ports.

Discounts and rebates

Every dirham you take off the price comes straight out of profit, because the cost does not fall with it. A discount that looks like "only 8%" is 8% of revenue, but on a 45% margin it removes nearly a fifth of the profit. Volume rebates and early payment discounts work the same way even when they are settled at the end of the year.

Returns and write-offs

A returned item that can be resold is just a delay. One that is damaged, expired or out of fashion is a loss: you refund the customer, the goods cost you the same, and you cannot sell them again. Keep a record of returns by product, because the same few items usually cause most of them.

VAT is not revenue, so leave it out of your margin

When you sell with 5% UAE VAT, the customer pays your price plus the VAT. That VAT belongs to the Federal Tax Authority and you pass it on through your VAT 201 return. It is not income, and it is not cost. So margin must be calculated on the price excluding VAT.

Imagine you sell an item for AED 1,000 plus VAT of AED 50, and the customer pays AED 1,050. The item cost you AED 800. The right calculation is (1,000 − 800) ÷ 1,000 = 20%. If someone divides by AED 1,050 and uses AED 250 as the profit, they get 23.8%, which is wrong because AED 50 of the money was never theirs.

The same applies on the buying side. If you are VAT registered and the VAT on your purchases is recoverable input tax, your cost is the price excluding VAT. If you are not registered, or the input VAT is not recoverable, it can become part of cost. Check the current rules with the FTA or your tax adviser. For more on how VAT is worked out, see our guide on how to calculate VAT in the UAE.

How to calculate product profit margin, step by step

Use this routine for any product. It takes a few minutes in a spreadsheet and a few seconds if your system already holds the numbers.

  1. Find the true unit cost. Start with the supplier price in AED and add landed cost: freight, insurance, customs duty and clearing, divided by the number of units. Use the average cost or FIFO cost your books use.
  2. Take the net selling price. Use the price after discounts and exclude VAT.
  3. Work out the profit. Net selling price minus true unit cost.
  4. Divide by the net selling price. Profit ÷ net selling price × 100 is the gross margin.
  5. Allow for returns and direct selling costs. Deduct the cost of returns, delivery you pay for and sales commission if you want a contribution margin.
  6. Compare it with your target. If the result is below target, change the price, the cost or the discount policy, and check the new number before you send the quotation.

Setting a price from a target margin

Often you start with the margin you want and need the price. The formula is price = cost ÷ (1 − target margin). With a true unit cost of AED 62 and a target gross margin of 30%, the price is 62 ÷ 0.70 = AED 88.57 before VAT. Check it: profit is 88.57 − 62 = AED 26.57, and 26.57 ÷ 88.57 = 30.0%.

With 5% VAT, the customer pays 88.57 × 1.05 = AED 93.00. Notice the trap in the shortcut. If you simply added 30% to the cost, you would charge 62 × 1.30 = AED 80.60, and the margin would be only 23.1%. For a longer look at price lists and quotations, see our guide to a sales system for UAE businesses.

Price lists and pricing rules in Nashora

The hardest part of margin management is not the formula. It is doing it for every product, every customer and every quotation, while prices and costs keep changing. This is where the CRM, sales and inventory module in Nashora is useful, and the points below are things the product does today.

Nashora Quotations and Sales Orders screen listing quotations by customer and salesperson, with one quotation flagged Needs price approval
On the quotation list, a quote that needs price approval is flagged, so a manager can check the price before it goes to the customer.
  • Price lists can be set per customer, per branch and per currency, so a wholesale customer and a walk-in customer do not share one price.
  • Pricing rules cover discounts and market prices, and set margin targets.
  • Price changes can go through approval, with the impact shown before you publish them, so a new price list does not silently lower margin.
  • Cost comes from the books. Freight and customs are added as landed costs, you choose average cost or FIFO, and the product cost history is kept.

On the quotation screen, a quote that needs price approval is flagged in the list, so a manager sees it before it goes to the customer.

Below-cost warnings and profitability reports

Pricing rules are only half the story. You also need to see what happened after the sale.

Nashora Inventory dashboard with a Below target margin card comparing selling price and cost with the actual margin and the target margin
The Below target margin card on the inventory dashboard lists products whose margin is under their pricing-rule target, with price, cost, margin and target side by side.
  • Below-cost checks on quotations warn you before a discount makes a price lose money, instead of after the sale.
  • Margin targets compare each price with the target you set. The inventory dashboard has a card for products below their pricing-rule target, showing selling price, cost, actual margin and target side by side.
  • Profitability reports by product, customer and branch use sales, purchasing and inventory data together, so you can see which customers pay for the business and which ones cost you money.
  • Reports export to Excel and PDF, for the owner or the accountant.

Because the stock valuation is reconciled to the books and the invoice posts to the ledger, the margin you see on a report is built from the same records your accountant uses, as described on our accounting and VAT software page. For more on how stock and sales fit together, read inventory and sales system for UAE traders.

Common mistakes when calculating margin

Common profit margin mistakes and how to avoid them
MistakeWhat happensBetter practice
Treating markup as marginPrices are too low; a 30% markup is only a 23.1% marginUse price = cost ÷ (1 − margin) when you start from a target margin
Using the supplier price as costImports look more profitable than they areAdd freight, duty and clearing as landed cost
Ignoring discounts and rebatesPlanned margin never appears in the accountsCalculate margin on the net price after discounts
Including VAT in revenueMargin looks about 5% better than it isWork only with amounts excluding VAT
Forgetting returns and write-offsRefunded goods cost you twiceTrack returns by product and include them in margin
Mixing currencies at old ratesCost in AED is out of date after a supplier price or rate changeUpdate cost on each receipt and review prices regularly
One average margin for everythingHides loss-making products and customersCheck margin by product, customer and branch
Checking margin only at month endLoss-making quotations are already deliveredUse below-cost and margin target checks while quoting

Who needs to watch margin most

Traders and wholesalers

Margins are thin, cost changes with every shipment and prices differ by customer. Landed cost and price lists per customer are the priority.

Distributors with field sales

Salespeople negotiate on the spot. Approval limits on discounts and below-cost warnings keep a good relationship from becoming an expensive one.

Retail with more than one branch

Profitability by branch shows which location earns its keep. Branch price lists let you set prices that suit each market.

Food, personal care and other dated goods

Margin has to cover the stock you sell and the stock that expires. Lot and expiry tracking shows what is nearing its date so you can sell it first.

Service companies that resell goods

If materials are billed to customers, margin on materials still matters. Cost centres and projects help tie costs to the job.

Serving businesses across the UAE

Nashora is based in Al Nahda, Sharjah, and used by businesses in Dubai, Sharjah, Abu Dhabi, Ajman, Ras Al Khaimah, Fujairah, Umm Al Quwain and Al Ain. Companies often keep a mainland company and a free zone company side by side, and Nashora keeps each company's books and TRN separate.

For margin work, the UAE points that matter are simple. Calculate on prices excluding the 5% VAT. Keep your tax invoices and records in order for the period required, because the same figures feed your VAT 201 return and the FTA Audit File. And remember that corporate tax at 9% above AED 375,000 of taxable profit makes accurate cost of goods sold matter at year end. Always confirm the treatment of your own situation with the FTA or your tax adviser. Plan details are on the pricing page: price lists, quotations and full inventory start in the Business plan.

What to do next

  1. Pick your top 10 products by sales. Calculate each one's true margin using the six steps above.
  2. Add landed cost to anything imported. Re-run the margin and note the difference.
  3. Agree one definition. Decide as a team that "margin" means profit divided by price, excluding VAT, and print the conversion table.
  4. Set a minimum margin per category. Make it the rule that quotations below it need a manager's approval.
  5. Review by customer once a quarter. Find the customers whose discounts and returns leave you with little profit.

If you want to see price lists, below-cost checks and profitability reports with your own products, book a free demo and bring a recent price list. The FAQ covers setup and plans, and the guide to inventory management software explains the stock side.

FAQ

Frequently asked questions

How do you calculate product profit margin?

Subtract the true unit cost from the net selling price, excluding VAT, then divide the profit by the selling price and multiply by 100. A product costing AED 80 and selling for AED 100 earns AED 20, a 20% margin. Use landed cost, not just the supplier price, for imported goods.

What is the difference between margin and markup?

Margin divides profit by the selling price; markup divides profit by the cost. On a product costing AED 80 and selling for AED 100, profit is AED 20, so margin is 20% and markup is 25%. Margin cannot exceed 100%, but markup can, which is why the two are often confused.

How do I convert markup to margin?

Divide the markup by one plus the markup, using decimals. A 30% markup becomes 0.30 divided by 1.30, or 23.08% margin. To go the other way, divide the margin by one minus the margin: a 20% margin needs a 25% markup. The conversion table in this guide covers common values.

What is a good profit margin for a trading business?

It varies widely by product, volume and competition, so there is no single right figure. Compare your gross margin with your own history and between product categories, then check that it covers operating expenses with something left. A thin margin on fast-moving goods can still work, if costs are controlled.

How do I calculate selling price from a target margin?

Divide the cost by one minus the target margin. With a cost of AED 62 and a 30% target, the price is 62 divided by 0.70, which is AED 88.57 before VAT. Adding 30% to cost instead would give AED 80.60 and only a 23.1% margin.

What is the difference between gross margin and net margin?

Gross margin only deducts the cost of goods sold from revenue, so it is used to judge products and prices. Net margin deducts all expenses, interest and tax, so it shows what the company keeps. In our example, gross margin was 30% and operating margin only 8%.

Should VAT be included when calculating profit margin?

No. VAT collected from customers belongs to the Federal Tax Authority and is not revenue, so calculate margin on prices excluding VAT. On a sale of AED 1,000 plus AED 50 VAT with a cost of AED 800, margin is 20%, not 23.8%. Recoverable input VAT on purchases is also not part of cost.

How does landed cost affect profit margin?

Freight, insurance, customs duty and clearing charges raise the real cost of imported goods. If you ignore them, margin looks higher than it is. In our example, AED 7 of landed cost on a AED 55 item cut the margin from 45% to 38% before any discount was given.

How do discounts and returns change my real margin?

Discounts reduce revenue while cost stays the same, so every dirham off the price comes straight out of profit. Refunded goods you cannot resell also cost you twice. In our example, a planned 45% margin fell to 30.5% after landed cost, an 8% discount and 30 unsaleable returns.

Can Nashora warn me when a price is below cost?

Yes. Nashora has below-cost checks and margin targets on quotations, price lists per customer, branch and currency, pricing rules for discounts and market prices, and approval for price changes. Profitability reports by product, customer and branch show the results afterwards. Price lists and quotations start in the Business plan.

How do I find which products and customers are least profitable?

Run a profitability report by product, customer and branch using true cost and net prices after discounts. Look for items with low margin and high volume, and customers with heavy discounts or returns. Nashora provides profitability reports by product, customer and branch, and exports them to Excel and PDF.

Do I need ERP software to track margin, or is Excel enough?

Excel is fine for a handful of products with stable costs. It breaks down when cost changes with every shipment, when many people discount and when you need margin by customer or branch, because someone must update every number by hand. An ERP keeps cost, price and sales in one place.

See Nashora with your own workflow

Book a free 30-minute online demo. We show the modules you care about, answer your questions and send a clear quote. Plans start from AED 2,508 a year.