Spanish Income Tax Calculator: How to Estimate Your IRPF
30 July 2026

Spanish Income Tax Calculator: How to Estimate Your IRPF
You are sitting at your kitchen table with a laptop open, staring at a job offer or a relocation contract that lists your salary in euros. Somewhere in the document is a reference to IRPF—the Spanish personal income tax—and a vague promise that your deductions will be handled automatically. But you are trying to figure out what actually lands in your Spanish bank account at the end of the month, and the online tax tables you are looking at feel like they were written in a foreign language (even when translated).
It is easy to feel a knot in your stomach at this point. Moving to Spain, or starting a new job there, is a massive life pivot. The last thing you want is a surprise tax bill or a net salary that doesn't quite cover the rent you've been looking at in Madrid or Barcelona.
Take a breath. The Spanish tax system has plenty of quirks, but the mechanics of calculating your take-home pay come down to a few predictable steps. Let’s break down how Spanish income tax works, walk through an actual calculation, and show you how to figure out your own numbers without needing a degree in tax law.
The Two Halves of Spanish Income Tax
When you pay income tax in Spain, you aren't just paying one flat rate to Madrid. The system is split into two parts: state tax (estatal) and regional tax (autonómica).
This is where your exact geography matters. Spain is divided into autonomous communities—like Andalusia, Catalonia, Madrid, or Valencia—and each region has the power to set its own tax brackets for its half of the income tax. Because of this, two people earning the exact same salary can take home slightly different amounts depending on whether they live in a coastal village in Valencia or a flat in central Madrid.
On top of that, Spanish income tax is split into two main buckets of income:
- General income: Salaries, freelance earnings, rental income, and certain pensions. This is taxed on a progressive scale.
- Savings income: Dividends, interest from bank accounts, and capital gains from selling stocks or property. This is taxed at a different, flatter set of rates.
For most people staring at a new job contract, we are worried about the first bucket: general income tax, known locally as Impuesto sobre la Renta de las Personas Físicas, or IRPF.
How IRPF Withholding Works (And Why Your First Payslip Might Confuse You)
If you are an employee in Spain, your employer doesn't just hand you your gross salary and let you figure out your taxes in April. Instead, they act as a tax collector, deducting IRPF from your paycheck every single month. This is called retención.
When you start a new job, your HR department will ask you to fill out a form (known as Modelo 145). This form asks about your personal situation:
- Are you married? Does your spouse earn an income?
- Do you have children, or elderly parents living with you?
- Do you have a disability?
Your employer plugs these answers into a formula set by the tax agency (Agencia Tributaria). The goal is to estimate your total tax liability for the entire year and spread it evenly across your monthly paychecks.
This is why your first few payslips can sometimes cause a mild panic. If your employer hasn't factored in your deductions correctly yet, or if you started mid-year, the withholding might look too high or too low. But don't worry—the system reconciles itself when you file your annual tax return (la campaña de la renta) between April and June of the following year. If you overpaid through monthly withholdings, the Spanish tax office sends you a refund. If you underpaid, you settle the difference.
A Worked Example: Following Sarah’s Move to Valencia
Let’s look at how this plays out in practice. Meet Sarah, a software developer who has accepted a job in Valencia with a gross annual salary of €45,000.
Sarah is single, has no children, and has no other sources of income. She wants to know what her monthly take-home pay will look like so she can budget for an apartment.
Step 1: Understanding the Brackets
Spanish income tax uses progressive brackets. This means your entire salary isn't taxed at one high rate. Instead, your income is sliced into chunks, and each chunk is taxed at its own rate.
While exact rates can be adjusted by the state and regional governments, the general state brackets roughly follow a progression starting around 19% for the lowest bracket and scaling up to 47% for income over €300,000. The regional government in Valencia adds its own complementary brackets.
Step 2: Applying Personal Deductions (Mínimo Personal y Familiar)
Before the tax office starts applying those brackets, they give everyone a baseline exemption—the amount you need to cover basic living expenses, which is generally around €5,555 for a single person under 65, though this can vary slightly by region.
Because Sarah has no dependents, her taxable base is reduced by this minimum allowance, meaning the progressive rates apply to the adjusted amount rather than the raw €45,000.
Step 3: Calculating the Approximate Tax Liability
When we combine the state and regional progressive brackets for Valencia on a €45,000 salary for a single filer, Sarah’s total annual tax liability comes out to approximately €11,200.
Gross Annual Salary: €45,000
Estimated IRPF Tax: -€11,200
Social Security (approx. 6.35%): -€2,857
---------------------------------------
Estimated Net Annual: €30,943
Wait—don't forget Social Security (Seguridad Social). In Spain, employees pay a separate contribution for health, unemployment, and pensions, which is automatically deducted right alongside your IRPF. For a standard employee, this usually hovers around 6.35% of gross salary.
Dividing her net annual take-home by 14 payments (standard in Spain, where employees typically receive double paychecks in July and December, known as pagas extras), Sarah’s monthly take-home pay is roughly €2,210.
Once Sarah sees that number, she can finally start browsing rental listings with confidence, knowing exactly what her budget is.
What Trips People Up: Common Mistakes and Edge Cases
The math looks straightforward on paper, but a few common pitfalls catch expats and newcomers off guard every year. Here is what to watch out for:
1. Assuming a Flat Tax Rate
Some people hear about special tax regimes in Spain—like the famous "Beckham Law"—and assume everyone gets a flat 24% tax rate. Unless you specifically apply for, qualify for, and are granted that specific expatriate tax status, you are subject to the standard progressive IRPF rates. Do not budget your life around a flat rate unless your employer has explicitly confirmed your eligibility.
2. Forgetting the "Pagas Extras"
In Spain, salaries are very frequently quoted as an annual figure divided into 14 payments instead of 12. You get your normal monthly salary, plus an extra payment in summer (usually June or July) and another at Christmas.
- What trips people up: Dividing their annual salary by 12 when calculating their monthly budget. If your contract specifies 14 payments, your monthly paycheck during the 10 regular months will be smaller than you think, balanced out by the two fat months. Always check your contract's payment structure.
3. Ignoring Regional Variations
If you move from Barcelona to Madrid, your tax rate might change slightly because Catalonia and the Community of Madrid have different regional tax scales. While the difference on a modest salary might only be a few hundred euros a year, it's enough to throw off a tight budget if you rely on generic online calculators that only use national averages.
4. Freelancer (Autónomo) Realities
If you aren't an employee and are instead working as a freelancer in Spain, the rules change entirely. You don't just have IRPF withheld; you have to make quarterly tax installments (Modelo 130) and pay a monthly social security contribution (cuota de autónomo) regardless of whether you had a profitable month. If you are navigating freelance income, tools like a Debt-to-Income (DTI) Calculator can be surprisingly helpful when you need to prove your net earnings to a bank or landlord who doesn't understand variable freelance revenue.
What Changes the Answer?
Your IRPF calculation isn't set in stone. Several life changes can alter your net take-home pay mid-year:
- Marriage and Children: Having children (hijos) significantly increases your personal minimum allowance, lowering your overall tax burden. If you have a child, let your HR department know immediately via an updated Modelo 145 so they can lower your monthly withholding and put more cash in your pocket right away instead of waiting for a tax refund next year.
- Rent Deductions: Depending on your autonomous community, there are often regional deductions for renters under a certain age, or for families renting primary residences.
- Charitable Donations: Donations to registered NGOs and foundations in Spain can earn you significant deductions on your annual tax return (often up to 80% for the first €150 donated, and 35% to 40% thereafter).
If you are also looking at investments or selling assets while living in Spain, keep in mind that capital gains are taxed separately from your employment income. If you ever need to figure out what you'll owe on investments or property sales, running those figures through a dedicated Capital Gains Tax Calculator will keep you from accidentally mixing up your salary tax with your investment tax.
Your Next Step
Navigating a new tax system always feels intimidating when you are looking at it through a fog of unfamiliar acronyms and foreign forms. But IRPF isn't a black box—it is just a math formula based on where you live, what you earn, and who is in your household.
Take a look at your gross offer, factor in that rough 6% to 7% for Social Security, and remember that your employer is doing the heavy lifting of withholding your taxes month by month. You don't have to figure out every cent today; you just need to know that the numbers are manageable, predictable, and entirely workable.
Disclaimer: Tax laws and regional brackets are subject to change, and individual financial situations vary. This guide is for informational purposes and does not constitute formal tax or financial advice.
For help running these numbers on the go, check out the free Finlaa app.
FAQs
Do I have to file a tax return in Spain if my employer withholds my taxes?
Not always. If you have a single employer, earn under a certain threshold (typically €22,000 gross per year), and have no other sources of income, you may be exempt from filing an annual return (la declaración de la renta). However, many people still choose to file because deductions for rent, charitable donations, or family status mean the tax office actually owes them money.
What is the difference between gross (bruto) and net (neto) salary in Spain?
Gross salary is the total amount your employer agrees to pay you before any deductions. Net salary is what actually hits your bank account after your employer subtracts your IRPF (income tax) withholding and your Social Security contributions. Always negotiate and budget using your net salary.
How do I handle taxes if I work remotely from Spain for a foreign company?
If you live in Spain for more than 183 days a year, you are considered a tax resident and are generally required to pay Spanish tax on your worldwide income. Many remote workers in this situation either set themselves up as local freelancers (autónomos) or use an Employer of Record (EOR) service to handle local IRPF withholdings and Social Security compliance automatically.

