Docuboxer

Mexico and Spain VAT Calculator

Add VAT (IVA) to a net amount or take it out of a total, with the rates of Mexico and Spain.

100% local — your files are never uploaded to any serverNo signup · Free
Also in DataMexico Finiquito CalculatorMexico Aguinaldo CalculatorPDF to Excel ConverterXML FormatterUse it in the Suite with ⌘K and your history →

Country
What do you need?
VAT rate

8% is not a rate in the VAT Law: it is a tax incentive under the northern border region decree, in force until December 31, 2026. It only applies to those who sell, provide the service or lease from premises in that region, deliver the good or service there, and filed the notice with the SAT. It does not cover real estate, intangibles or digital content. If that is not your case, use 16%. Municipalities in the region

Only for what art. 2-A taxes at 0%, such as unprepared food and patent medicines. It is not the same as being exempt.

Example: 1,250.50

Estimate only: rounded to the cent, half up. It does not calculate withholding, IEPS (Mexico's excise tax), Spain's equivalence surcharge or special schemes. What you type is calculated in your browser and is not sent anywhere.

Enter an amount to see the VAT.

How do you calculate VAT in Mexico and Spain?

To add VAT (IVA), multiply the net amount by 1.16 in Mexico or by 1.21 in Spain at the standard rate; to take it out of a total, divide by the same number and the difference is the VAT. In Mexico, the VAT Law sets the standard rate at 16% and applies 0% to the items listed in its art. 2-A; the 8% border rate does not come from that law but a tax incentive with conditions, in force until December 31, 2026. In Spain, Law 37/1992 applies 21%, 10% and 4% (arts. 90 and 91). It rounds once, half up, so a breakdown sometimes cannot add up to the cent, and it tells you so. It does not calculate withholding, IEPS (Mexico's excise tax), Spain's equivalence surcharge or special schemes: it is an estimate. It is free, needs no sign-up and runs in your browser, so nothing you type is saved or sent.

How to use Mexico and Spain VAT Calculator

  1. Pick the country, Mexico or Spain. The selector only offers that country's rates, and switching country returns to the standard rate without touching the amount you already typed.
  2. Choose what you need: add VAT to a net amount, or take VAT out of a total that already includes it. The label of the amount field changes with your choice.
  3. Choose the rate. In Mexico: 16%, 8% (northern border region, with its conditions) and 0%. In Spain: 21%, 10% and 4%. If you are unsure, the standard rate is 16% or 21%.
  4. Type the amount with up to two decimals, such as 1,250.50. Read the breakdown with the calculation in view and copy the result with one click.

Privacy

Real privacy: Your files are never sent to a server, so no copy exists on any server, log or backup. Your browser keeps only the usage history (tool, date, file name and size, if any, and a generic error notice if something fails), and you can clear it in Recents.

Common use cases

Pricing a quote or an invoice with VAT

You have the net amount and need the total. MX$1,000.00 at 16% gives MX$160.00 of VAT and a total of MX$1,160.00. In Spain, €100.00 at 21% gives €21.00 of VAT and a total of €121.00.

Finding the net price on a receipt

You only know what was paid. Take the VAT out and you see the net amount and the tax separately: MX$100.00 at 16% is MX$86.21 plus MX$13.79 of VAT.

Checking the VAT on an invoice you received

Enter the invoice total and the rate it states, then compare the net amount and VAT with what is printed. If the gap is one cent, read the rounding adjustment note.

Selling in Mexico's northern border region at 8%

The 8% only applies to those who sell or provide the service from premises in the region, deliver there and filed the notice with the SAT. For MX$1,250.50 at 8%, the VAT is MX$100.04 and the total is MX$1,350.54.

Frequently asked questions

How do I take VAT out of a total?

Divide the total by 1 plus the rate: 1.16 in Mexico at 16%, 1.21 in Spain at 21%. The result is the net amount, and the VAT is the difference between the total and that net amount. For example, MX$1,160.00 ÷ 1.16 = MX$1,000.00, so the VAT is MX$160.00. In Spain, €121.00 ÷ 1.21 = €100.00 and the VAT is €21.00. With Mexico's 8% border rate the divisor is 1.08: MX$540.00 is MX$500.00 net plus MX$40.00 of VAT. The calculator shows the operation each time.

What VAT rates does Mexico have?

Mexico's VAT Law calculates the tax at 16% (art. 1). Art. 2-A applies 0% to certain goods, such as animals and plants that are not industrialized and patent medicines, and to products for human and animal food with the exceptions the law lists; food prepared for consumption on the premises is taxed at 16%. A 0% rate is not the same as being exempt. The 8% is not a rate in the law: it is a tax incentive under the northern border region decree, a credit of 50% of the rate, in force until December 31, 2026. It requires premises in the region, delivery there and a notice to the SAT, and it excludes real estate, intangibles and digital content.

What VAT rates does Spain have?

Spain's VAT Law (Law 37/1992) sets the standard rate at 21% (art. 90). Art. 91 sets 10% as the reduced rate and 4% as the super-reduced rate; the 4% operations include common bread, eggs and olive oils. Spanish VAT does not apply in the Canary Islands, Ceuta or Melilla (art. 3). Temporary cuts, such as the one for electricity and gas, change by decree: check the current rate with the Spanish Tax Agency (AEAT) before invoicing. The calculator offers the three rates and does not decide which product takes which one.

Why does the breakdown sometimes not add up?

Some totals do not come from any net amount rounded to the cent. Take €100.00 with VAT at 21%. The net amount is €82.64 (100.00 ÷ 1.21 ≈ 82.64) and the VAT is €17.36. But 21% of €82.64 ≈ €17.35, and 82.64 + 17.35 = €99.99. No net amount gives exactly €100.00 at that rate, so the calculator shows the VAT as the difference and flags it with a rounding adjustment note. The rounding, to the cent and half up, is a convention of this tool, not a legal rule.

Is VAT included in the price?

It depends on how the price is quoted, and the calculator covers both cases: adding VAT to a net amount, or taking it out of a total. What the law does say is that VAT is shown separately. In Mexico, the taxpayer passes it on “expressly and separately” (VAT Law, art. 1). In Spain, the output VAT is stated separately from the taxable base, indicating the rate applied (Law 37/1992, art. 88).

Is my data sent anywhere?

No. The calculation runs in your browser: the amounts you type are not saved or sent to any server. It is an estimate. It does not include withholding, IEPS, the equivalence surcharge or special schemes, and it does not replace an accountant or tax adviser.