Spain Tax year 2026
Rules checked against AEATFree widgetsMethodology
mynetincome
Search

Reverse salary calculator 2026

Give the take-home pay you want and the period it is for, and see the gross salary in Madrid that gives it.

Period this take-home is for
Where you live
Only the Comunidad de Madrid is covered so far. Every other region, Navarra and the Basque Country, which levy their own income tax, and Ceuta and Melilla are not yet included.
With 14 payments the two extra payments (pagas extra) are paid in June and December; with 12 they are spread across the year's twelve months. Enter the year's total pay either way.
Your contribution group (grupo de cotización) is a professional category set by your employment contract, not by your pay. It sets a lowest monthly pay: while your pay is under it, the common-contingencies and MEI contributions are charged on that lowest pay, and the rest on your pay. Groups 8 to 11 are paid by the day and are not covered. Your payslip names your group.
You need a salary of
€29,996
a year leaves you €1,927.00 a month after Social Security and income tax withheld, at least the €1,927.00 you asked for.
2026 · Comunidad de Madrid
Take-home77.1%Social Security (Seguridad Social)6.5%Income tax withheld (retención, IRPF)16.4%
Your next €100 of pay: you keep €64.95. 35.05% of it goes in Social Security and income tax withheld.

Breakdown

Where that €29,996 goes

YearMonthWeek
Gross pay€29,996.00€2,499.67€576.85
Social Security (Seguridad Social)−€1,949.64−€162.47−€37.49
Income tax withheld (retención, IRPF)−€4,922.34−€410.20−€94.66
Take-home pay€23,124.02€1,927.00€444.69

Each figure in the Month and Week columns is the year's figure divided by 12 or 52 and rounded to the cent on its own, so a column can be a cent away from its own total.

How it is worked out

What these figures are, and what they are not

The answer is the smallest yearly salary in whole euros whose take-home is at least what you asked for, never below the minimum wage. Take-home can dip for a euro where the withholding rate, which is cut to two decimals, steps up, so the search looks below the first crossing as well.

Your employer takes two things from your pay. Social Security (Seguridad Social) is charged each month on a twelfth of your year's pay, extra payments and bonuses included, up to the monthly ceiling. If your pay is under the lowest pay for your contribution group, part of it is charged on that lowest pay instead. Income tax is withheld (retención, IRPF) at one rate for the whole year, set from your pay for the year by the tax agency's procedure and cut to two decimals. The take-home shown is your pay less both.

Rules v2026.1 · checked against Spanish legislation and the tax agency (AEAT) on 2 November 2026Two independent checks on every rate · 72 hand-derived Spanish cases, beside 1,537 generated · Changelog
Questions

Common questions

Why is the take-home a little more than I asked for?

The answer is a salary in whole euros, and the take-home of such a salary rarely lands on your figure to the cent. The salary shown is the smallest one that gives at least the take-home you asked for.

What is taken from my pay in Spain?

Two things. Social Security (Seguridad Social): 4.7% for common contingencies, 1.55% for unemployment on an indefinite contract, 0.1% for training and 0.15% for the MEI (intergenerational equity mechanism), on a monthly pay of up to €5,101.20. And income tax withheld by your employer (retención, IRPF), at a rate set from your whole year's pay and cut to two decimals.

How much Social Security do I pay?

4.7% for common contingencies, 1.55% for unemployment (1.6% on a fixed-term contract), 0.1% for training and 0.15% for the MEI, charged each month on a twelfth of your year's pay, up to €5,101.20 a month. If your pay is under the lowest pay for your contribution group, the 4.7% and 0.15% are charged on that lowest pay instead. Above that ceiling, a solidarity contribution of 0.19% to 0.24% is charged on the part over it.

SourcesAEAT, Departamento de Informática Tributaria, ALGORITMO DE CÁLCULO DEL TIPO DE RETENCIÓN A CUENTA DEL IRPF PARA LOS RENDIMIENTOS DEL TRABAJO PERSONAL, EJERCICIO 2026 (Desde 1 de Enero a 9 de septiembre), dated 09-09-2026, 48 pages, 1,048,046 bytes: pages 29-31 (TABLA 1, TABLA 2, the 43 per cent cap), pages 32-33 (housing minoration, CEUMELI, TIPO), pages 21-23 (gastos, RED20, reducciones), pages 40-47 (input and output parameters)Ley 35/2006, artículo 63.1 (consolidated text)Ministerio de Hacienda, Secretaría General de Financiación Autonómica y Local, Subdirección General de Relaciones Tributarias con las Comunidades Autónomas, 'TRIBUTACIÓN AUTONÓMICA. Medidas 2026', Capítulo IV, NIPO 225-24-062-6, updated 29 April 2026 (3,373,268 bytes, 493 pages)Orden PJC/297/2026, de 30 de marzo, por la que se desarrollan las 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 (BOE-A-2026-7296, BOE núm. 79, 31 March 2026), artículo 3Ley 35/2006, disposición adicional sexagésima primera 'Deducción por obtención de rendimientos del trabajo' (consolidated text)Real Decreto 126/2026, de 18 de febrero, por el que se fija el salario mínimo interprofesional para 2026, artículo 1 (BOE núm. 44, 19 February 2026)