Margin and selling price calculator

Start from your landed cost to set a selling price excl. and incl. VAT, or start from a selling price to see your real margin. VAT at 20 %, 10 % or exempt.

Selling price excl. VAT = landed cost ÷ (1 − margin on price), or cost × (1 + markup on cost). The margin rate (taux de marque) is measured on the price, the markup (taux de marge) on the cost: a 25 % margin equals a 33.33 % markup.

I start from…
MAD
MAD

Optional: freight, forwarding, customs, insurance…

Margin target
%

Share of the margin in the selling price excl. VAT, below 100 %. Example: 25.

VAT on the sale

Result

Enter a purchase price and a target to see the result.

Indicative tool, computed in your browser: no figure is sent anywhere. Amounts are rounded to the centime; check the VAT rate for your product with your accountant.

How do I use the calculator?

Results update as you type.

  • Enter the purchase price excl. VAT and, if any, the landed costs excl. VAT: together they make the landed cost.
  • To set a price, pick a target (margin on price, markup on cost or multiplier) and enter its value.
  • To check an existing price, pick “my selling price” and enter the price incl. VAT (or excl. VAT).
  • Pick the VAT on the sale: 20 %, 10 % or exempt. Copy the result into a quote or a spreadsheet.

What is the difference between markup and margin?

Both measure the same margin (selling price excl. VAT − landed cost), on a different base. The margin on price (French “taux de marque”) divides it by the selling price; the markup on cost (“taux de marge”) divides it by the cost. For the same product, the markup is always higher than the margin on price.

The multiplier is the ratio between selling price and cost, usually excl. VAT on both sides; retailers also use a multiplier incl. VAT on cost excl. VAT. The calculator shows both.

  • Margin = selling price excl. VAT − landed cost excl. VAT
  • Margin on price = margin ÷ selling price × 100, so price = cost ÷ (1 − margin on price)
  • Markup on cost = margin ÷ cost × 100, so price = cost × (1 + markup)
  • Multiplier = selling price excl. VAT ÷ cost = 1 ÷ (1 − margin on price)
Margin on price, markup on cost and multiplier
Margin on priceMarkup on costMultiplier
10 %11.11 %1.1111
20 %25 %1.25
25 %33.33 %1.3333
30 %42.86 %1.4286
40 %66.67 %1.6667
50 %100 %2

Example: an item bought for MAD 900

You buy an item for MAD 900 excl. VAT and pay MAD 100 freight: the landed cost is MAD 1,000. You aim for a 25 % margin on price and sell with 20 % VAT.

If you mistakenly apply 25 % on the cost (markup), you sell at MAD 1,250.00 excl. VAT, MAD 1,500.00 incl. VAT: the margin drops to MAD 250.00 and the margin on price to 20 %. The “my selling price” mode shows exactly that from MAD 1,500 incl. VAT.

Landed cost MAD 1,000 excl. VAT, VAT 20 %
25 % margin on price25 % markup on cost
Selling price excl. VATMAD 1,333.33MAD 1,250.00
VAT (20 %)MAD 266.67MAD 250.00
Selling price incl. VATMAD 1,600.00MAD 1,500.00
Margin excl. VATMAD 333.33MAD 250.00
Margin on price25.00 %20.00 %
Markup on cost33.33 %25.00 %

Which VAT rates apply in 2026?

Since the reform started by the 2024 Finance Law and completed in 2026, Moroccan VAT has a standard rate of 20 % and a reduced rate of 10 %, plus exempt operations. VAT does not change the margin: it is added to the price excl. VAT and paid over to the State, after deducting the VAT on your purchases.

Sources

  1. Moroccan tax administration (tax.gov.ma): General Tax Code and circulars
  2. EcoActu (28/02/2026): the tax administration publishes its circular on the 2026 Finance Law measures (in French)
  3. Upsilon Consulting: Moroccan VAT reform 2024–2026 (advisory firm, in French)

Sources checked on 13/10/2026. This tool does not replace your accountant’s advice.

Frequently asked questions

How do I get a selling price from a margin on price?

Divide the landed cost by (1 − margin on price). With a cost of MAD 1,000 and a 25 % margin on price, the selling price excl. VAT is 1,000 ÷ 0.75 = MAD 1,333.33.

Markup or margin on price: which one should I use?

Both are correct when named clearly. The margin on price reads against revenue (the share of margin in each dirham sold); the markup reads against cost. Always state the base before comparing two figures.

What goes into landed costs?

Costs paid to bring the goods into your stock: freight, forwarding, customs duties, insurance. Added to the purchase price excl. VAT, they give the landed cost used to compute the margin.

Is VAT part of the margin?

No. The margin is computed excluding VAT: the VAT collected on the sale is owed to the State. The calculator adds it only to show the price incl. VAT.

Why is a 100 % margin on price impossible?

Because the margin would equal the selling price, so the cost would be zero. To double the cost you need a 50 % margin on price, which is a 100 % markup and a multiplier of 2.

A landed cost kept up to date at every receipt

In Nizam, the landed cost includes import fees and the weighted average cost is updated at every receipt; the 2026 Moroccan VAT (20 %, 10 %, exempt) comes preconfigured.