Free tool · Spain

Spain investment tax calculator: how much tax on your savings and gains?

By · Updated

In short

In Spain, interest, dividends and gains from selling shares, funds or crypto are taxed together in the savings base, on a scale that goes from 19% on the first €6,000 to 21% up to €50,000, 23% up to €200,000, 27% up to €300,000 and 30% above. Interest and dividends are offset against each other, and gains and losses from sales against each other; a loss in one group can reduce the other by up to 25% of it, and the rest is carried forward for four years. The scale is the same in every region except the Basque Country and Navarre. A resident of the UAE pays no personal tax on the same income.

The calculator

Calculator by Borja Burguillos · open the full version on borbur.net ↗

Key facts

Scale 2026
19% to €6,000; 21% to €50,000; 23% to €200,000; 27% to €300,000; 30% above
What it covers
Interest, dividends and gains from selling shares, funds and crypto
Losses
Offset within their group; up to 25% of the other group; the rest carried forward four years
Crypto
Taxed like other gains when you sell or swap, including crypto-to-crypto swaps
Withholding
Banks withhold 19% on interest and dividends as an advance on the final tax
UAE
No personal tax on interest, dividends or capital gains for individuals

How it works

1. Interest and dividends

What your accounts, deposits, bonds and shares paid you this year, before withholding.

2. Gains or losses

The net result of what you sold this year: shares, funds, ETFs or crypto. Use a minus sign for a net loss.

3. The result

How losses offset, the tax in each band, what was already withheld and what is left to pay, compared with the UAE.

The rules it follows

Spanish income tax splits savings income into two groups. Interest and dividends (yields on capital) are added together, and gains and losses from selling assets are added together, however long you held them. If one group is negative, it reduces the other group’s positive balance by up to 25%; anything left is carried forward and can be used over the next four years.

The resulting savings base is taxed on the 2026 scale: 19% on the first €6,000, 21% from €6,000 to €50,000, 23% from €50,000 to €200,000, 27% from €200,000 to €300,000 and 30% above, after the increase in the top rate approved by Law 7/2024 from 2025. The scale combines the state and regional parts and is the same across the common regime.

Banks and brokers in Spain withhold 19% on interest and dividends (and on gains from funds when you redeem them) as an advance payment; the calculator estimates the withholding on interest and dividends only. Individuals in the UAE pay no personal income tax on interest, dividends or capital gains.

Comparing Spain with the UAE? Go deeper: Savings, inflation and Bitcoin calculator · Tax residency day counter · Salary in crypto

Go deeper in the book

Embed this calculator

Free to use on your website or blog. Copy the code below and paste it into your page’s HTML. Please keep the credit link.

Questions

How much tax do I pay on investment gains in Spain in 2026?

Between 19% and 30%, on a scale: 19% on the first €6,000 of savings income, 21% up to €50,000, 23% up to €200,000, 27% up to €300,000 and 30% above.

How is crypto taxed in Spain?

Gains from selling crypto, or swapping one crypto for another, go into the savings base and pay the same 19% to 30% scale. Losses can offset other gains.

Can losses on shares reduce tax on interest or dividends?

Yes, up to 25% of your interest and dividends that year. The rest of the loss is carried forward for four years.

Is the savings tax the same in every region?

Yes in the common regime. The Basque Country and Navarre have their own scales.

Do I pay tax on investments if I live in the UAE?

Individuals in the UAE pay no personal income tax on interest, dividends or capital gains. If you are still tax resident in Spain, Spain taxes your worldwide savings income.

What if my bank already withheld 19%?

The withholding is an advance. When you file, it is subtracted from the final tax: you pay the difference or get a refund.

Sources

  1. Guía Fiscal, Tramos del IRPF 2026: escala de la base del ahorro (Ley 7/2024, 30% above €300,000 from 2025)
  2. El Español, Hacienda sube los impuestos de depósitos e intereses: la nueva escala del ahorro (April 2026)
  3. Agencia Tributaria, Manual práctico IRPF: integración y compensación de rentas en la base imponible del ahorro
  4. PwC Worldwide Tax Summaries, United Arab Emirates: taxes on personal income

Updated:

Free tools

Calculators built on the official rules, with their sources. Free, no sign-up.

See all free tools →

More books

Guides

What is Bitcoin, and why does it exist?What it is, who made it, and why a money with fixed rules had to exist.Money and pay: why money loses value and how pay is changingInflation, total rewards, pay transparency and what digital money changes for HR.Can you be paid your salary in crypto or stablecoins?Can your salary be paid in crypto or stablecoins? The rules in the UAE and Spain.Take-home pay index 2026: how much of your salary you keep in nine countriesHow much of a $40,000 to $250,000 salary you keep in nine countries, under 2026 rules.What are stablecoins, and why do they matter?Digital dollars: how they hold their value, why they matter and the rules arriving.Web3 and the business of sportFan tokens, crypto sponsorship and prediction markets: how money is changing sport.The best books to understand Bitcoin, for beginnersThe best books to understand Bitcoin, from first steps to the technical detail.The best books on stablecoinsThe best books and reports to understand stablecoins, from inclusion to regulation.Which banks are launching stablecoins, and what does it mean for you?Qivalis, Santander, BBVA, CaixaBank: which banks are launching stablecoins, and what it means for customers.Books on Web3 and sport: what to read firstThe few books worth reading on Web3, fan tokens and the business of sport, and what each one is for.Stablecoins in the UAE: what is allowed, who issues them and what it means for youWhat the UAE allows, who regulates it, and the first dirham stablecoins: AE Coin, DDSC and RAKBank.Open lists in Spain: how Spaniards vote today, and what would changeHow Spaniards vote for Congress and the Senate today, and what open lists would change.How does the D’Hondt method work? Spain’s seat formula, step by stepHow Spain turns votes into seats, with a worked example, and why the province matters more than the formula.How to vote from abroad in Spain’s 29 November 2026 electionHow Spaniards living abroad vote on 29 November 2026: the consulate urn, postal vote and deadlines.How many votes does a seat cost in Spain? Province by province, 29 November 2026How many voters stand behind each seat in Congress, province by province, for 29 November 2026.Postal vote for 29 November 2026: request it by 19 NovemberHow to vote by post from Spain on 29 November 2026: request by 19 November, send by 25 November.Polling station duty on 29 November 2026: pay, hours and time offCalled to sit on a polling station on 29 November 2026? Pay, hours, time off work and what to do if you cannot go.Can stablecoins make sending money home cheaper?Do stablecoins make sending money home cheaper? What the World Bank and IMF data show.How pay works in the UAE: basic salary, allowances and gratuityBasic salary, allowances, gratuity, no income tax: what a UAE pay package really means.Paying employees in stablecoins: what employers need to know in the UAE and SpainWhat employers in the UAE and Spain can and cannot do when they pay staff in stablecoins.Spain vs Dubai salary 2026: what you keep, and the Spanish salary that matches DubaiWhat the same salary leaves in Spain and in Dubai, and the Spanish salary that matches a Dubai one.How AI is changing the job market: what the major reports sayWhat the WEF, IMF, ILO, Stanford and PwC data say about AI, jobs and pay.Will Bitcoin be the money of AI agents? How machines pay, and what is still missingAI agents are starting to pay for things. Cards, stablecoins and Bitcoin compared as money for machines.Why does Bitcoin go up and down so much?Fixed supply, big funds, interest rates and leverage: why Bitcoin’s price swings so much.Bitcoin from zero: a free course in six short lessonsA free course in six short lessons: what Bitcoin is, transactions, wallets, safety, scams and tax in Spain.How a Bitcoin transaction works, step by stepWhat happens between pressing send and the payment being final: the queue, the fee, the block and the confirmations.What is a Bitcoin wallet? Keys, seed phrase and custodyA wallet does not hold coins: it holds keys. What the seed phrase is, and custody by an exchange versus your own.How to keep bitcoin safe: six habits for beginnersSix habits that protect bitcoin: the seed phrase on paper, never online, small tests, updates and a plan for your family.Bitcoin scams: the most common ones and how to spot themThe most common bitcoin scams, what they have in common, and how to check a platform before you send money.How bitcoin is taxed in Spain in 2026When bitcoin is taxed in Spain, the 19% to 30% scale, crypto-to-crypto swaps, FIFO and the Modelo 721.Token compensation explained: grants, vesting, lockups and taxHow token grants, vesting, cliffs and lockups work, how they differ from shares, and when they are taxed.Jobs in stablecoins and digital money: the roles, the skills and the talentThe roles stablecoins and tokenisation create in banks, issuers and corporates, the skills they need and where the talent comes from.Paid in a dollar stablecoin: who carries the exchange-rate risk?If part of the pay is a dollar stablecoin, who carries the exchange-rate risk: the employer or the employee? Four designs, with examples.Financial literacy at work: why digital money makes it HR’s jobOnly a third of adults reach the OECD’s minimum level of financial literacy. Why digital money makes it an HR question, and what a basic programme covers.
Portrait of Borja Burguillos

Borja Burguillos

Borja writes for people who want to understand money and incentives without the jargon. Born in Madrid and based in Dubai since 2012, he has advised companies on people and pay, built tech startups, and co-chairs the People & Organisation Committee at the Middle East Stablecoin Association.

WorldatWork Total Rewards and CAIA certified, CFA Investment Foundations, executive programmes at Wharton and IE Business School.