Skip to main content

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.

Country
Calculation

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.

Formulas
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

Margin and markup in UAE dirhams
StepWorkingResult
CostInputAED 80.00
Selling priceInputAED 100.00
ProfitAED 100.00 - AED 80.00AED 20.00
MarginAED 20.00 / AED 100.0020.0%
MarkupAED 20.00 / AED 80.0025.0%

From a margin you want

Price for a target margin, in UAE dirhams and Omani rials
StepUAE (AED, 2 decimals)Oman (OMR, 3 decimals)
CostAED 60.00OMR 60.000
Margin you want40%40%
Selling price before VATAED 100.00OMR 100.000
Markup it implies66.7%66.7%
Price including 5% VATAED 105.00OMR 105.000
A 40% margin on a cost of AED 60.00 is a price of AED 100.00, because the cost divided by one minus the margin gives that price. The price is a 66.7% markup on the cost.

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.

Currency, decimals and standard VAT by country
CountryCurrency and decimalsStandard VATAuthority
Saudi ArabiaSAR, 2 decimals15%ZATCA
United Arab EmiratesAED, 2 decimals5%FTA / MoF
OmanOMR, 3 decimals5%OTA
BahrainBHD, 3 decimals10%NBR
QatarQAR, 2 decimalsNo VAT in forceGTA
KuwaitKWD, 3 decimalsNo VAT in forceMoF
Standard rates only. Zero-rated and exempt supplies are treated differently: confirm with the tax authority.

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.

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).

Download for WindowsWindows 10/11 · 64-bit · choose your country edition
Download for macOSmacOS 13+ · Apple chip or Intel chip · choose your country edition
Try the demo (opens in a new tab)Runs in your browser · sample data

All downloads, checksums and install guideSee pricingTalk to us