Calculatrice.ma
Quote & Invoice

VAT calculator for Morocco

Convert a price excluding tax into a price including tax, or find the net price and the VAT from a gross price, at the current Moroccan rates.

Morocco VAT / TVA Calculator

Pre-Tax Amount (HT): 1 000.00 DH
VAT Amount (TVA): 200.00 DH
Total Incl. Tax (TTC): 1 200.00 DH

VAT formulas

Gross (incl. VAT) = Net × (1 + rate)
Net = Gross ÷ (1 + rate)
VAT = Gross − Net

Examples

AmountRateResult
1,000 DH excl. VAT20%1,200 DH incl. VAT (VAT 200 DH)
1,200 DH incl. VAT20%1,000 DH excl. VAT (VAT 200 DH)
5,000 DH excl. VAT10%5,500 DH incl. VAT (VAT 500 DH)
2,140 DH incl. VAT7%2,000 DH excl. VAT (VAT 140 DH)

VAT rates in Morocco

  • 20%: the standard rate, applied by default to most goods and services.
  • 14%, 10% and 7%: reduced rates for the operations listed in the General Tax Code.
  • 0%: exempt operations.

Recent finance acts have reorganised several reduced rates. Check the rate that applies to your business with the tax authority (DGI) or your accountant.

A common mistake to avoid

To find the net price, do not take 20% off the gross price. 1,200 DH − 20% = 960 DH, while the real net price is 1,000 DH. Always divide by (1 + rate).

Need a complete invoice with ICE, IF and RC numbers? Use our quote and invoice generator.

Multipliers to remember

RateNet → GrossGross → NetVAT share of the gross price
20%× 1.20÷ 1.2016.67%
14%× 1.14÷ 1.1412.28%
10%× 1.10÷ 1.109.09%
7%× 1.07÷ 1.076.54%

The last column gives the VAT contained in a gross price: in 1,200 DH including VAT at 20%, VAT accounts for 16.67%, or 200 DH.

VAT on an invoice with several rates

When an invoice mixes several rates, calculate the VAT rate by rate, then add it up:

LineNetRateVATGross
Service8,000 DH20%1,600 DH9,600 DH
Supplies2,000 DH10%200 DH2,200 DH
Total10,000 DH1,800 DH11,800 DH

The invoice must show the net total, the VAT amount for each rate and the gross total. Our quote and invoice generator splits it automatically.

Discount and VAT: in which order?

The discount comes off the net price, and VAT is then calculated on the discounted amount. Example: 5,000 DH net with a 10% discount gives 4,500 DH net, then 900 DH of VAT at 20%, so 5,400 DH including VAT. To work out a percentage discount or increase, use our percentage calculator.

Output VAT, input VAT and VAT payable

A VAT-registered business collects VAT on its sales and recovers the VAT paid on its purchases. It pays the difference to the DGI:

VAT payable = Output VAT − Input VAT

Example for one month: 150,000 DH of net sales at 20% gives 30,000 DH of output VAT. With 90,000 DH of net purchases at 20%, input VAT is 18,000 DH. The VAT to pay is therefore 12,000 DH. When input VAT exceeds output VAT, the business has a VAT credit.

Frequently asked questions

How do I get the net price from a price including VAT?
Divide the gross amount by (1 + rate). At 20%: net = gross ÷ 1.2. For example, 1,200 DH including VAT gives 1,000 DH net.
What is the standard VAT rate in Morocco?
The standard rate is 20%. Reduced rates of 14%, 10% and 7% apply to certain operations defined by the General Tax Code.
How do I calculate the VAT amount?
Multiply the net amount by the rate: 1,000 DH × 20% = 200 DH of VAT.
Is the discount applied before or after VAT?
Before: the discount comes off the net price, then VAT is calculated on the discounted amount. 5,000 DH net minus 10% gives 4,500 DH net, so 5,400 DH including VAT at 20%.
How does a business calculate the VAT it owes?
VAT payable = VAT collected on sales − VAT deductible on purchases. With 30,000 DH collected and 18,000 DH deductible, 12,000 DH is left to pay.

Related tools