Skip to content

Free tool

Spain salary calculator 2026

Estimate your take-home pay from a Spanish gross salary in your region, compare it with the Beckham law if you are moving to Spain, or work out what you keep as an autónomo.

Short answer

On a gross salary of €40,000 a year in Madrid, you take home about €30,196 a year in 2026, or €2,157 a month over 14 payments. With the Beckham law, a salary of €100,000 leaves about €71,938 instead of €65,227. An autónomo with a profit of €40,000 keeps about €28,080 after the Seguridad Social cuota and IRPF.

Your income

I work as

Before Seguridad Social and IRPF, in euros.

What you invoice minus business costs, before your autónomo cuota, in euros.

Many contracts pay 14 times a year, with extra payments in summer and December. This changes the monthly figure, not the annual one.

The region where you live most of the year sets the regional part of IRPF.

Beckham law conditions

The regime only applies if all of these are true. Answer what you know.

This is an estimate, not tax advice. It shows the IRPF due for the full year, assuming you are under 65, with no dependants and no other income. Your payslip withholding and your tax return can differ.

How this estimate is calculated

Your employer first takes your Seguridad Social contributions: 6.5% of your salary on a permanent contract, on pay up to €5,101.20 a month. Above that, a small solidarity contribution applies to the part of the salary over the cap.

IRPF is charged on what is left after those contributions, a fixed €2,000 for other expenses and, on lower salaries, a reduction of up to €7,302 that ends at €19,748. The first €5,550 of income is tax-free (the mínimo personal); some regions set a higher amount.

IRPF has two parts: the state scale, the same everywhere, and your region's scale. That is why the same salary leaves a different net amount in Madrid, Catalonia or Valencia. This estimate shows the tax due for the whole year; the monthly withholding on your payslip is an advance that the annual return (renta) settles.

IRPF state scale in 2026

These are the rates of the state part of IRPF. Your region adds its own scale, with rates from 7.75% to 29.35%.

Taxable income per yearState rate
Up to €12,4509.5%
€12,450 to €20,20012%
€20,200 to €35,20015%
€35,200 to €60,00018.5%
€60,000 to €300,00022.5%
Above €300,00024.5%

In 2026 people earning up to €17,094 (the minimum wage) pay no IRPF: a deduction of up to €591 cancels it, and it shrinks to zero at €20,048. In Ceuta and Melilla, IRPF is cut by 60%.

The Beckham law in 2026

Under the special regime for people posted or moving to Spain, known as the Beckham law, your work income is taxed at a flat 24% up to €600,000, and at 47% above that. There are no deductions or tax-free allowance under the regime, so it pays off on higher salaries.

It lasts the year you become resident and the following five years. Seguridad Social is paid as for any other employee. You opt in with modelo 149 and file modelo 151 each year instead of the normal return.

Main conditions

  • You were not tax resident in Spain in the 5 years before the move.
  • You move for a job with a Spanish employer, a posting from your employer, remote work for a foreign company, as a company director, or for an entrepreneurial activity.
  • You apply within 6 months of starting work, registered with the Seguridad Social.

Autónomos: Seguridad Social and IRPF

Autónomos pay a monthly Seguridad Social cuota based on their real income. Your yearly net income, less a 7% deduction for general costs, is divided by twelve and falls in a bracket with a minimum and maximum contribution base. The cuota is 31.5% of the base you choose. This calculator uses the minimum base of your bracket.

For IRPF, the cuota is a deductible expense. Under estimación directa simplificada you also deduct 5% of the net income for hard-to-justify expenses, up to €2,000 a year. Incomes under €12,000 get a further reduction of up to €1,620. The rest is taxed on the same state and regional scales as a salary.

What this estimate leaves out

  • Allowances for children, other dependants, age over 65 or disability.
  • Regional tax deductions, such as for rent or for children.
  • Pension plan contributions and other reductions of the tax base.
  • Navarra and the Basque Country, which have their own income tax.
  • Starting or leaving part way through the year.
  • For autónomos: VAT, the reduced cuota for new autónomos, and choosing a contribution base above the minimum.

Your employer also pays its own Seguridad Social contributions on top of your gross salary. They are not taken from your pay.

Applying for jobs in Spain?

Paste a Spanish or English job ad and CVTailor tailors your CV to it, using only what is in your own experience.

Questions

What is the net salary on €40,000 gross in Spain?

In 2026, living in Madrid, about €30,196 a year, or €2,157 a month over 14 payments. You pay €2,600 in Seguridad Social and €7,204 in IRPF.

Why does the net salary depend on the region?

IRPF has a state part and a regional part. Each region sets its own scale and tax-free allowance, so the same salary pays more tax in some regions than in others.

Who can use the Beckham law?

People who were not tax resident in Spain in the previous 5 years and move for a job, a posting, remote work for a foreign company or as a director or entrepreneur. They apply within 6 months of starting work.

How much does the Beckham law save?

It depends on the salary. On €100,000 in Madrid, the net goes from about €65,227 to €71,938. On lower salaries the flat 24% can be more than the normal IRPF.

How much does an autónomo pay in Spain?

With a profit of €40,000 in Madrid, about €5,435 in Seguridad Social cuota and €6,485 in IRPF in 2026, leaving €28,080.

Is this calculator tax advice?

No. It is an estimate based on the official 2026 rules. For your own situation, check your payslip or ask a tax adviser (asesor fiscal).

Sources

All figures come from these official publications.

  1. Boletín Oficial del Estado: Ley 35/2006, de 28 de noviembre, del Impuesto sobre la Renta de las Personas Físicas (texto consolidado, última actualización publicada el 07/10/2026), read on 26 October 2026.
  2. Boletín Oficial del Estado: Real Decreto 439/2007, de 30 de marzo, Reglamento del Impuesto sobre la Renta de las Personas Físicas (texto consolidado, última actualización publicada el 07/10/2026), read on 26 October 2026.
  3. Boletín Oficial del Estado: Real Decreto-ley 5/2026, de 17 de febrero, artículo 28: eliminación de la tributación en el IRPF de los perceptores del salario mínimo interprofesional (convalidado el 18 de marzo de 2026), read on 26 October 2026.
  4. Ministerio de Hacienda: Tributación autonómica. Medidas 2026, capítulo IV: resumen de medidas vigentes en tributos cedidos, ejercicio 2026 (actualizado a 23 de septiembre de 2026), read on 26 October 2026.
  5. Boletín Oficial del Estado: Ley 5/2026, de 31 de julio, de medidas fiscales, de gestión administrativa y financiera, y de organización de la Generalitat (Comunitat Valenciana), artículo 18, read on 26 October 2026.
  6. Boletín Oficial del Estado: Ley 2/2026, de 3 de agosto, de Presupuestos Generales de la Comunidad Autónoma de Extremadura para el año 2026, disposición final segunda, read on 26 October 2026.
  7. Boletín Oficial del Estado: Orden PJC/297/2026, de 30 de marzo, normas legales de cotización a la Seguridad Social, desempleo, protección por cese de actividad, Fondo de Garantía Salarial y formación profesional para el ejercicio 2026, read on 26 October 2026.
  8. Boletín Oficial del Estado: Real Decreto Legislativo 8/2015, de 30 de octubre, texto refundido de la Ley General de la Seguridad Social (texto consolidado), artículo 308, read on 26 October 2026.
  9. Boletín Oficial del Estado: Real Decreto Legislativo 5/2004, de 5 de marzo, texto refundido de la Ley del Impuesto sobre la Renta de no Residentes (texto consolidado), artículo 24, read on 26 October 2026.
  10. Agencia Tributaria: Régimen fiscal aplicable a los trabajadores desplazados a territorio español: régimen especial (modelos 149 y 151), read on 26 October 2026.
  11. Agencia Tributaria: Manual práctico de Renta 2025, parte 1 (20 de mayo de 2026), read on 26 October 2026.