Tax tool

Beckham Law Calculator for Madrid

Your gross salary in, two tax bills out: ordinary income tax and the Beckham regime, for a Madrid resident.

Type your gross salary and see, side by side, what a Madrid resident would pay under the ordinary income tax and under the special tax regime for newcomers to Spain. The Community of Madrid comes selected by default, and you can switch to any other region to compare.

Reading the two results

The first box is the ordinary income tax (IRPF) a resident of the Community of Madrid would pay on that salary in 2026. The second is the bill if you opt for the regime that article 93 of Ley 35/2006 sets up, the option most people know as the Beckham Law. Below them you get the yearly difference, the effective rate of each option and the net amount left once income tax and Social Security are paid. Change the salary, the number of children or the foreign savings figure and the result updates.

All the numbers are an estimate for guidance. They come from the official 2026 scales, but a real return depends on details that a short form cannot capture. Use the result to decide whether the regime deserves a closer look, not as the final answer.

How the ordinary side is worked out

The tool starts from your gross pay and takes off the employee Social Security contribution, applying the 2026 rate up to the maximum contribution base and the additional solidarity contribution on pay above it. From that net figure it subtracts the general 2,000 € deduction for employment income and, at low salaries, the statutory reduction for earned income. What remains is the general taxable base.

That base then goes through two progressive scales: the state one and the one approved by the Community of Madrid. Each half is reduced by its own personal allowance, plus the allowances for any children you enter. In Madrid the regional allowances are higher than the state ones, which the calculator takes into account. If you add foreign dividends or interest, they are taxed on the separate savings scale, from 19 % to 30 %.

How the special regime side is worked out

Under the regime, the first 600,000 € of salary pays a flat 24 %, and any excess 47 %. Nothing is deducted first: no Social Security contributions, no 2,000 € deduction and no personal or family allowances. Foreign savings income is left out of the Spanish bill, because the regime follows the non-resident method, which reaches income obtained in Spain. Social Security itself is paid the same way in both cases, so it appears in the net figures but does not change the comparison.

What the estimate does not include

  • The Community of Madrid’s own tax deductions, which can only be claimed in the ordinary tax and would lower it further.
  • Higher allowances for older taxpayers, for a disability or for parents you support.
  • Income from Spanish sources apart from your pay, such as rent from a flat in Madrid or Spanish dividends.
  • Relief for tax paid in another country, which under the regime is capped.
  • Joint filing, and residents of Navarre or the Basque Country, whose income tax is a separate system.

Sample results for a Madrid resident

Estimate. Figures produced by the calculator above for one person with no children and no other income, rounded to the euro:

Gross salaryOrdinary IRPFSpecial regimeDifference
40,000 €7,204 €9,600 €Regime costs 2,396 € more
60,000 €13,916 €14,400 €Regime costs 484 € more
80,000 €22,130 €19,200 €Regime costs 2,930 € less
100,000 €30,711 €24,000 €Regime costs 6,711 € less
150,000 €52,160 €36,000 €Regime costs 16,160 € less

For that profile the two lines meet at roughly 64,100 € of gross salary. Two children change the picture at 80,000 €: the ordinary bill drops to about 21,180 €, so the gap narrows to under 2,000 €. With 10,000 € a year of foreign dividends on top of a 100,000 € salary, the ordinary figure rises to about 32,690 € while the regime stays at 24,000 €.

When the regime tends to help, and when it does not

The flat rate gains ground as pay rises, because the ordinary scales keep climbing to a combined 45 % in Madrid while the regime’s rate does not move from 24 % below the 600,000 € mark. People with sizeable investment income abroad also tend to see a wider gap in favour of the regime.

The ordinary tax holds up better for moderate salaries, for families claiming several child allowances, for anyone entitled to Madrid’s regional deductions and for people whose pay is also taxed in another country. Remember too that the choice is hard to undo: you can only leave in November or December, and once out you cannot return. Our guide on whether the Beckham Law beats ordinary income tax in Madrid goes through each of these cases, and remote employees can read how the teleworking residence permit requested from Madrid fits in.

If the estimate points to the regime, the six-month deadline to file modelo 149 is the next thing to watch. Our Beckham Law service for Madrid residents confirms your eligibility, runs the comparison with your real figures and files the option for you.

Questions about the calculator

How accurate is this Beckham Law calculator?

It uses the official 2026 state and Madrid scales, the 2026 Social Security rates and the rules of article 93, so the core arithmetic is the same a tax adviser would do for a salary-only case. It leaves out regional deductions and other income, which is why the result is a guide and not a tax return.

Do I need a minimum salary to opt in?

The law does not set one. Whether you qualify depends on the reason for your move and on your tax residence having been outside Spain throughout the five preceding years. Salary only decides whether the regime is worth choosing, which is what the calculator helps you see.

Why does having children make the ordinary tax look better?

The ordinary tax gives an allowance for each child, and Madrid’s allowances for the regional half are higher than the state ones. The special regime has no allowances at all, so every child you enter lowers only the ordinary figure.

What happens to my income from abroad?

Your salary counts as Spanish income under both options, even if part of it is paid from another country. Foreign dividends and interest are taxed in the ordinary system on the savings scale, while the calculator treats them as outside the Spanish bill under the regime. Rent from property abroad and double taxation are not modelled.

Can I try the calculation for another region?

Yes. Pick a different region in the first field and the regional half is recalculated with that region’s 2026 scale and allowances. The Basque Country and Navarre are shown with a notice, because their income tax is regulated separately.

Official sources behind the figures: Ley 35/2006 (IRPF), Real Decreto 439/2007, Orden PJC/297/2026 (Social Security contributions) and Ley 13/2023 of the Community of Madrid. Checked on 28 October 2026.

Ask us about your case

Moving to Madrid? Tell us what you need

Send us a short note: the passport you hold, where things stand for you today and the town in the Community of Madrid you are heading to. We reply on business days, as a rule within one, with the route for your case and a set price in writing.

Scroll to Top
WhatsApp