How it works
Enter your gross yearly salary, how many payments you get a year, and whether your contract is permanent or temporary. The page takes off Social Security and the tax withheld from your payslip and shows what you keep per payment and per year.
Formula
Temporary contracts pay 6.55% instead, as unemployment is 1.60%.
Withholding base: gross salary minus Social Security, minus 2,000 for other expenses, minus the work reduction (7,302 for salary after Social Security up to 14,852, shrinking in two steps to zero at 19,747.50).
IRPF withheld: the tax on that base at the scale 19% / 24% / 30% / 37% / 45% / 47%, minus the same scale on 5,550 (the personal minimum), never below zero.
If salary is 35,200 or less, the result is capped at 43% of salary above 15,876.
The rate is truncated to 2 decimals, and tax = rate x gross salary.
Nothing is withheld when gross salary is 15,876 or less (single, no children).
Sources
- Algoritmo de calculo de retenciones 2026 (IRPF withholding algorithm), AEAT
- Tipos de cotizacion 2026 (worker Social Security rates), Seguridad Social
- Orden PJC/297/2026, 2026 contribution bases and maximum base (BOE)
- Reduccion por rendimientos del trabajo (art. 20 LIRPF), AEAT
Example
Gross salary 30,000 euros a year, 14 payments, permanent contract.
Social Security: 30,000 x 6.5% = 1,950 (the base 2,500 a month is under the 2026 maximum).
Work reduction: salary after Social Security is 28,050, above 19,747.50, so 0. Withholding base: 28,050 - 2,000 = 26,050.
Tax on base at the scale: 5980.50. Tax on 5,550 at the scale: 1,054.50. Difference: 4,926.
Limit check: 43% of (30,000 - 15,876) = 6,073.32, so the limit does not bite. Rate: 4,926 / 30,000 = 16.42%. Tax withheld: 30,000 x 16.42% = 4,926.
Take-home = 30,000 - 1,950 - 4,926 = 23,124 a year, which is 1,651.71 per payment over 14 payments.
Frequently asked questions
Why only 18,000 to 300,000?
Below 18,000 nothing is withheld in this situation anyway, and above 300,000 the top step of the scale is 47% so the math still works, but very high pay often has extras this page ignores. The range keeps the page from giving a wrong number.
Is this my final tax?
No. This is the withholding your employer takes out each payslip. Your final tax (renta) is settled the year after, and can be a bit more or less, with regional scales, family situation and deductions. This page uses the official 2026 withholding algorithm for a single person with no children, no disability and no regional foral rules (not Navarra or the Basque Country).
Why does my payslip show a slightly different rate?
Employers recompute the rate when your pay changes and may use more decimals in Social Security bases, which are set per month. Small gaps of a few euros a month are normal.
What are the 14 payments?
Many Spanish contracts split the yearly salary into 14 payments, with two extra ones, usually in summer and December. This page splits your gross salary evenly; some companies pay the extras on a different base.