How the calculation works
From an amount excluding VAT, the VAT is the amount multiplied by the rate, rounded to the centime, and the total including VAT is the amount plus that VAT. At 20 %, 1 000,00 excluding VAT gives 200,00 of VAT and 1 200,00 including VAT. At 10 %, the same amount gives 100,00 of VAT and 1 100,00 including VAT. An exempt sale carries no VAT: the amount including VAT equals the amount excluding VAT.
From an amount including VAT, the amount excluding VAT is the total divided by 1.20 at 20 %, or by 1.10 at 10 %. 1 200,00 including VAT at 20 % is 1 000,00 excluding VAT. The calculator then recomputes the VAT forward from that amount, the way an invoice does, so the three figures always add up.
Rounding to the centime
Every amount is computed in whole centimes, without decimal approximations, and rounded once, half away from zero: 0,005 becomes 0,01. These are the rules Signa uses for each invoice line. Because of the rounding, a few amounts including VAT cannot be reached exactly from any amount excluding VAT: 999,99 including VAT at 20 % would need 833,325 excluding VAT, and 833,33 gives 1 000,00 including VAT. In that case the calculator shows the nearest amount excluding VAT and the total it really gives, and says so.
Which rates are offered
Since 1 January 2026, Morocco has two VAT rates, 20 % and 10 %, and some sales are exempt. The 14 % and 7 % rates applied until 31 December 2025 and are not offered here. This calculator does not tell you which rate applies to what you sell: that depends on your activity, and your accountant can confirm it.
Nothing you type leaves your browser: there is no account, no server and nothing is stored. To make a whole invoice, try the free invoice generator; to know when it must be paid, the due date calculator.
Questions about VAT calculation
How do I go from an amount excluding VAT to one including VAT?
Multiply the amount excluding VAT by 1.20 at 20 %, or by 1.10 at 10 %, and round to the centime. An exempt sale keeps the same amount.
How do I go from an amount including VAT to one excluding VAT?
Divide the amount including VAT by 1.20 at 20 %, or by 1.10 at 10 %, and round to the centime. The VAT is then the difference, recomputed from the amount excluding VAT.
Are the 14 % and 7 % rates still in force?
No. They applied until 31 December 2025. Since 1 January 2026 the rates are 20 % and 10 %, plus exemption.
Is what I type sent anywhere?
No. The calculation runs in your browser. Nothing is sent to a server and nothing is stored.