VAT Calculator

Easily calculate VAT for your invoices with our accurate and user-friendly VAT calculator designed for Mexico, Spain, and beyond.

  • Instant result
  • No sign-up
  • Visible assumptions
  • Deterministic calculation

In 30 seconds: Quickly determine the correct VAT amount to ensure accurate billing and compliance with tax regulations. Deterministic calculation with auditable formulas. The result is indicative — adjust the assumptions to reflect your real operation.

Methodology

Add VAT:

VAT = Amount × (Rate ÷ 100)

Total = Amount + VAT

Remove VAT (extract from final price):

Base = Amount ÷ (1 + Rate ÷ 100)

VAT = Amount − Base

Variables

Amount
The amount to which you want to add or remove VAT.
Rate
Applicable VAT rate (16% in Mexico, 8% in the northern border zone).

Practical example

Add VAT: You have a service with a base price of $1,000 and need to add 16% VAT.

VAT = $1,000 × 0.16 = $160

Total = $1,000 + $160 = $1,160

Remove VAT: You receive an invoice for $1,160 and need to break out the VAT.

Base = $1,160 ÷ 1.16 = $1,000

VAT = $1,160 − $1,000 = $160

Interpretation

"Add VAT" computes tax on a base price to get the total with taxes.

"Remove VAT" extracts the tax from a price that already includes it, giving you the base and the tax amount.

In Mexico the general rate is 16%. The northern border zone uses 8%. Basic foodstuffs and medicines are zero-rated.

For invoicing, verify the breakdown matches: Base + VAT = Total. Rounding differences can cause rejection by the tax authority (SAT).

Assumptions and limitations

  • Uses the VAT rate you enter (default 16% for Mexico).
  • Does not apply differentiated rates by product or service type.
  • Does not consider VAT withholdings or credits.
  • For CFDI invoicing purposes, consult the specific SAT rules.

When to use this calculator

  • When preparing quotes for customers. Many businesses send prices without VAT and then the customer is surprised by the total. Always clarify whether your prices include VAT.

  • To verify supplier invoices. When you receive an invoice for $11,600, use "Remove VAT" to confirm that the base is $10,000 and the VAT is $1,600. An incorrect breakdown can cause SAT issues.

  • When you need to calculate transferred and creditable VAT for your monthly return. The VAT you charge customers (transferred) minus the VAT your suppliers charge you (creditable) is what you pay to SAT.

  • When setting prices for a marketplace or platform. Amazon, Mercado Libre and other platforms require prices with VAT included. You need to know exactly how much you'll receive after taxes.

  • To calculate the VAT impact on your cash flow. If you sell on 30-day credit but must declare VAT the month after invoicing, you can have a cash gap.

  • In Mexico's northern border zone, where the rate is 8% instead of 16%. If you sell both in the border zone and in the interior, you need to handle both rates correctly.

Common mistakes

  • Calculating VAT on an amount that already includes it. If a supplier says the price is $1,160 VAT-included, the VAT is not $1,160 × 0.16 = $185.60. The correct VAT is $160 (base of $1,000). Use "Remove VAT" for the right calculation.

  • Forgetting that some products and services have a 0% VAT rate. Unprocessed food, medicine, books and magazines are zero-rated. This doesn't mean they're exempt — they must be invoiced with 0% VAT, which allows crediting VAT on inputs.

  • Confusing zero-rated with exempt. Exempt transactions (such as medical or education services) do not generate transferred VAT NOR allow crediting VAT on related inputs. The tax difference is significant.

  • Not accounting for VAT withholdings. If you invoice legal entities as an individual, they withhold 2/3 of the VAT (10.6667%). For outsourcing or subcontracting firms, withholding is 6% of the consideration.

  • Rounding invoices incorrectly. SAT has specific rules on rounding amounts on CFDIs. A one-cent difference between Base + VAT and Total can cause the invoice to be rejected.

  • Not separating VAT on foreign-customer transactions. Exports are zero-rated, which lets you request a VAT refund on your inputs from SAT.

Industry use cases

Retail

A clothing store sells a garment for $580 to the public (VAT included). The base is $500 and the VAT is $80. If it purchased the garment from the wholesaler for $290 (VAT included, base $250, VAT $40), the VAT payable to SAT is $80 − $40 = $40 per garment.

Freelancers and professional services

A designer charges $15,000 + VAT for a project. Invoices $17,400 total. If the client is a legal entity, they withhold 2/3 of the VAT ($1,600), receiving $15,800. The VAT paid to SAT: $2,400 transferred − $1,600 withheld − creditable VAT from expenses.

Restaurants

Prepared food for consumption on-premises pays 16% VAT. A $350 check includes $48.28 of VAT (base $301.72). Important: takeout food also incurs 16% VAT, unlike unprepared food which is zero-rated.

Import and export

When importing goods, you pay 16% VAT on customs value plus tariffs. If you import $100,000 USD of goods with a 5% tariff, VAT is computed on $105,000 USD at the day's exchange rate. Exports are zero-rated — you can request a VAT refund.

Northern border zone

Businesses in Tijuana, Ciudad Juárez, Monterrey and other border cities apply 8% VAT. If you sell online across Mexico, you must apply 16% for shipments outside the border zone and 8% for deliveries within it. Your billing system must handle both rates.

Digital platforms

Since 2020, platforms like Netflix, Spotify, Uber and Airbnb must withhold and remit VAT in Mexico. If you sell digital services to Mexican consumers from abroad, you must register with SAT and charge 16% VAT.

Methodology and assumptions

How results are calculated, what we assume when modeling, and where the method loses precision.

Formula

VAT = Base × Rate · Base = Total ÷ (1 + Rate)

Assumptions

  • A single rate applies to the operation (16% general, 8% Mexican border zone, 0% exempt).
  • When choosing the "remove" mode, the entered total is assumed to fully include VAT.
  • Figures rounded to two decimals to match CFDI 4.0 invoicing.

Applicability limits

  • Does not account for withholdings, IEPS or special regimes (RESICO, hydrocarbons).
  • Does not validate whether the rate applies to your specific good or service — confirm with your accountant.
  • It does not issue or stamp tax receipts.

You calculated the VAT. Now find the optimal price that maximizes your profit with taxes included. Pricing Simulator

Embed on your site

This calculator is free and embeddable. Copy this snippet into your blog or website so your readers can run it directly from there.

Responsive width, fixed height. Adjust `height` to fit your layout.

Want to go beyond the quick calculation?

Sign up to access advanced simulators with multiple scenarios, data export, and detailed projections.

No spam. Just early access to the vat calculator simulator.

Complete guide

IVA / VAT Calculator: How It Works Across Mexico, Spain, and Latin America

VAT (Value Added Tax) — called IVA (Impuesto al Valor Agregado) in Spanish-speaking countries — is a consumption tax applied at each stage of the supply chain and ultimately borne by the end consumer. Unlike a sales tax applied only at the point of sale, IVA is collected incrementally: each business in the chain charges IVA on its sales (IVA débito / output VAT) and claims back the IVA paid on its purchases (IVA crédito / input VAT). Only the net difference is remitted to the tax authority.

This calculator handles the two most common operations: adding IVA to a base price (for issuing invoices) and extracting IVA from a gross price (for reconciliation or receipt analysis).

The Two Core Formulas

Adding IVA to a base (net) amount:

Gross (tax-inclusive) = Base x (1 + IVA rate)

Example at 16% (Mexico standard): Base = MXN 500. Gross = 500 x 1.16 = MXN 580. IVA amount = MXN 80.

Extracting IVA from a gross (tax-inclusive) amount:

Base = Gross / (1 + IVA rate)

IVA amount = Gross x (IVA rate / (1 + IVA rate))

Example at 16%: Gross = MXN 580. Base = 580 / 1.16 = MXN 500. IVA = 580 x (0.16 / 1.16) = MXN 80.

A common mistake: dividing the gross by the IVA rate directly (580 x 0.16 = 92.80) overstates the IVA. The correct denominator is (1 + rate), not 1.

IVA Rates by Jurisdiction (2026)

CountryStandard RateReduced RateZero RateAuthority
Mexico16%8% (northern border zone)0% (basic food, medicine, exports)SAT (Ley del IVA)
Spain21%10% (food, hospitality)4% (basic food, books, medicine)Agencia Tributaria (Ley 37/1992)
Colombia19%5% (certain goods)0% (basic food, medicine)DIAN
Argentina21%10.5% (certain food)0% (basic necessities)AFIP
Chile19%Exports at 0%SII
European Union (avg)~21.5%Varies by member stateExports at 0%EC VAT Directive

Mexico's 8% border rate applies to the Franja Fronteriza Norte (Baja California, parts of Sonora, Chihuahua, Coahuila, Nuevo León, and Tamaulipas) and is a targeted economic stimulus measure.

B2B vs B2C: How IVA Works in Practice

B2C (Business to Consumer): The business charges the consumer the gross price (base + IVA) and remits the IVA to the tax authority. The consumer bears the full tax cost and cannot recover it.

B2B (Business to Business): The selling business charges IVA on the invoice. The buying business pays the gross amount but claims the IVA back as input credit on its own tax return. In an efficient supply chain, IVA is fiscally neutral for registered businesses — they are collection agents, not taxpayers.

IVA saldo a favor (credit balance): When a business's input IVA (on purchases) exceeds its output IVA (on sales) in a period — common for exporters or fast-growing businesses with heavy capex — it accumulates an IVA credit that can be applied against future obligations or, in some cases, refunded.

Retención de IVA (Reverse Charge) in Mexico

Mexico applies withholding (retención) on IVA in specific transactions. Instead of the seller collecting and remitting IVA, the buyer withholds part or all of the IVA at source. The LIVA requires retention in:

  • Services provided by physical persons (personas físicas) to legal entities (personas morales): buyer retains 2/3 of IVA (approximately 10.67% on a 16% transaction).
  • Independent transportation services: buyer retains 4% of IVA.
  • Certain agricultural services.

Example: A freelancer (persona física) invoices MXN 10,000 + IVA to a company (persona moral). Standard IVA: MXN 1,600. Retained by client: MXN 1,066.67 (2/3). Net IVA transferred to freelancer: MXN 533.33. The freelancer must declare the full MXN 1,600 on their IVA return and can credit the MXN 533.33 already withheld.

CFDI 4.0 and Electronic Invoicing in Mexico

Since 2022, all Mexican electronic invoices (CFDI — Comprobante Fiscal Digital por Internet) must comply with version 4.0 of the SAT schema. IVA must appear as a separate line item with the attribute type "IVA", the applicable rate (0.160000 for 16%, 0.080000 for 8%, or 0.000000 for zero-rated), and the calculated amount. Key rules:

  • Tax base (base imponible) must be stated separately from the IVA amount.
  • Zero-rated transactions (tasa cero) must still include the IVA element at rate 0.000000 — they cannot simply omit the tax element.
  • Exempt transactions (exentas) use a different classification and do not include an IVA element.
  • The CFDI must include the RFC (Registro Federal de Contribuyentes) of both parties, the use of the CFDI (uso CFDI), and the payment regime.

Common IVA Calculation Mistakes

Mixing tax-inclusive and tax-exclusive prices: If your cost is tax-inclusive and your selling price is tax-exclusive (or vice versa), your margin calculation will be wrong. Establish a consistent convention for all internal calculations.

Applying the wrong rate to the wrong good: In Spain, a restaurant meal is subject to the 10% reduced rate, not the 21% standard rate. Catering for corporate events may differ again. Check the applicable rate for each product/service category.

Treating IVA as revenue: IVA collected from customers is not income — it is a tax liability. Recording gross receipts (including IVA) as revenue inflates top-line figures and creates accounting errors.

Ignoring IVA on inter-company transactions: Internal transactions between legal entities in a group are subject to IVA at arm's length prices, even if the group nets out the cash.

Worked Example: Freelancer Issuing an Invoice in Mexico

A UX designer (persona física, Régimen Simplificado de Confianza / RESICO) delivers a project to a tech company (persona moral). Agreed fee: MXN 50,000 before tax.

  • Base: MXN 50,000
  • IVA at 16%: MXN 8,000
  • Gross on invoice: MXN 58,000
  • IVA retained by client (2/3): MXN 5,333.33
  • IVA transferred to designer: MXN 2,666.67
  • ISR withheld by client (at 10%): MXN 5,000
  • Net received by designer: MXN 58,000 - 5,333.33 (IVA retained) - 5,000 (ISR) = MXN 47,666.67

On the designer's monthly IVA return: output IVA = MXN 8,000. Credit for withheld IVA = MXN 5,333.33. Net IVA to pay to SAT: MXN 2,666.67 (the portion the client already passed along).

Worked Example: Retailer Pricing to Hit a MXN 99.99 Sticker Price

A retailer in Mexico wants a shelf price (tax-inclusive) of exactly MXN 99.99. At 16% IVA:

  • Base = 99.99 / 1.16 = MXN 86.20
  • IVA = 99.99 - 86.20 = MXN 13.79

The retailer records MXN 86.20 as revenue and MXN 13.79 as IVA payable. Cost-of-goods and margin calculations should use the MXN 86.20 base, not the MXN 99.99 gross.

Zero-Rated vs Exempt: A Critical Distinction

Zero-rated and exempt transactions are often confused but have different tax implications for the supplier:

Zero-rated (tasa cero / 0%): IVA applies at 0%. The supplier can still claim input VAT credit on purchases related to zero-rated sales. In Mexico, exports and basic food (alimentos en estado natural) are zero-rated. In Spain, exports and certain intra-EU supplies are zero-rated.

Exempt (exento): IVA does not apply. The supplier cannot claim input VAT on costs related to exempt supplies. In Mexico, medical services, education, and residential lease income are typically exempt. In Spain, financial services, insurance, and education are exempt.

The distinction matters most for businesses with mixed taxable/exempt activities. A clinic that provides both taxable diagnostic services (equipment rental) and exempt medical care must apportion input VAT — only recovering the portion attributable to taxable activities. Getting this apportionment wrong results in either over-claiming (creating a tax liability) or under-claiming (leaving money owed to the business).

From theory to calculation

The calculator on this page runs with your numbers — no forms, no login. Scroll up and try it.

Try the calculator

Frequently asked questions

1What is a "Calculadora de IVA"?
A "Calculadora de IVA" is a tool that helps you calculate the Value Added Tax (IVA) on products or services. It simplifies determining how much tax to add or extract based on the tax rate applicable in countries like Mexico or Spain.
2How do I use a "calculadora del IVA"?
To use a "calculadora del IVA," enter the original price or amount and the applicable IVA rate. The calculator will then provide the price including IVA or the tax amount separately, making it easy to understand final costs or tax components.
3Can a "calculadora IVA" be used for different countries?
Yes, many IVA calculators allow you to select or input IVA rates relevant to different countries like Mexico or Spain. This flexibility helps ensure accurate tax calculations according to local tax laws and percentages.
4Is the "calculadora IVA México" different from the one for Spain?
The main difference lies in the IVA rates used. Mexico generally applies 16% IVA, while Spain’s rates vary between 4%, 10%, and 21%. Calculators tailored to each country include these specific rates for precise calculations.
5Why is it important to use a "calculadora IVA España"?
Using a "calculadora IVA España" ensures that you apply the correct VAT rates specific to Spain. It helps businesses and consumers comply with Spanish tax regulations by accurately calculating VAT amounts on invoices, purchases, or sales.

Last updated: April 30, 2026 · Reviewed by the Simúlalo editorial team. Figures and benchmarks are indicative; verify with your own data before deciding.

View methodology