Skip to content
CrediSegur — home page
All toolsFree simulation · 2 minutes · no personal data

How much IRS do you pay on your investments?

Stocks, ETFs, funds, bonds, crypto assets, derivatives, PPR, and capitalization insurance, as well as dividends and interest for the year. Combine all sales, offset losses, and see if aggregation makes you pay less, or when to sell to pay less.
  • All sales of the year in one account
  • IRS rules for 2026
  • We do not recommend investments
What do you want to know?

Three questions and you'll know how much IRS you pay for what you sold

What did you sell?
€

What you received minus what you invested.
How long have you held it?
We account for your household income in 'In Detail' (by default, an average income). In 'In Detail' you combine various sales, losses, dividends, and interest.

How we calculate

The tax is for the whole year, not each sale. That's why losses and dates matter so much.
  1. Gains and losses of the year add up

    A sale with a loss offsets the gains from other sales in the same year. Portuguese funds and tax havens are excluded.
  2. 28% or aggregate

    You pay 28% on the balance, or add it to your income and pay by the brackets. The choice applies to all income in the same category.
  3. Time lowers the tax

    Shares, ETFs, and bonds: 10% of the gain is out of IRS after 2 years, 20% after 5, and 30% after 8. Crypto-assets: out of IRS after 365 days.
  4. Declare abroad too

    Foreign brokers do not withhold tax: everything goes to Annex J. The tax paid in another country is deducted, up to the Portuguese tax.

Illustrative cases

Constança and André
Illustrative example

Constança and André were going to pay the flat rate on everything. They didn't know the loss counted.

Oliveira de Azeméis · Joint IRS · Income: €40,000 · Foreign brokerThey live in Oliveira de Azeméis and invest with a foreign broker. This year they sold an ETF at a gain, some American stocks at a loss, and received dividends from the USA.
  1. 1Their year: an ETF with a gain of €5,985, American stocks with a loss of €2,510, and €1,200 in dividends from the USA, with 15% withheld.
  2. 2The loss offsets the ETF gain, and 10% of the gain is outside the IRS because they held the ETF for more than 2 years. With €40,000 in joint income, aggregation is cheaper: with the flat rate they would pay €961, aggregating everything they pay €684. The €180 paid in the USA is deducted.
  3. 3They declared both sales and the dividends in Annex J and marked the aggregation of capital gains and investment income.

Cheapest option Aggregate everything

IRS of the year in Portugal€684

IRS of the year in Portugal
€684
aggregating, instead of €961
Cheapest option
Aggregate everything
marked in the declaration
Tax already paid in the USA
€180
deducted from the IRS
“We were going to hide the sale at a loss, out of embarrassment. It was what lowered our tax.” — André
Carlos
Illustrative example

Carlos was going to sell everything on the same day. The calendar changed his account.

Lisbon · 44 years old · Income: €40,000 · Individual IRS · ETF and bitcoinHe is 44 years old, lives in Lisbon, and wanted to gather the money from an ETF, bought 5 years and 6 months ago, and a portion in bitcoin, bought 10 months ago, to pay down the mortgage.
  1. 1The initial plan: sell everything today and pay €3,238 in IRS.
  2. 2The ETF is over 5 years old: 20% of the gain is exempt from IRS. The bitcoin, if sold today, incurs tax; if sold from December 24, 2026, it surpasses the 365 days and is exempt from IRS.
  3. 3Sell the ETF now and the bitcoin after the 365 days. Pay €2,681 and save €557, which you can use to pay down the mortgage.

Sell the bitcoin from December 24, 2026

IRS for both sales€2,681

IRS for both sales
€2,681
saves €557 just by the date
Sell the bitcoin from
December 24, 2026
when it surpasses the 365 days
If he sold everything today
€3,238
the initial plan
“I didn't change the investment. I just changed the date I sold the bitcoin.” — Carlos
*Illustrative, non-binding example, with values that are merely indicative and subject to confirmation. This does not constitute a credit offer and does not replace an assessment of each client’s personal and financial situation, nor the approval of the lending credit institution. CrediSegur (CRRF Brokerage, Lda.) — Tied Credit Intermediary registered with Banco de Portugal under no. 0001290. Illustrative case: characters, values, and dates are fictional and serve only to demonstrate the simulator's operation, with the rules and tables in force. It is not an investment recommendation.

What's true and what's myth in investment taxes

Four ideas we hear often, and what to do about each.
  • Depends“If I don’t sell, I don’t pay tax.”Capital gains are only taxed on the sale. But dividends and interest are taxed when you receive them.What to do: separate what you receive every year from what you only gain on the sale.Source: CIRS, art.º 5.º, 10.º and 71.º
  • Myth“Crypto doesn’t pay tax.”Gains on crypto-assets held for less than 365 days pay IRS. Beyond that period, the gains are excluded, with exceptions.What to do: keep the dates and amounts of every purchase and sale.Source: CIRS, art.º 10.º, n.º 1, al. k), and n.º 19
  • Depends“The longer I hold the shares, the less tax I pay.”There is a partial exclusion for those who have held the securities for longer and aggregate. That exclusion applies to the balance, so it also reduces the losses you can offset.What to do: simulate with and without aggregation before filing your IRS return.Source: CIRS, art.º 43.º, n.º 5, as worded by Lei n.º 31/2024
  • Depends“I can sell at a loss and buy back to pay less tax.”Portuguese law has no waiting period that prevents buying back. But the securities sold are always the oldest ones, and losses can only be used if you aggregate.What to do: talk to a certified accountant before selling for tax reasons.Source: CIRS, art.º 43.º, n.º 8, al. d), and 55.º

Frequently Asked Questions

We sum the gains and losses from all sales of the year (stocks, ETF, bonds, crypto-assets held for less than 365 days, derivatives, and SMEs), apply the exclusions for holding period, and calculate four options: 28% on everything, aggregate the sales, aggregate the dividends and interest, or aggregate everything. We show the cheapest, already deducting the tax paid abroad.
Since 2024, for directly held shares, ETFs, foreign funds, and bonds, part of the gain is outside IRS: 10% if held for more than 2 years, 20% from 5 years, and 30% from 8 years. This also applies to losses: a loss on these securities only offsets gains in the part that is not excluded. It also applies to foreign securities. It does not apply to derivatives, CFDs, and warrants.
If you sell stocks, ETF, or bonds held for less than 365 days and your income, including that gain, reaches the top IRS bracket, that gain must be added to your income. You cannot stick to the 28%.
Yes, within the same category: if you aggregate capital gains, all of the year's gains are included; if you aggregate dividends, interest is also included. That's why the simulator compares the four combinations.
At 28%, or by brackets if you aggregate. If you aggregate, dividends from companies in Portugal, the EU, or the EEA only count as 50%. For those outside the EU, the tax withheld in the country of origin (15% in the US, with the W-8BEN form) is deducted from the IRS, up to the amount of the Portuguese tax.
Upon redemption of units in Portuguese funds, the bank withholds 28% and you don't need to declare it. This gain is not added to other sales, and a loss in these funds does not offset gains.
No. In an accumulation ETF, you only pay when you sell. In a distribution ETF, the income you receive is taxed as dividends in the year you receive it.
It only taxes the income (what you receive minus what you contributed), withheld by the insurer or the bank. PPR under legal conditions (retirement due to old age, 60 years or older, long-term unemployment, permanent disability, serious illness, or to pay for a primary home): 8%. Outside these conditions: 21.5% up to 5 years of contract, 17.2% from 5 to 8, and 8.6% from 8, and you return the deduction you received in IRS with the contributions, plus 10% for each year. Capitalization insurance: 28% up to 5 years, 22.4% from 5 to 8, and 11.2% from 8. They are not included in the balance of other sales.
Official data verified on 10/20/2026 · Sources: Diário da República, Autoridade Tributária, INE, Segurança Social, Assembleia da República · see sourcesData from INE – Portugal, reused under the CC BY 4.0 licence.
Important note: Simulation for informational purposes only, based on the values entered and the IRS rules in force (CIRS, art.º 10.º, 40.º-A, 43.º, 55.º, 71.º, 72.º e 81.º; EBF, art.º 22.º-A (fundos nacionais)). It does not consider deductions or special regimes (IFICI, non-habitual residents, professional activity). It does not constitute tax advice, investment recommendation, or contractual proposal, and does not replace confirmation with the Tax Authority or a certified accountant. CRRF – BROKERAGE, LDA (CrediSegur) is not a financial intermediary or investment advisor; it is a tied credit intermediary registered with Banco de Portugal (no. 0001290) and an insurance agent registered with ASF (no. 421571530).