Skip to content
BILLX

Tax and regulations

Morocco VAT calculation 2026: from net (HT) to gross (TTC), with examples

The formulas for calculating VAT in Morocco in 2026, from net to gross and from gross to net, with worked examples at 20% and 10%, rounding to the cent and the mistakes to avoid.

By BILLX team5 min read

Also available in:FrançaisالعربيةEspañolⵜⴰⵎⴰⵣⵉⵖⵜ

Calculator on a folder of tax documents, with pens and colourful numbers

Calculating VAT in Morocco is an everyday task: pricing a quote, checking a supplier invoice or finding the net amount behind a price shown including tax. The formulas are simple, but working in the wrong direction, for example taking 20% off a gross price, gives the wrong VAT amount and therefore a wrong return.

Here are the VAT rates in Morocco in 2026, the three formulas you need (net to gross, gross to net, VAT amount) and worked examples checked to the cent. In Morocco, net is written HT (hors taxe) and gross TTC (toutes taxes comprises). To go faster, the Morocco VAT calculator does all of this for free, line by line.

Calculator on a folder of tax documents, with pens and colourful numbers
Photo: Pexels

Calculating VAT in Morocco, step by step

  1. VAT rates in Morocco in 2026

    Article 99 of the 2026 General Tax Code (CGI) provides for two rates: 20%, the standard rate, and 10%, the reduced rate, which only covers the transactions listed in the article, such as accommodation, catering and services provided by café operators. The 7% and 14% rates no longer exist. Some transactions are exempt (art. 91 and 92) or out of scope (art. 89): no VAT is invoiced. The details are in our guide to VAT in Morocco.

  2. Morocco VAT calculation: from net (HT) to gross (TTC)

    The formula: VAT = net × rate, then gross = net + VAT. In other words, gross = net × 1.20 at 20% and net × 1.10 at 10%.

    • At 20%: MAD 4,500.00 net → VAT MAD 900.00 → MAD 5,400.00 gross.
    • At 10%, for a group meal in a restaurant: MAD 2,350.00 net → VAT MAD 235.00 → MAD 2,585.00 gross.
  3. From gross (TTC) to net (HT): divide, never subtract a percentage

    The formula: net = gross ÷ (1 + rate), then VAT = gross − net.

    • At 20%: MAD 6,000.00 gross ÷ 1.20 = MAD 5,000.00 net, so MAD 1,000.00 of VAT.
    • At 10%: MAD 1,650.00 gross ÷ 1.10 = MAD 1,500.00 net, so MAD 150.00 of VAT.

    The classic mistake is 6,000 × 20% = MAD 1,200, or 6,000 × 0.80 = MAD 4,800 net. The 20% applies to the net amount, not to the gross: this shortcut overstates the VAT by MAD 200.

  4. Finding the VAT amount from the gross price

    When you only have the gross amount, a shortcut skips the net step: at 20%, VAT = gross ÷ 6 (because 20/120 = 1/6); at 10%, VAT = gross ÷ 11 (because 10/110 = 1/11). With the examples above: 6,000.00 ÷ 6 = MAD 1,000.00 and 1,650.00 ÷ 11 = MAD 150.00. The result is the same.

  5. An invoice with several lines, quantity and discount

    On an invoice, each line is calculated separately: line net = price × quantity − discount. Example at 20%:

    • Line 1: 12 × 350.00 = MAD 4,200.00, 10% discount (MAD 420.00) → MAD 3,780.00 net, VAT MAD 756.00.
    • Line 2: 3 × 125.50 = MAD 376.50 net, VAT MAD 75.30.
    • Totals: MAD 4,156.50 net, MAD 831.30 of VAT, MAD 4,987.80 gross.

    If lines have different rates, total the VAT per rate: the invoice must show the VAT amount separately (art. 145-III-6°). See the mandatory invoice details.

  6. Rounding to the cent

    Each line is rounded to two decimals, half up (0.005 becomes 0.01), then the lines are added up. Example at 20%: MAD 99.99 gross ÷ 1.20 = 83.325, rounded to MAD 83.33 net; the VAT is 99.99 − 83.33 = MAD 16.66. This is the rule used by our HT ↔ TTC VAT calculator and by BILLX invoices, so both give the same total.

  7. From invoiced VAT to VAT payable

    The VAT on your sales is VAT collected. In general you pay over the difference between this VAT collected and the deductible VAT on your purchases (art. 101). The return is monthly if taxable turnover for the previous year reaches MAD 1,000,000, and quarterly below that (art. 108). To work it out, use the VAT collected and deductible VAT tool.

Default VAT rate for some sectors in 2026 (to be confirmed for your exact activity)
SectorDefault rateLegal basis (CGI 2026)Certainty
Restaurants10%Art. 99-B-1°Legal rate
Hotels and accommodation10%Art. 99-B-1°Legal rate
Road freight transport10% since 1 January 2026Art. 247-XXXXI-GSubject to conditions
Consulting, audit and accounting20%Art. 89-I-12°Legal rate
Building and construction20% (social housing exempt)Art. 89-I-4° and 92-I-28°Legal rate
Pharmaceutical productsExempt with right to deductArt. 92-I-19°Subject to conditions
Retail20%Art. 99-AIndicative
Shopkeeper working out his sales with a calculator behind the counter of his shop
Photo: Pexels

Frequently asked questions

How do I calculate 20% VAT in Morocco?

Multiply the net amount by 0.20 to get the VAT, then add it to the net. Example: MAD 1,000.00 net → MAD 200.00 of VAT → MAD 1,200.00 gross.

How do I go from a gross price to a net price?

Divide the gross amount by 1.20 at 20% or by 1.10 at 10%. Example: MAD 1,100.00 gross at 10% → MAD 1,000.00 net and MAD 100.00 of VAT.

Does the 14% rate still exist in 2026?

No. Under article 99 of the 2026 CGI, only 20% and 10% remain. The transitional rates of the reform started in 2024 have reached their final level.

Does an auto-entrepreneur charge VAT?

Their situation is specific: read our article on tax for auto-entrepreneurs in Morocco and have an accountant confirm your case.

← All blog articles