Shares and ETF tax calculator
Estimate the IRS on the shares and ETFs you sold in Portugal, sale by sale, and see whether the 28% rate or aggregating with your income leaves less tax to pay.
Your other income subject to IRS in 2026, net of the specific deductions and before deductions from tax: salary, pensions, rents, business income. Enter 0 if there was none.
Negative balances of earlier years, which only a taxpayer who aggregates can deduct (art. 55(1)(d) of the CIRS), within five years.
Splits the income in two, as joint taxation does. Leave it off for an individual return.
The broker reports the sales to the Tax Authority, and you declare them in Anexo G of the return for 2026.
- Tax to set aside, paid with the return by August 31, 2027
- €229.86
- Route that pays less
- Aggregated with your income
- At the 28% autonomous rate
- €354.59
- Aggregated with your income, at the general rates
- €229.86
- Taxable balance
- €1,266.40
- Gains added
- €1,877.00
- Losses deducted
- €404.00
- Excluded by the holding period
- €206.60
- Commissions and costs
- €27.00
- Rate over the taxable balance
- 18.2%
- Withheld at source
- €0.00
Aggregating costs €124.73 less than the 28%.
How the taxable amount is built
| Sale | Gain | Excluded | Taxed |
|---|---|---|---|
| 1. ETF or open-ended fund, 900 days (10% excluded) | €1,490.00 | €149.00 | €1,341.00 |
| 2. Listed shares, 200 days (0% excluded) | €195.00 | €0.00 | €195.00 |
| 3. ETF or open-ended fund, 3000 days (30% excluded) | €192.00 | €57.60 | €134.40 |
| 4. Listed shares, 400 days (0% excluded) | -€404.00 | -€0.00 | -€404.00 |
Declare it in Anexo G, quadro 9 of the return for 2026.
Nothing is withheld on these sales. The tax is settled with the annual return and paid by 31 August of the following year (art. 97(1)(a) of the CIRS), so keep the amount aside.
Estimate for 2026 income with the 28% of art. 72(1)(c) and the exclusions of art. 43(5) of the CIRS, the general rates and the solidarity surcharge for the aggregation. The Tax Authority's assessment is the one that counts.
Tax to set aside, paid with the return by August 31, 2027: €229.86
Worked example
€1,877 of gains and €404 of losses in the year leave a balance of €1,473. The holding period leaves €207 out of tax and the €27 of commissions and sale costs are already inside each gain, so €1,266 are taxed. At the 28% that is €355; added to other income of €12,000 it is €230, so Aggregation pays less.
-
Gains added
€1,877
-
Losses deducted
€404
-
Gain
€1,473
-
Gain of a sale
€1,473
-
Excluded by the holding period
€207
-
Taxable balance
€1,266
-
At the 28% autonomous rate
€355
-
Aggregated with your income, at the general rates
€230
-
Route that pays less
Aggregation
The tax is settled with the return for 2026 and paid by August 31, 2027, with nothing withheld at source.
How the estimate works
Gain of a sale = Sale value − Acquisition value − Sale costs
Excluded by the holding period = Gain of a sale ×10%
Taxable balance = Gains added − Losses deducted − Excluded by the holding period
At the 28% autonomous rate = Taxable balance ×28%
Aggregated with your income, at the general rates = IRS with the balance − IRS without it
What is covered
- Not supported
- Unlisted shareholdings, where only half of the balance counts (art. 43(3)); the monetary correction of art. 50; foreign-currency conversion; the credit for tax paid abroad; the assets of art. 10(1)(k), with their own regime since 2023; dividends and other distributions; direct redemptions with a fund; non-residents; and the reduced rates of the Azores and Madeira.
Assumptions
- Where to declare
- Sales held at a Portuguese broker go in Anexo G, quadro 9, of the return; sales held abroad go in Anexo J, quadro 9.2A, with the country of the counterparty. The option for aggregation is marked in quadro 15 of Anexo G or 9.2C of Anexo J.
Sources
- CIRS, article 10: sales of shares and other securities are capital gains (consulted 1 December 2026)
- CIRS, article 44: the realisation value is the consideration received (consulted 1 December 2026)
- CIRS, article 48: the acquisition value of listed securities is the documented cost (consulted 1 December 2026)
- CIRS, article 43: the year's balance and the exclusion by holding period (consulted 1 December 2026)
- CIRS, article 51: commissions and costs of the acquisition and the sale (consulted 1 December 2026)
- CIRS, article 55: deduction of losses and the five-year carry-forward (consulted 1 December 2026)
- CIRS, article 72: the 28%, the option and the compulsory aggregation (consulted 1 December 2026)
- CIRS, article 68: the 2026 brackets, Decreto-Lei n.º 212/2026 (consulted 1 December 2026)
- CIRS, article 68-A: the solidarity surcharge (consulted 1 December 2026)
- CIRS, article 97: the tax is paid by 31 August of the following year (consulted 1 December 2026)
- Anexo G of the return: quadro 9 and the holding-period column (consulted 1 December 2026)
- Ofício Circulado n.º 20278/2025: the exclusions of art. 43(5) from 2024 income on
- Taxing financial products under the IRS, the Tax Authority's guide (consulted 1 December 2026)
Rules and rates for 2026 income reviewed on December 1, 2026.
This calculator is for illustrative purposes only and does not constitute financial, investment, or tax advice. Figures shown are estimates — consult a qualified financial advisor before making financial decisions.