IRPF Calculator for Spain 2024
Calculate your personal income tax (IRPF) in Spain based on your income, region, and personal situation. Updated with 2024 tax rates.
Your IRPF Calculation Results
Complete Guide to Calculating IRPF in Spain (2024)
The Impuesto sobre la Renta de las Personas Físicas (IRPF) is Spain’s personal income tax, which applies to residents and non-residents earning income in Spain. Understanding how to calculate your IRPF is essential for proper tax planning and compliance with Spanish tax laws.
1. What is IRPF and Who Must Pay It?
IRPF is a progressive tax that applies to:
- Employment income (salaries, wages, bonuses)
- Self-employment income (for autónomos)
- Investment income (dividends, interest, capital gains)
- Rental income
- Pensions and other benefits
Tax residency rules: You’re considered a tax resident in Spain if you spend more than 183 days per year in the country or if your main economic interests are in Spain.
2. How IRPF is Calculated: The Progressive Tax System
Spain uses a progressive tax system where higher income is taxed at higher rates. The IRPF consists of two parts:
- State IRPF: Applied nationwide with standard rates
- Regional IRPF: Varies by autonomous community (each region sets its own rates)
| 2024 State IRPF Brackets (General Base) | Tax Rate | Tax on Bracket |
|---|---|---|
| €0 – €12,450 | 9.50% | €0 – €1,182.75 |
| €12,450 – €20,200 | 12.00% | €1,182.75 – €2,431.50 |
| €20,200 – €35,200 | 15.00% | €2,431.50 – €5,296.50 |
| €35,200 – €60,000 | 18.50% | €5,296.50 – €11,486.50 |
| €60,000+ | 22.50% | €11,486.50+ |
Note: These are the state rates. Each autonomous community adds its own rates, which typically range from 9% to 25% depending on the region and income level.
3. Regional IRPF Variations
The regional portion of IRPF varies significantly. Here are some examples of total combined rates (state + regional) for 2024:
| Region | Income €30,000 | Income €60,000 | Income €100,000 |
|---|---|---|---|
| Madrid | 18.5% | 24.5% | 30.5% |
| Catalonia | 20.0% | 28.0% | 36.5% |
| Andalusia | 19.0% | 26.0% | 33.0% |
| Basque Country | 21.5% | 30.0% | 39.0% |
| Valencian Community | 19.5% | 27.0% | 34.5% |
4. Deductions and Allowances That Reduce Your IRPF
Several deductions can significantly reduce your taxable income:
- Personal allowance: €5,550 (2024) for all taxpayers
- Dependents: €2,400 for first child, €2,700 for second, €4,000 for third, €4,500 for fourth+
- Pension contributions: Up to €1,500 (or 30% of net income)
- Housing: Deductions for rental (9.04%-15%) or mortgage interest (up to 15%)
- Education: Up to €1,000 for children’s education expenses
- Donations: 80% of first €150 donated to charities
5. Special Cases and Exemptions
Certain income types are partially or fully exempt from IRPF:
- First €6,000 of severance pay is tax-free
- Scholarships for studies are exempt up to certain limits
- Compensation for dismissal (up to €180,000 is exempt)
- Public pensions have reduced rates
- Income from abroad may qualify for the Beckham Law (6-year flat 24% rate for expat workers)
6. How IRPF is Paid: Withholdings vs. Annual Declaration
IRPF is typically paid through:
- Monthly withholdings: Your employer deducts IRPF from your salary based on your personal situation (marital status, dependents, etc.)
- Quarterly payments: Self-employed workers (autónomos) make advance payments every 3 months
- Annual declaration (Renta): Filed between April and June for the previous year. You either:
- Get a refund if too much was withheld
- Pay the difference if not enough was withheld
7. Common Mistakes to Avoid
- Not updating your withholding rate when your situation changes (marriage, children, etc.)
- Missing deduction deadlines (e.g., pension contributions must be made by December 31)
- Incorrectly reporting foreign income (Spain taxes worldwide income for residents)
- Not declaring rental income (even if you’re renting out a room in your home)
- Ignoring regional deductions (each community offers different benefits)
8. How to Optimize Your IRPF
Legal strategies to reduce your tax burden:
- Maximize pension contributions (up to €1,500/year or 30% of net income)
- Take advantage of regional deductions (e.g., Madrid offers deductions for childcare)
- Split income with your spouse if one earns significantly more
- Invest in tax-efficient products like Spanish investment funds (only taxed when sold)
- Consider the Beckham Law if you’re a foreign worker (24% flat rate for 6 years)
- Donate to charity (80% deduction for first €150)
9. IRPF for Non-Residents
Non-residents pay IRPF only on Spanish-source income at these rates:
- General income: 19% (24% for EU/EEA citizens in 2024)
- Capital gains: 19%
- Dividends/interest: 19%
- Rental income: 19% (24% for EU/EEA)
Important: Non-residents must file Modelo 210 annually for Spanish income, even if tax was withheld at source.
10. Recent Changes to IRPF in 2024
The Spanish government introduced several changes for 2024:
- Increased personal allowance from €5,500 to €5,550
- New bracket for incomes over €300,000 (27.5% state rate)
- Enhanced deductions for electric vehicle purchases (up to €15,000)
- Digital nomad visa holders can now apply for the Beckham Law (24% flat rate)
- Increased child deductions for families with 3+ children
11. IRPF for Self-Employed Workers (Autónomos)
Self-employed workers face additional complexities:
- Quarterly payments: Must pay advance IRPF every 3 months (Modelo 130)
- Expenses deduction: Can deduct business-related expenses (30% flat rate for home office)
- Social security: Monthly payments (€230-€500 depending on income) are deductible
- First-year discount: New autónomos pay reduced social security for first 12 months
Pro tip: Many autónomos hire a gestor (tax advisor) to handle their quarterly declarations and annual return, as the rules are complex and penalties for errors are steep.
12. IRPF for Property Owners
If you own property in Spain, you need to consider:
- Imputed income: Even if not rented, you must declare 1.1% of cadastral value (or 2% if updated after 1994) as taxable income
- Rental income: Taxed at your marginal rate, but you can deduct expenses (mortgage interest, maintenance, etc.)
- Capital gains: When selling, the gain (sale price – purchase price – improvements) is taxed at 19%-26%
- Wealth tax: Some regions impose this on properties over €700,000 (rates 0.2%-3.75%)
13. IRPF for Pensioners
Pensions are taxed as general income, but with some special rules:
- Public pensions: First €12,000 is taxed at reduced rates
- Private pensions: Taxed as regular income (but contributions were likely deductible)
- Foreign pensions: May qualify for double taxation treaties
- Lump sums: Can sometimes be taxed at reduced rates if taken as capital
Note: Spain has double taxation agreements with many countries, so foreign pensions may be taxed at reduced rates or exempt.
14. IRPF for Digital Nomads and Expats
Spain’s Digital Nomad Visa (2023) and Beckham Law offer attractive tax options:
- Beckham Law: Flat 24% rate on employment income up to €600,000 for 6 years (must not have been Spanish resident for 5 years)
- Digital Nomad Visa: Qualifies for Beckham Law if you work for non-Spanish companies
- Non-lucrative visa: No Spanish income = no IRPF, but you must prove foreign income (>€28,000/year)
- Golden Visa: €500,000+ property purchase gives residency (but doesn’t change IRPF obligations)
Important: You must apply for the Beckham Law within 6 months of becoming tax resident in Spain.
15. How to File Your IRPF Declaration
The annual declaration (known as la declaración de la renta) is filed between April and June for the previous year. Here’s how:
- Gather documents: P60 (certificado de retenciones), bank interest statements, rental contracts, receipts for deductions
- Choose your method:
- Online via Agencia Tributaria (requires digital certificate or [cl@ve PIN])
- Using the official app (available for iOS and Android)
- With a gestor (recommended for complex situations)
- Complete Modelo 100: The main IRPF declaration form
- Review calculations: The system will show if you owe money or get a refund
- Submit and pay: If you owe, you can pay in one lump sum or two installments (June and November)
Deadlines for 2024 (2023 tax year):
- General deadline: June 30, 2024
- Direct debit payment: June 25, 2024
- First installment (if applicable): June 30, 2024
- Second installment: November 5, 2024
16. IRPF Refunds: How to Get Your Money Back
If you’ve overpaid IRPF through withholdings, you’ll get a refund. To maximize your refund:
- Claim all deductions you’re entitled to (many people miss regional deductions)
- Declare all withholdings (from salaries, bank interest, etc.)
- File jointly if married (often results in lower total tax)
- Check for errors in your employer’s withholding calculations
- File on time (refunds for late filings are delayed)
Refund timeline: Typically 1-3 months after filing, though it can take longer during peak season (May-June).
17. Penalties for IRPF Non-Compliance
Failing to properly declare and pay IRPF can result in:
- Late filing: €100-€1,500 fine (depending on how late)
- Underpayment: 50%-150% of the unpaid tax + interest
- Fraud: 50%-150% of the defrauded amount + possible criminal charges for amounts over €120,000
- No declaration: Minimum €200 fine even if you owe nothing
Voluntary disclosure: If you realize you made a mistake, you can file a declaración complementaria (supplementary declaration) to correct it and avoid heavier penalties.
18. IRPF vs. Other Spanish Taxes
IRPF is just one of several taxes you may encounter in Spain:
| Tax Type | What It Taxes | Typical Rate | Who Pays |
|---|---|---|---|
| IRPF | Personal income | 9%-47% | Individuals |
| IVA (VAT) | Goods and services | 4%-21% | Consumers |
| Impuesto de Sociedades | Corporate profits | 25% | Companies |
| Impuesto sobre Sucesiones | Inheritances | 1%-34% | Heirs |
| Impuesto sobre Donaciones | Gifts | 7%-34% | Recipients |
| Impuesto sobre Bienes Inmuebles (IBI) | Property ownership | 0.4%-1.1% | Property owners |
| Impuesto sobre la Renta de No Residentes | Non-resident income | 19%-24% | Non-residents |
19. IRPF for Freelancers and Gig Workers
If you’re working in the gig economy (e.g., Uber, Deliveroo, Fiverr):
- Register as autónomo if earning over €1,000/month consistently
- Quarterly declarations: Must file Modelo 130 every 3 months
- Expense tracking: Keep receipts for deductible expenses (equipment, mileage, home office)
- Flat rate option: First 2 years as autónomo pay reduced social security (€80/month)
- Platform withholdings: Some platforms withhold 15% IRPF automatically
Warning: Many gig workers get caught out by not realizing they need to register as autónomo and file quarterly declarations.
20. Future of IRPF in Spain
Proposed changes that may affect future IRPF calculations:
- Wealth tax reform: Possible elimination or standardization across regions
- Digital tax: New 3% tax on large tech companies may indirectly affect contractors
- Green tax incentives: Increased deductions for electric vehicles and home energy improvements
- Pension reforms: Possible changes to how private pensions are taxed
- Remote work deductions: New allowances for home office expenses
Always check the Agencia Tributaria website for the most current information before filing.