Skip to main content

Microtec

Profit Margin and Selling Price Calculator

Cost 80, price 100: one profit, two different percentages.

SAR
SAR

How was this calculated?

Enter what an item costs you and what you sell it for, and this profit margin calculator shows the margin and the markup side by side, in Saudi riyals, because confusing the two is the most common pricing mistake. The Price from margin tab works backwards: give it a cost and the margin you want, and it returns the selling price with 15% VAT and a rounded shelf price. Distributors get a wholesale tiers tab, and shops can price a whole product list in one go.

Short answerMargin = profit ÷ selling price. Markup = profit ÷ cost. An item that costs SAR 80 and sells for SAR 100 makes SAR 20: a 20% margin and a 25% markup.

How to calculate profit margin and profit percentage

Profit margin is profit as a share of the selling price: out of every SAR 100 you sell for, how much is left after cost. Markup is profit as a share of cost: how much you added on top of what you paid. The profit in riyals is the same in both; only the number you divide by changes.

Profit = Price − Cost  ·  Margin = Profit ÷ Price  ·  Markup = Profit ÷ Cost

Example 1: an item costs SAR 80.00 and sells for 100.00. Profit is 20.00, margin 20 ÷ 100 = 20%, markup 20 ÷ 80 = 25%.
Example 2: cost 45.00, price 60.00. Profit is 15.00, margin 25%, markup 33.33%.

Margin vs markup: why a 25% markup is only a 20% margin

Adding 25% to a cost of SAR 80 adds SAR 20, because 25% of 80 is 20. Margin is measured against the selling price of SAR 100, so those 20 riyals become 20% of it. The same profit is divided once by a small number (cost) and once by a bigger one (price), which is why markup is always the higher figure.

The trap: a retailer decides on "a 25% margin", adds 25% to cost and ends up with 20%. For a real 25% margin, divide the cost by 0.75: 80 ÷ 0.75 = 106.67, a difference of SAR 6.67 on every item.

Profit marginEquals a markup ofPrice of an item costing 100
10%11.11%111.11
20%25%125.00
25%33.33%133.33
30%42.86%142.86
40%66.67%166.67
50%100%200.00

Markup = Margin ÷ (1 − Margin)  ·  Margin = Markup ÷ (1 + Markup)

Pricing products from cost and a target margin

Start with the full landed cost of the item: purchase price, freight, customs duty if any, and packaging. Then decide the margin you need to cover rent and salaries and still leave a profit. The selling price is the cost divided by (1 − margin); if you think in markup, multiply the cost by (1 + markup).

Price = Cost ÷ (1 − Margin)  ·  Price = Cost × (1 + Markup)

Example 3: cost SAR 80.00 and a target margin of 25%. The price before VAT is 106.67, and with 15% VAT 122.67. Rounded up to a .95 ending, the shelf price is 122.95, so the price before VAT is 106.91 and the actual margin 25.17%.

Margin is always worked out on the price before VAT, because VAT is collected from the buyer and paid over to the Zakat, Tax and Customs Authority in Saudi Arabia; it is never your profit. That is why the tool finds the net price first, adds 15%, and only then rounds the inclusive price the customer sees.

Charm pricing endings such as 9.95

Many shops price at .95, .99 or a whole riyal. The calculator always rounds up, so the margin never drops below the one you set, and it shows the actual margin after rounding. On cheap items rounding can lift the margin by several points, so check the price before you print the label.

Wholesale price by quantity tiers

Wholesalers and distributors accept a lower margin as the quantity grows, because a big order covers the cost of the visit and the delivery in one go. In the Wholesale tiers tab you enter the cost, then for each tier the quantity it starts at and the margin you accept, and the unit price and profit for each tier appear.

Example 4: a carton costs SAR 20.00. From 1 unit at a 35% margin the price is 30.77; from 12 units at 28% it is 27.78; from 48 units at 22% it is 25.64.

Pricing a product list in one go

In the Product list tab you type items and their costs, or upload a file with the item name in column A and the cost in column B, and every item is priced at the same margin. Download the list in Excel and it keeps real formulas: one margin cell that reprices everything when you change it, plus empty rows ready for items you add later.

Example 5: four grocery items at a 30% margin: rice costing 38.50 sells for 55.00, oil costing 14.20 for 20.29, sugar costing 7.80 for 11.14, and tea costing 11.60 for 16.57. Load it with the "Example: four grocery items" button.

Gross profit and net profit

Gross profit is sales minus the cost of goods sold, which is what this tool works out per item. Net profit comes after every expense is deducted: rent, salaries, electricity, card payment fees. So gross margin is always higher than net margin, and it has to be big enough to cover the expenses before any profit is left.

Common pricing mistakes

  • Adding a percentage to cost and calling it margin, so the real margin is lower.
  • Working out margin on the VAT-inclusive price, which makes profit look bigger than it is.
  • Pricing from the purchase price alone, without freight, packaging and shrinkage.
  • Offering a discount close to the margin, so the item sells at cost or at a loss.
  • Leaving prices unchanged after purchase costs rise, so the margin shrinks without anyone noticing.

What to do with the result

Compare the margin you got with what you need to cover the store's monthly expenses, then set the shelf price. Download the working as a PDF to show your partner, or the product list in Excel to keep editing it.

When costs change with every shipment

Pricing one item takes a minute. A store with hundreds of items, where purchase costs move with every supplier invoice, needs each item's margin from actual sales rather than an old spreadsheet. At Microtec we offer retailers in Saudi Arabia O-Green, a cashier and point of sale system for retail. Try it with your own items and current prices.

Frequently asked questions

How do I calculate profit margin?

Subtract the cost from the selling price, divide the profit by the selling price and multiply by 100. An item costing SAR 80 and selling for SAR 100 has a 20% margin.

How do I calculate profit as a percentage of cost?

Divide the profit by the cost and multiply by 100; that figure is the markup. An item costing SAR 80 and selling for SAR 100 makes 25% on cost.

What is the difference between margin and markup?

Margin divides profit by the selling price; markup divides it by the cost. The profit is the same, but markup is always higher: a 25% markup equals a 20% margin.

How do I set a selling price from cost and margin?

Divide the cost by one minus the margin. For a cost of SAR 80 and a 25% margin, the price is 80 ÷ 0.75 = SAR 106.67 before VAT.

Should profit margin be calculated before or after VAT in Saudi Arabia?

Before VAT. The 15% VAT is collected from the buyer and paid to the Zakat, Tax and Customs Authority, so it is not part of your profit. Price the item excluding VAT, then add VAT.

What is a good profit margin for a retail store?

There is no single figure; margin depends on the trade, the item, the rent and the competition. Work out your monthly expenses and expected sales, and the right margin is the one that covers them and leaves a profit.

Can I download the pricing in Excel?

The product list downloads in Excel with a single margin cell that drives every price; the other tabs download as PDF. We ask for your name, email and mobile before the first file only, and the calculation on screen never depends on it.

↑