How it is calculated
From gross to net in Spain, step by step
Your net salary in Spain is your gross pay minus two deductions: employee social security contributions (Seguridad Social) and the income tax withholding known as IRPF. This Spain salary calculator follows the same order your employer uses on the payslip (nómina): first the contribution base, then the employee contributions, and finally the withholding rate from the official algorithm of the Spanish Tax Agency (AEAT).
For IRPF the starting point is net employment income, i.e. gross minus social security. From that figure Spain deducts 2.000 € of general expenses (4.000 € if you moved to another town for the job) and an employment-income reduction worth up to 7.302 € for income up to 14.852 €, phased out completely at 19.747,50 €. The result is the withholding base.
The withholding scale is applied to that base, and the same scale applied to your personal and family allowance is subtracted. The allowance is 5.550 € per taxpayer, plus 2.400 €, 2.700 €, 4.000 € and 4.500 € for the first, second, third and further children, 2.800 € more for each child under 3, and extra amounts for age and dependent parents. Dividing the resulting tax by gross pay gives the withholding rate on your payslip.
Spanish social security rates for 2026
In 2026 employees pay 4,70% for common contingencies (pensions and sick pay), 1,55% for unemployment insurance (1,60% on a temporary contract), 0,10% for vocational training and 0,15% for the intergenerational equity mechanism (MEI). That is 6,50% of salary on a permanent contract. The employer pays roughly another 30% on top.
Contributions are calculated on a monthly base between 1.424,40 € and 5.101,20 € (Orden PJC/297/2026). Above the ceiling, an additional solidarity contribution of 1,15% to 1,46% applies to the excess, most of it paid by the employer. That is why social security stops growing much for salaries above roughly 61.000 € a year.
Worked example: 30.000 € gross in 2026
A single employee with no children on a permanent contract earning 30.000 € gross a year pays 1.950 € in social security. Net employment income is 28.050 €; after 2.000 € of general expenses (the employment reduction is already zero at this level) the withholding base is 26.050 €, and the personal allowance is 5.550 €.
The AEAT algorithm gives a withholding rate of 16,42%, or 4.926 € a year. The take-home pay is 23.124 € a year: 1.927 € a month in 12 payments, or 1.628,50 € per regular payment plus two extra payments of 1.791 € in a 14-payment contract. Under the general scale the final tax equals what was withheld, so there is nothing to pay or refund.
12 or 14 payments (pagas)
Spanish salaries are often paid in 14 instalments: twelve monthly payments plus two extra payments (pagas extra), typically in June or July and December. Employers can also spread them over 12 payments (prorrateo). The annual net salary is exactly the same either way; only the monthly amount changes.
With 14 payments, social security for the extra payments is already spread over the monthly ones, so each extra payment only carries IRPF and is slightly higher than a regular payslip. When comparing job offers in Spain, always compare the annual gross figure rather than the monthly one.
Regional differences (comunidades autónomas)
Payroll withholding uses one national scale from 19% to 47%, so it is identical across Spain. The final income tax, however, is split between a state scale and the scale of your autonomous community (comunidad autónoma), so the result of your annual return (declaración de la Renta) depends on where you live on 31 December.
For 30.000 € gross the estimated annual tax is about 4.633 € in Madrid, 4.926 € under the general scale and 4.959 € in Catalonia. The calculator shows the difference as an amount to pay or refund. The Basque Country and Navarre have their own tax systems and are not covered.
Tips for expats and new employees
Give your employer form 145 (modelo 145) with your family situation: children, dependent parents or a recent move can lower your withholding. If you have more than one employer in the year, withholding may be too low and you may owe tax in the annual return.
This simulation does not include the Beckham regime for inbound workers, disability, regional tax credits, benefits in kind, overtime or collective-agreement bonuses. Use it to compare offers and sanity-check your payslip, and always rely on your official nómina.