Enter your income and expense details
📊 Bases and tax breakdown
The Personal Income Tax (Impuesto sobre la Renta de las Personas Físicas — IRPF) is a progressive, direct tax levied on the income of residents in Spain during the calendar year. The annual tax return (Declaración de la Renta) reconciles the taxes already paid monthly via employer payroll withholdings with the actual total tax due on your overall annual income.
🔍 How is IRPF calculated step-by-step?
The calculation divides your annual returns into two distinct tax bases:
- General Taxable Base (Base Imponible General): Composed primarily of wages, self-employed income, and rental income. This base is reduced by deductible expenses (such as employee social security contributions) and a flat work-related deduction (usually €2,000.00).
- Savings Taxable Base (Base Imponible del Ahorro): Formed by interest, dividends, capital gains on sales of stock, funds, or real estate.
Each base is subjected to a progressive scale of tax rates. To account for basic living costs, the Personal and Family Minimum (a baseline tax-free allowance starting at €5,550.00) is subtracted by applying the progressive rate onto this allowance and deducting that result from the gross tax due.
Finally, your tax return result is computed by subtracting the payroll withholdings already paid:
- Negative result (-): Means you overpaid throughout the year, and the Tax Agency will issue a refund (devolución).
- Positive result (+): Means you underpaid, and you must pay the remaining balance to the Tax Agency.
📝 Calculation examples
Below are two scenarios for Madrid residents filing their 2026 return.
Example 1: Middle-class wage earner with accurate withholdings
- General taxable base: €24,220.00
- Personal allowance: €5,550.00
- Actual tax due: €3,650.00
- Result: €3,650.00 (Tax due) - €3,800.00 (Withholdings) = -€150,00
Example 2: Taxpayer with additional savings income (no withholding)
- General taxable base: €31,000.00 (plus €4,000.00 savings base)
- Total tax due (General + Savings): €6,360.00
- Result: €6,360.00 (Tax due) - €5,500.00 (Withholdings) = +€860.00
❓ Frequently Asked Questions (FAQ)
Filing is mandatory for residents with annual employment income over €22,000.00 from a single employer, or over €15,876.00 if from multiple employers (provided secondary employers collectively paid more than €1,500.00).
Common deductions include private pension contributions (up to €1,500.00 general limit), trade union dues, professional association fees, and local community tax credits (young rentals, children, investment in local startups).
The annual tax campaign runs from early April to June 30 of each year to file the returns for the previous calendar year.