VAT and Income Tax Calculator

Last updated: 2026-09-09

VAT and Income Tax Calculator — Calculate VAT and income tax for invoices.
Inputs
€
%
%
Result
Enter values and press Calculate
Common Examples — Click to Fill
Net amount (€)VAT rate (%)Withholding tax (%)
Consulting invoice freelance 25002115
Small retail sale 350101
Large equipment delivery 89000210
Architect professional service 120002119

TL;DR: To calculate the net amount you receive from an invoice, start with the base imponible (subtotal), add the correct IVA (21% for new construction or 10% for home rehabilitation) to get the total invoice, then subtract the IRPF retention (15% for the first 3 years of being self-employed, or 7% from the 4th year onwards) from the base imponible, leaving you with the líquido a percibir, which is the amount that will actually land in your bank account.

What Is the VAT and Income Tax Calculator?

This calculator is a specialized tool designed for Spanish self-employed workers (autónomos), small construction companies, and freelance professionals who need to issue accurate invoices to their clients. In Spain, issuing an invoice isn't just about adding up your labor and material costs; it involves a mandatory two-part calculation: applying the Impuesto sobre el Valor Añadido (IVA) and withholding the Impuesto sobre la Renta de las Personas Físicas (IRPF). This tool automates that process, eliminating guesswork and preventing costly accounting errors.

Who needs this calculator? If you are a constructor issuing a bill to a private homeowner, you need to charge IVA. If you are a plumber, electrician, or architect issuing an invoice to a business, you need to calculate the IRPF retention. If you are a subcontractor dealing with a larger construction firm, you may need to account for the inversion del sujeto pasivo, which flips the responsibility for IVA to the client. In all these cases, one wrong percentage can lead to a rejected invoice, a tax audit, or an unpleasant surprise at the end of the fiscal year when you owe money to Hacienda.

This calculator focuses specifically on the construction and professional services sector, where the 7% IRPF regime is common. However, it also serves general freelancers by toggling to the standard 15% retention rate, ensuring that your invoice is compliant from day one.

How to Use the Calculator

  1. Enter the Base Imponible: Input the subtotal of your invoice. This is the total amount for labor, materials, or a combination of both, before any taxes are added. For example, if you charged €2,000 for labor and €500 for materials, your base imponible is €2,500.
  2. Select the IVA Rate: Choose the applicable rate. Select 21% for general construction work (new builds, renovations not classified as primary residence rehabilitation) or 10% if the work qualifies as rehabilitation of a habitual residence (vivienda habitual).
  3. Set the IRPF Retention Rate: Choose 15% if you are a self-employed professional (autónomo) who has been registered for less than three years (or is in the first 3 years of activity). Choose 7% if you are in your 4th year or beyond, or if you are a construction contractor/constructor.
  4. Check the Inversion del Sujeto Pasivo Box (if applicable): If you are issuing an invoice to another construction company (a subcontractor scenario) where the client is the main contractor, you must not charge IVA on the invoice. The IVA is reversed to the client. In this case, select this option to calculate the invoice without the IVA surcharge.
  5. Calculate: Click the calculate button to generate the breakdown. The tool will instantly display the IVA amount, the IRPF retention, the gross invoice total, and the net amount you will actually receive (líquido a percibir).

Formula and Calculation Method

The calculation uses a two-step process. First, you determine the total invoice amount by adding the IVA to the base. Second, you determine the net liquid amount by subtracting the IRPF from the base. It is critical to understand that the IRPF retention is calculated on the base imponible, NOT on the total including IVA.

The Formulas:

  • IVA Amount: Base Imponible × (IVA Rate / 100)
  • Total Invoice (Factura): Base Imponible + IVA Amount
  • IRPF Retention: Base Imponible × (IRPF Rate / 100)
  • Líquido a Percibir (Net Payment): Base Imponible - IRPF Retention

Worked Example (The 1000 EUR Invoice):

Let’s walk through the exact scenario mentioned in the calculator description. You are a new autónomo (first year) undertaking general construction work.

  1. Base Imponible: €1,000.00
  2. IVA (21%): €1,000 × 0.21 = €210.00
  3. Total Invoice: €1,000 + €210 = €1,210.00
  4. IRPF Retention (15%): €1,000 × 0.15 = €150.00
  5. Líquido a Percibir: €1,000 - €150 = €850.00

In this scenario, you send an invoice for €1,210.00 to your client. However, the client will only pay you €850.00 directly. The client keeps the €150.00 (IRPF) to declare to Hacienda on your behalf, and you are responsible for charging the €210.00 IVA (which you collected) and later paying it to the government in your quarterly Modelo 303 form.

Practical Examples

Here are three distinct scenarios to illustrate how the inputs affect the output.

ScenarioBase ImponibleIVA RateIRPF RateIVA AmountTotal InvoiceIRPF RetentionLíquido a Percibir
New Autónomo - General Work€2,50021%15% (Year 1)€525.00€3,025.00€375.00€2,125.00
Established Contractor - Home Rehab€5,00010% (Vivienda Habitual)7% (Year 4+)€500.00€5,500.00€350.00€4,650.00
Subcontractor to Big Firm (Inversion)€1,0000% (Reversed)7% (Year 4+)€0.00€1,000.00€70.00€930.00

In the third scenario, the absence of IVA means the total invoice is the same as the base imponible, but you still have the 7% retention applied. The main contractor will pay you €930.00 and will handle the IVA directly with the tax agency. This is crucial for cash flow projections; you must know whether you are billing the general public or other businesses, as it drastically changes the final liquid amount.

Tips for Accurate Results

  • Always Double-Check the IVA Type: The most common mistake is using 21% when 10% applies. The reduced 10% rate is strictly for rehabilitation of a primary residence (vivienda habitual). This does not include simple repairs of a second home or a new construction. If you are unsure, check if the property is the owner's permanent address and if the work involves structural changes or significant improvements, not just painting.
  • Exclude Materials if You Are a Subcontractor: If you are a professional (like an architect) issuing a bill that includes materials, the 7% retention applies to the entire bill. However, if you are merely re-billing materials purchased for a project, ensure you are not also applying the inversion del sujeto pasivo incorrectly. That rule only applies to certain construction services, not the supply of materials.
  • Verify Your IRPF Seniority: The 15% rate is a temporary "start-up" benefit. It is not based on your current project but on the date you registered as an autónomo. If you are in your 4th calendar year of activity, you must switch to 7% retroactively. Failing to do so means you will have to pay the difference to the tax agency later.
  • Understand the Liquidity vs. Profit: The "Líquido a Percibir" is NOT your profit. It is the gross payment before your expenses. You must still pay your material suppliers and social security (cuota de autónomos). The calculator shows the gross cash inflow, not net profitability.
  • Distinguish IVA Repercutido vs. Soportado: The IVA you add to this invoice is called IVA repercutido (passed on to the client). You collect this from the client and must pay it in your quarterly Modelo 303 filing. You cannot deduct the materials you bought (IVA soportado) from this amount on the invoice; that deduction happens on the quarterly tax form, not on the invoice itself.

Frequently Asked Questions

What happens if I don't charge IRPF on my invoice?

If you are a professional B2B (business-to-business) provider and you fail to include the IRPF retention, the client may legally refuse to pay the withheld amount. In practice, they will often pay the full invoice, but you will be responsible for the full IRPF liability when you file your annual income tax return. This creates a cash flow problem because you will have received the full amount but will owe taxes on it later. More importantly, if the client is required to withhold but fails to do so, they can be penalized by the tax authority, and you may also face a surcharge for not complying with your tax obligations. Always include it when required; it is a forced savings mechanism for your tax bill.

Can I use the 7% IRPF rate if I am a general professional?

No, the 7% rate is exclusively reserved for construction and installation activities (Actividades de construcción y obras). If you are a graphic designer, lawyer, or consultant, even if you are in your 4th year, you must use the 15% rate. The 7% rate is determined by the type of activity you have registered under your CNAE (National Classification of Economic Activities) code, not by the number of years you have been operating. Using 7% when you are not eligible will result in an underpayment of your quarterly estimated taxes.

Why is my liquid amount less than my base imponible if the client pays me the total invoice?

This is the core concept of the retention system. The client does not actually pay you the "Total Invoice" amount in the bank. They pay you the Líquido a Percibir. The difference is logically transferred by the client directly to the Tax Agency (Agencia Tributaria) as a prepayment of your income tax. This ensures that you do not spend the money you owe in taxes. For example, if your invoice total is €1,210 but your liquid amount is €850, the client will issue a bank transfer for €850 only. The remaining €150 (IRPF) is paid by them to Hacienda on your behalf, and the €210 (IVA) is collected by them and paid to Hacienda on your behalf as well. You effectively are the intermediary, but the cash flow is managed by the client.