Income Tax and Payslip Withholding Calculator

Estimate your income tax withholding, net salary and bracket breakdown based on your autonomous community and personal situation.

When should you use this calculator?

IRPF (Impuesto sobre la Renta de las Personas Físicas) is Spain's progressive personal income tax. Employers apply a monthly withholding on account of this tax, calculated from the annual salary, family situation and autonomous community of residence.

How it is calculated

To calculate the withholding, you start from the annual gross salary and subtract first the employee's Social Security contribution (6.5%) and then the applicable personal and family allowances, arriving at the taxable base. Brackets are then applied progressively to that base: each slice of income is taxed only at its own rate, not the whole salary at the highest rate reached. That's why it's worth distinguishing between the marginal rate (the rate of the last bracket your income reaches) and the effective rate (the average percentage you actually pay overall), which is always lower than the marginal rate.

Practical example

A numeric example makes this clearer: with a €30,000 gross salary in Madrid, single with no children, the Social Security contribution is €1,950 (6.5%) and the €5,550 personal allowance reduces the taxable base to €22,500. Applying the combined brackets (national + Madrid's regional scale) progressively, the resulting tax is €4,644.68, giving an effective rate of 15.48%, even though the marginal bracket reached is taxed at 27.8%. Annual net salary comes out at €23,405.32.

Differences by autonomous community

Spanish income tax has a national bracket, equal across the whole country, and a regional bracket, which each autonomous community sets independently with its own thresholds, not always aligned with the national ones. This is why two people with the same gross salary can have different withholdings simply by living in different communities: for example, Madrid has lower regional rates than several other communities across most brackets. Navarre and the Basque Country additionally have their own foral regime, with a complete scale managed by their own regional tax authorities, independent of the national+regional system used in the rest of Spain.

Common mistakes

A very common mistake is thinking that moving into a higher bracket means the whole salary gets taxed at the higher rate: in reality, only the slice of income that falls within that bracket is taxed at that rate, the rest keeps being taxed at the lower brackets' rates - exactly the difference between marginal and effective rate described above. Another frequent mistake is not updating form 145 after a relevant change (a child is born, marriage, a recognized disability grade), which leaves the employer applying a withholding that no longer matches the real situation. It's also easy to forget that family allowances don't reduce the tax bill directly, but the base on which it's calculated.

Legal and tax context

Besides salary, personal and family allowances reduce the base on which the tax is calculated: the personal allowance (€5,550), an additional allowance for a low-income dependent spouse (€3,400 in joint filing), for dependent children under 25 (€2,400 for the first, €2,700 for each additional one) and for disability (€3,000 for a moderate grade, €9,000 for a severe grade). Artists and professional athletes have a legal minimum withholding rate of 15%, applied if the normal progressive calculation would otherwise result in a lower rate.

Practical tips

If you have more than one payer and the income from the second (and further) payers exceeds €1,500 a year, or if your total salary from a single payer exceeds €22,000 a year, you are generally required to file an income tax return, with a filing season that usually runs from April to June of the following year. If your personal or family situation changes, submitting an updated form 145 to your employer lets you adjust the monthly withholding up or down without waiting for the annual return, avoiding surprises from a wrongly calculated withholding throughout the year.

Other calculators you may find useful

If you found this calculator useful, you might also want to check out:

Frequently asked questions

Why does the withholding vary by autonomous community?

Because Spanish income tax has a national bracket and a regional bracket, and each autonomous community sets its own brackets and rates.

How much does an employee contribute to Social Security?

Employees currently contribute 6.5% of their gross salary, covering common contingencies, unemployment, vocational training and the Intergenerational Equity Mechanism.

Do children reduce income tax withholding?

Yes, the family allowance for dependent children reduces the taxable base, lowering the applied withholding.

When am I required to file an income tax return?

Generally you must file if you have more than one payer and the income from the second exceeds €1,500, or if your total salary from a single payer exceeds €22,000 a year. The filing season usually runs from April to June of the following year.

Can I ask for less income tax to be withheld from my payslip?

Yes, by submitting form 145 to your employer you can report your personal and family situation. If you have significant deductions (mortgage, children, disability), the calculated withholding may be lower.

What is the effective income tax rate?

The effective rate is the real percentage of income tax you pay on your total gross salary once every bracket has been applied progressively. It is always lower than the marginal rate, which is the rate of the highest bracket your income reaches.

What is the difference between the marginal rate and the effective rate?

The marginal rate is the percentage of the highest bracket your income reaches; the effective rate is the average percentage you actually pay on your total salary once every bracket has been applied progressively. The effective rate is always lower than the marginal one.

Why don't Navarre and the Basque Country show a national + regional bracket?

Because they have their own foral regime: their regional tax authorities administer and collect income tax independently, with their own complete bracket scale, instead of the national-plus-regional system used in the rest of Spain's communities.

What is form 145?

It's the document you use to tell your employer about your personal and family situation (marital status, children, disability, single or multiple payer) so they calculate your income tax withholding correctly. It's worth updating whenever that situation changes.

Do athletes and artists always pay more income tax?

Not necessarily more, but they do have a legal minimum withholding rate of 15%: if the normal progressive calculation would give a lower rate, that 15% minimum is applied anyway.