عربي Talk to us

Free tool · 07

Profit margin and selling price calculator

Enter the cost and a target margin or markup, choose the country, and get the selling price before and after VAT, the equivalent margin and markup, and what mixing them up would cost you.

  • Margin, markup and each country's VAT rate
  • Schedule and balanced entries, updated instantly
  • Runs in your browser; no figures are stored

Illustrative · nothing is stored · not tax advice

The explainer

Margin or markup: the difference that changes your price

Margin and markup both describe the same profit, but against a different base. Margin is profit as a share of the selling price; markup is profit as a share of cost. Confusing the two is one of the most common pricing mistakes, and it quietly costs profit on every sale.

The formulas

  • Margin = (price − cost) ÷ price. Price for a target margin = cost ÷ (1 − margin).
  • Markup = (price − cost) ÷ cost. Price for a target markup = cost × (1 + markup).
  • Markup = margin ÷ (1 − margin), and margin = markup ÷ (1 + markup).

Worked example (the calculator's default figures)

A product costs 700 and you want a 30% margin.

LineAmountShare of price
Cost70070%
Profit30030%
Price before VAT: 700 ÷ (1 − 30%)1,000100%

The same 300 of profit is a 30% margin on the price of 1,000 and a 42.86% markup on the cost of 700.

The classic mistake

You want a 30% margin, so you add 30% to the cost: 700 × 1.30 = 910. The profit is 210, a margin of only 210 ÷ 910 = 23.08%, and you earn 90 less on every unit. On 1,000 units a month that is 90,000 of profit you planned for and never made.

Then add VAT

VAT is added on top of your price and paid over to the tax authority; it is not part of your profit. Work out the margin on the price before VAT, then add the VAT of the country where you sell:

CountryVATVAT on 1,000Price including VAT
Egypt14%1401,140
Saudi Arabia15%1501,150
UAE5%501,050
Oman5%501,050
Kuwait, Qatarnot applied01,000

Working back from a VAT-inclusive price: price before VAT = gross price ÷ (1 + rate). In Saudi Arabia, 1,150 ÷ 1.15 = 1,000. Kuwait and Qatar do not apply VAT as of October 2026.

Quick reference

Margin you wantMarkup to add to cost
10%11.11%
20%25.00%
25%33.33%
30%42.86%
40%66.67%
50%100.00%

A margin can never reach 100%, because the profit can never be the whole price. A markup has no such limit.

Discounts eat margin fast

A 10% discount on the 1,000 price brings it to 900. The cost is still 700, so profit falls from 300 to 200: a third of the profit is gone, and the margin drops to 22.22%. Before agreeing a discount, work out the extra volume you would need just to stand still.

Common mistakes

  • Adding a markup when you mean a margin.
  • Calculating margin on a VAT-inclusive price.
  • Using a cost that leaves out freight, customs duties or packaging.
  • Reading a healthy gross margin as profit: rent, salaries and other overheads still have to come out of it.
Gross margin in the accounts

In the income statement, gross margin = (revenue − cost of sales) ÷ revenue, with both before VAT. If your actual gross margin is well below your pricing margin, look for discounts, waste, stock losses or costs missing from your price build-up.

FAQ

Questions that come up about this treatment

What is the difference between margin and markup?

Margin = profit ÷ selling price; markup = profit ÷ cost. A product costing 700 and selling for 1,000 makes 300 of profit: a 30% margin and a 42.86% markup. Same profit, different base.

How do I price for a target margin?

Price = cost ÷ (1 − margin). For a 30% margin on a cost of 700: 700 ÷ 0.70 = 1,000. Adding 30% to the cost gives only 910, a real margin of 23.08%.

Do I work out margin before or after VAT?

Always before. VAT is collected from the customer and paid over to the tax authority, so it is neither revenue nor profit. Set the price before VAT, then add 14% in Egypt, 15% in Saudi Arabia, or 5% in the UAE and Oman. Kuwait and Qatar do not apply VAT as of October 2026.

Contact

We start with your books as they are

Tell us where things stand and we reply with a specific first step. No commitment until you see the scope in writing.

  1. 01
    A WhatsApp messageYour business, country and current accounting system.
  2. 02
    A diagnostic sessionWe review the state of the books and what the business actually needs.
  3. 03
    An engagement letterFamilies in scope, the closing calendar and the monthly fee.
  4. 04
    The first closeReconciled books and the first reporting pack, on the calendar.
WHATSAPP +20 10 1380 5252
Follow us
Send your situation in a minuteWe receive your request and WhatsApp opens with a ready message
What do you need?