FREE TOOLS

VAT and IRPF calculator

Calculate your invoice total with Spanish VAT and IRPF, or find the amount before taxes. Free, instant and without signing up.

No sign-up · Your inputs stay on your device.

What would you like to calculate?

I know the price before taxes and want to know how much my customer has to pay.

Example: €1,000 + VAT (21%) = €1,210.

The amount of your products or services, without taxes.
VAT

A tax added to the amount of your services or products.

IRPF withholding

A withholding deducted from the payment when it applies.

Apply only the rates that correspond to your transaction. This is not tax advice.

Your invoice

Amount before taxes
—
VAT
—
Total to collect—

Indicative calculation. The amount you collect is not your profit.

Calculate your invoice in three steps

  1. Enter the amount

    Type the amount before taxes or, if you already know it, start from the total.

  2. Select the taxes

    Choose the VAT and, if it applies, the IRPF withholding.

  3. See what you will collect

    The breakdown updates on its own and you can copy it.

Understand the taxes on your invoice

They are two different things: one is added to the amount and the other is deducted from the payment.

VAT: added to your invoice

VAT is a consumption tax you charge your customer and later declare to the tax authority. The rate depends on the goods or service: standard 21%, reduced 10% and 4%, and 0% for certain transactions. This calculator covers Spanish mainland and Balearic Islands VAT, not IGIC or IPSI.

  • Amount of your services
  • VAT
  • Total with VAT

VAT = amount before taxes × VAT rate / 100

Example: €1,000 + €210 = €1,210

VAT rates and applicable transactions

IRPF: deducted from the payment

IRPF withholding is an advance payment of the professional’s income tax: when it applies, your customer deducts it from what they pay you and pays it to the tax authority on your behalf. It is calculated on the amount before taxes, not on the VAT.

  • Total with VAT
  • IRPF withholding
  • Amount to collect

Withholding = amount before taxes × IRPF rate / 100

Example: €1,210 − €150 = €1,060

Withholding percentages

How an invoice with VAT and IRPF is calculated

An example with the most common values for a professional. Try it in the calculator and change anything you like.

Sample invoice

Professional services
€1,000.00
VAT (21%)
+€210.00
IRPF withholding (15%)
−€150.00

Final amount to collect€1,060.00

Illustrative example with fictitious data.

What to know before making an invoice

When should I apply VAT?

As a general rule, supplies of goods and services by businesses and professionals carry VAT, but there are exemptions and non-taxable transactions, and the rate depends on the goods or service and the territory. The calculator’s 0% is not an exemption. Check your specific case with the Spanish Tax Agency or your adviser.

When does IRPF withholding apply?

Not every invoice carries withholding. It depends on the income and the payer: in general, businesses and professionals withhold when paying income subject to withholding in their activity; a private individual hiring outside an economic activity generally does not withhold.

What is the difference between 7% and 15%?

The general professional rate is 15%. The 7% rate may apply in the first year and the two following tax periods if no professional activity was carried out the previous year and the payer is notified; there are other specific cases. It is not a free choice.

How do I work out the amount before taxes from the total?

From the total with VAT: amount = total / (1 + VAT / 100). From the final amount to collect: amount = payment / (1 + VAT / 100 − IRPF / 100). Collecting €1,060 with 21% VAT and 15% IRPF requires €1,000 before taxes. The figures are then rounded and recalculated.

Is the amount I collect my profit?

No. What you receive from the customer may include VAT you will need to settle and a withholding deducted on account of your IRPF. This tool does not calculate income after all your taxes and expenses.

Sources and calculation notes

Sources checked on 13 November 2026. Check they are still current for your transaction.

Amount, VAT and withholding use integer cents, rounded to the nearest cent (half up). When starting from the total, the cent amount closest to the target is found; the total may differ by one cent.

Indicative calculations for a single amount and VAT rate, excluding equivalence surcharge, disbursements and special schemes. Not a substitute for tax advice.

Frequently asked questions

How do I calculate the VAT and IRPF of an invoice?

Add the VAT to the amount before taxes and subtract the IRPF withholding: payment = amount + VAT − withholding. Both percentages apply to the amount before taxes. In the example: €1,000 + €210 − €150 = €1,060.

Is IRPF calculated before or after VAT?

It is calculated on the amount before taxes, not on the total with VAT. It is then subtracted from the total with VAT to get what you collect.

What amount do I need to invoice to collect a specific sum?

Choose “Amount before taxes” and “Final amount after withholding”: the calculator works out the amount you must invoice to collect that sum.

What is the difference between the invoice total and the amount I collect?

The invoice total includes VAT. The amount you collect is that total minus the IRPF withholding, when there is one. Neither measures your net profit on its own.

Can I calculate an invoice without IRPF?

Yes. Select “No withholding” when appropriate. The payment will be the amount plus VAT.

Can I use this calculator without signing up?

Yes. Calculating and copying is free, with no account. Amounts are processed in your browser and are neither stored nor sent.

Does Quotiva let me create invoices for free?

Yes. Quotiva lets you create up to 10 invoices a month for free. See the limits on the free invoicing page.

Calculate, create and organise your invoices in one place

Quotiva brings together invoices, quotes, customers and expenses, and can help you create documents from photos using artificial intelligence. The calculator works separately, with no AI and no sign-up.

Start free

Free · No bank card needed. · Explore free invoicing with Quotiva