Spain Income Tax Calculator (IRPF Estimate)
Use this quick calculator to estimate annual tax for a Spanish tax resident with employment income. It includes a simplified personal allowance model and progressive tax brackets by region.
Important: This is an educational estimate, not an official Agencia Tributaria calculation. Final tax depends on exact regional scales, circumstances, deductions, and withholdings.
How tax calculation in Spain works
Spanish income tax can feel complicated because it combines national and regional rules. The main tax is called IRPF (Impuesto sobre la Renta de las Personas Físicas), and it uses progressive brackets. That means each part of your income is taxed at a different rate, instead of applying one rate to your whole salary.
For employees, the practical order usually looks like this: gross salary, minus social security contributions, minus personal/family allowances and other reductions, then apply the progressive rates. The result is your estimated annual income tax.
Core pieces of a Spanish tax estimate
1) Gross annual income
This is your yearly salary before tax and before payroll deductions. If you receive extra payments (such as 14 payments per year), include the full annual total.
2) Employee social security
Employees contribute to social security through payroll. The exact percentage can vary depending on contract and contribution base, but a common simplified assumption is around 6.35% for standard cases.
3) Personal and family allowances
Spain applies minimum personal and family amounts that reduce taxable income. In practical terms, these amounts are designed to protect a basic level of income from taxation. The calculator includes:
- Base personal amount for individual filing
- Extra joint filing reduction
- Child-related allowances by number of children
4) Progressive tax brackets
After reductions, remaining taxable income is split into brackets. Lower slices are taxed at lower rates and upper slices at higher rates. Regional governments (autonomous communities) can adjust effective bracket rates, which is why your location matters.
Step-by-step example
Suppose your gross annual income is €40,000, social security is 6.35%, filing is individual, no children, and no extra deductible expenses:
- Gross salary: €40,000
- Social security (6.35%): €2,540
- Income after social security: €37,460
- Personal allowance (simplified): €5,550
- Taxable base: €31,910
Now apply progressive rates to that taxable base. You do not pay the top rate on all €31,910; each slice is taxed at its bracket rate.
Why your final tax return can differ
This page provides a practical estimate, not a legal filing engine. Your final declaration may differ because of:
- Official regional scales and legal updates for the tax year
- Work-related reductions and specific deductions
- Disability status, age-related amounts, or dependent ascendants
- Housing, maternity, childcare, or investment incentives
- Pension plan contributions and autonomous community credits
- Employer withholdings already paid during the year
Resident vs non-resident taxation in Spain
This calculator is intended for tax residents with salary income. In general, if you spend more than 183 days in Spain or your economic center is in Spain, you may be treated as a resident for tax purposes.
Non-residents are often taxed under different rules (NRIT/IRNR), usually with flat rates on Spanish-source income and fewer personal allowances. If you are unsure, professional advice is worth it.
Tips to improve planning
Check your monthly withholding
If payroll withholding is too low, you may face a tax bill at filing time. If it is too high, you may get a refund. A yearly estimate helps you rebalance early.
Track deductible situations throughout the year
It is easier to optimize legally when you keep records monthly. Waiting until tax season often means missed opportunities.
Use region-specific assumptions
Madrid, Catalonia, Valencia, Andalusia, and other communities can produce noticeably different outcomes at the same salary level. Always calculate using your correct community.
Frequently asked questions
Is Spain tax calculated monthly or yearly?
Legal liability is annual, but employees are usually taxed through monthly payroll withholding. Final settlement happens in the annual return.
Do I pay one flat tax rate in Spain?
No. IRPF is progressive. Only the income in each bracket is taxed at that bracket’s rate.
Can this calculator replace official filing software?
No. It is an educational estimator to support budgeting and planning.
Final thought
For most people, Spanish tax becomes manageable once you break it into components: salary, social security, allowances, brackets, and region. Use the calculator above to build intuition, then validate with official data before filing.