PayToolHub.org Pagos, facturación y finanzas digitales
Abrir las 12 calculadoras

How to calculate VAT (IVA): add it and extract it (with examples)

Also available in Spanish: read this guide in Spanish.

VAT (IVA in Spain) has to be calculated with the invoice in front of you, and that is when the doubts appear: does this price include VAT or not?, why doesn't it add up when I remove it by hand? Easy: there are only two operations, and with two formulas you will never get it wrong again.

Adding VAT: from the base to the total

When you start from the price without VAT (the base) and want the final price:

Total = Base × (1 + VAT rate)

The trick is to multiply by a single number (the "1.x"):

  • 21% VAT → multiply by 1.21
  • 10% VAT → multiply by 1.10
  • 4% VAT → multiply by 1.04

Examples:

  • A €1,500 quote + 21% → 1,500 × 1.21 = €1,815 (base €1,500 + VAT €315)
  • A €200 service + 10% → 200 × 1.10 = €220 (VAT €20)
  • A €30 book + 4% → 30 × 1.04 = €31.20 (VAT €1.20)

And the VAT amount is simply the total minus the base.

Extracting VAT: from the total to the base

When you see a price with VAT included and you need to know how much is base and how much is tax:

Base = Total ÷ (1 + VAT rate)  and  VAT = Total − Base

Examples:

  • A total of €121 with 21% VAT: base = 121 ÷ 1.21 = €100; VAT = 121 − 100 = €21.
  • A total of €60 with 21% VAT: base = 60 ÷ 1.21 = €49.59; VAT = 60 − 49.59 = €10.41.

Careful: extracting is not "subtracting 21%". If you take 21% off €121 you get €95.59… when the real base is €100: a €4.41 mismatch on a round invoice that repeats itself every single day.

The prices you see in shops already include VAT (that is how they must be shown to consumers). "List" prices between businesses and freelancers, on the other hand, are almost always agreed without VAT. When you quote, always write "VAT not included" and specify the rate: it will save you arguments when it is time to collect. And if you are also a freelancer building your prices, start with how much to charge per hour as a freelancer.

VAT rates in Spain (2026)

Rate%Typical examples
Standard21%Electronics, clothing, leisure, professional services, cars, alcoholic drinks
Reduced10%Hospitality and restaurants, passenger transport, housing, prescription glasses
Super-reduced4%Bread, milk, eggs, fruit, vegetables, pulses, cereals, olive oil, books, medicines

Two notes that prevent confusion:

  • The Canary Islands do not apply VAT but IGIC (standard rate 7%, with its own reduced rates), and Ceuta and Melilla have their IPSI.
  • Exempt is not 0%. Some activities carry no VAT (healthcare, insurance, financial services…): no VAT is charged and none can be deducted, while a 0% rate does let you deduct the VAT you have paid.

The most expensive mistakes (and how to dodge them)

  1. Multiplying by 0.21 to add VAT. That only gives you the tax amount, not the total. For the total, multiply by 1.21.
  2. Subtracting the percentage to extract it. As you have seen above, the division (÷ 1.21) is compulsory; subtracting knocks your invoice out of balance.
  3. Rounding base and VAT separately. On an invoice: calculate the VAT as base × rate, round to cents and add. And if there is a discount, apply it to the base first and then the VAT.
  4. Confusing IRPF with VAT. Invoices from many self-employed professionals show an IRPF withholding (7% or 15%): it is subtracted from the total to be paid, but it has nothing to do with VAT. They are different concepts and go on different lines. And if you are starting from scratch, check first self-employed contributions in Spain 2026: what you pay and how to calculate it.
Shortcut: if you do not even want to take the calculator out of your phone, use the VAT calculator: choose "Add VAT" or "Extract VAT", pick the rate (21, 10 or 4%) and, if you need it, a discount on the base. It also has an IGIC mode for the Canary Islands. Free, no sign-up.

A final quarterly tip: what you calculate here is the VAT of each individual invoice. The Form 303 return is another story: the VAT you charge your clients minus the VAT you have paid on your expenses, with its own rules. Having your invoices well itemised from day one is half the work.

Informational guide, not tax advice. Rates and criteria according to the Spanish Tax Agency (Law 37/1992). Last updated: October 2026.
¿Te toca hacer los números? Nómina, IVA, cuota de autónomos, préstamos, ROI… 12 calculadoras gratis, sin registro y sin salir de tu navegador.
Abrir las 12 calculadoras