Free tool · Pricing
Margin and markup calculator: find your profit and the shelf price
Enter a cost and a selling price to see profit, margin and markup, or enter the margin you want and read off the price. Pick your country for the currency and the VAT on the shelf price. Nothing is uploaded.
Last updated:
Published:
Calculate margin, markup and the price with VAT
In shortThis free calculator works out profit, margin and markup from a cost and a selling price, or finds the price that gives the margin you want. It uses the exact 2- or 3-decimal currency of the country you pick and, where VAT is in force, adds it to show the shelf price. Everything runs in your browser.
United Arab Emirates: standard VAT 5%. Enter cost and price before VAT.
Everything stays in your browser. Nothing is uploaded or saved.
Result
Enter the figures to see the result.
Amounts are held in whole fils and rounded half-up once; margin and markup are shown to one decimal place.
How margin and markup are worked out
In shortProfit is the selling price minus the cost. Margin divides profit by the selling price, while markup divides it by the cost, so the same sale always shows a smaller margin than markup. To reach a target margin, divide the cost by one minus the margin as a fraction. Results show one decimal place.
profit = price - cost
margin = profit / price
markup = profit / cost
price = cost / (1 - margin)Why margin is always the smaller number
Both figures use the same profit. Margin divides it by the selling price, which is larger than the cost, so the share is smaller. A 25.0% markup is a 20.0% margin, and a 100.0% markup is only a 50.0% margin. Mixing the two up is the usual reason a price comes out too low.
Prices are held in whole minor units
Amounts are converted to whole fils, halalas or baisa before any division, and the price for a target margin is rounded half-up once, to the currency's smallest unit. SAR, AED and QAR use 2 decimals; OMR, BHD and KWD use 3.
Worked examples, computed by the calculator
In shortA cost of AED 80.00 sold at AED 100.00 leaves AED 20.00 of profit: a 20.0% margin and a 25.0% markup. Going the other way, a cost of AED 60.00 with a 40% margin needs a price of AED 100.00, which is AED 105.00 with 5% VAT. Both are produced by the calculator's own functions.
From a cost and a price
| Step | Working | Result |
|---|---|---|
| Cost | Input | AED 80.00 |
| Selling price | Input | AED 100.00 |
| Profit | AED 100.00 - AED 80.00 | AED 20.00 |
| Margin | AED 20.00 / AED 100.00 | 20.0% |
| Markup | AED 20.00 / AED 80.00 | 25.0% |
From a margin you want
| Step | UAE (AED, 2 decimals) | Oman (OMR, 3 decimals) |
|---|---|---|
| Cost | AED 60.00 | OMR 60.000 |
| Margin you want | 40% | 40% |
| Selling price before VAT | AED 100.00 | OMR 100.000 |
| Markup it implies | 66.7% | 66.7% |
| Price including 5% VAT | AED 105.00 | OMR 105.000 |
VAT on the shelf price, country by country
In shortThe calculator adds the standard VAT rate of the country you pick to the selling price: 15% in Saudi Arabia, 10% in Bahrain, 5% in the UAE and 5% in Oman. Qatar and Kuwait have no VAT in force, so no VAT line appears. Rates come from this site's country data, reviewed on 20 November 2026.
Details per country: Saudi Arabia, UAE, Oman, Bahrain, Qatar, Kuwait. To add or take out VAT on any price, use the GCC VAT calculator.
| Country | Currency and decimals | Standard VAT | Authority |
|---|---|---|---|
| Saudi Arabia | SAR, 2 decimals | 15% | ZATCA |
| United Arab Emirates | AED, 2 decimals | 5% | FTA / MoF |
| Oman | OMR, 3 decimals | 5% | OTA |
| Bahrain | BHD, 3 decimals | 10% | NBR |
| Qatar | QAR, 2 decimals | No VAT in force | GTA |
| Kuwait | KWD, 3 decimals | No VAT in force | MoF |
What the result leaves out, and when to ask an accountant
In shortThe calculator treats one item at a time and uses the cost you type. It does not know freight, duty, discounts, returns or wastage unless you put them in the cost, and it cannot tell whether the VAT you pay on purchases is recoverable. Ask your accountant how your business treats those before you fix prices.
Use the landed cost
Add freight, duty and handling you pay to the purchase price, so the margin you see is the one you keep. The purchase and inventory module calculates landed cost per item.
Cost before VAT
Type the cost and the price before VAT. If you can recover the VAT you pay on purchases it is not part of your cost; whether that applies to you is a question for your accountant.
Discounts, returns and wastage
A discount on the shelf price lowers the margin, and returns or spoilage raise the real cost. Work out the margin after the discount you actually give.
Nothing is saved
Close the tab and the numbers are gone. The desktop app keeps item costs and prices with your stock; see the accounting module and download the app to try it on your own data.
Frequently asked questions
What is the difference between margin and markup?
Margin is profit as a share of the selling price. Markup is profit as a share of the cost. The same sale gives a smaller margin than markup: a 25.0% markup is a 20.0% margin. Use margin to judge a price and markup to add a profit to a cost.
How do I price an item for a 40% margin?
Divide the cost by 0.6, which is one minus 0.4. A cost of AED 60.00 gives a price of AED 100.00. Choose "I know the margin I want" in the calculator, type the cost and 40, and it returns the price, the profit and the price with VAT.
Should the cost include VAT?
Use the cost and the price before VAT. If your business can recover the VAT it pays on purchases, that VAT is not a cost. Whether you can recover it depends on your registration and your supplies, so ask your accountant.
Why is there no VAT line for Qatar or Kuwait?
Neither country has VAT in force, so the shelf price equals the selling price. The calculator still works in QAR (2 decimals) and KWD (3 decimals). If a VAT is introduced, the rate would come from this site's country data.
Is what I enter sent anywhere?
No. The calculation runs in your browser with no network request and nothing is stored. Closing or reloading the page clears what you typed. The only thing that can leave the page is a result you choose to copy or download.
Related pages
- GCC VAT calculatorFree GCC VAT calculator: add or extract VAT for Saudi Arabia (15%), Bahrain (10%), UAE (5%) and Oman (5%) with exact 2- and 3-decimal rounding.
- Credit note calculatorFree credit note calculator for Saudi Arabia, UAE, Oman and Bahrain: enter the invoice and the credit amount to see the VAT credited and what remains.
- Purchase & InventorySupplier purchase orders, landed-cost calculation, multi-warehouse transfers, batch and expiry tracking and low-stock alerts in an offline desktop ERP.
- Accounting & VAT ReportsChart of accounts, trial balance, P&L, balance sheet and VAT return reports with exact 2-decimal (SAR, AED, QAR) and 3-decimal (KWD, BHD, OMR) amounts.
- DownloadChoose your country edition of RaqamBooks, an early version, and download the Windows or Mac installer. SHA-256 checksums are published; it works offline.
No install needed
Download RaqamBooks and run your business offline
Install it on your own computer, keep your data local and avoid per-user monthly cloud fees. Early version for Windows 10/11 and macOS 13 or later (Apple chip and Intel chip).
All downloads, checksums and install guideSee pricingTalk to us