Crypto Tax Calculator (Portugal)
How much IRS do you pay when you sell crypto in Portugal? Enter the purchase value, the sale value, the fees and how many days you have held the crypto, and the calculator shows the gain, whether it is exempt (365 days or more) or taxed at 28%, the tax due and the net gain.
Count the days between buying and selling: from 365 days the gain becomes exempt. The autonomous rate is 28%; if you opt for aggregation, replace it with your marginal IRS rate. Costs are the buy/sell exchange commissions.
The tax on your capital gain
You held the crypto for less than 365 days, so the gain is taxed at the 28% autonomous rate (Art. 72 CIRS) and reported in Anexo G. You can opt for aggregation and use your marginal IRS rate.
Net amount you receive: €7,124.00
Educational estimate, not tax advice. Covers the sale of crypto-assets by residents (Categoria G); it does not cover crypto-to-crypto swaps (untaxed), staking, mining or professional activity.
What this calculator does
It works out the gain on the sale (sale value minus purchase value minus costs) and applies the 365-day rule. If you have held the crypto for 365 days or more, the gain is exempt from IRS and the tax is zero. If you held it for less than 365 days, the gain is taxed at the 28% autonomous rate. It also shows the net gain and the amount left in your account.
The 365-day rule
Since 2023, the gain on selling crypto-assets that are not securities is only taxed if you sell before completing 365 days of holding (Art. 10, no. 19 CIRS). From 365 days the gain is exempt, however large. The period is counted from purchase to sale, under the FIFO rule (the earliest-bought coins are sold first). Even when exempt, the disposal must be reported in Anexo G1.
The 28% rate and aggregation
The taxable gain is subject to the 28% autonomous rate (Art. 72 CIRS) and reported in Anexo G. Alternatively, you can opt for aggregation (englobamento) and tax the gain at the progressive IRS rates, worth it only for low incomes. That is why the rate is an editable field: leave 28% for the normal case, or replace it with your marginal rate if you opt for aggregation.
What is not taxed (and is not here)
Swapping one crypto for another (crypto-to-crypto) is not a taxable event: tax only arises when you convert to euros or goods. Staking or lending income (yields) is taxed as investment income (Categoria E). Professional or habitual trading and mining fall under Categoria B. These cases are not computed here: this calculator covers an occasional sale by a resident.
Worked example
You bought €5,000 of a coin and sold it for €8,000, with €50 of fees. The gain is €2,950 (8,000 − 5,000 − 50). If you held it for less than 365 days, you pay €826 of IRS (28%) and keep €2,124 of net gain. If you held it for 365 days or more, the gain is exempt: you pay nothing and keep the €2,950.
Frequently asked questions
Do I pay IRS when I sell crypto in Portugal?
How does the 365-day rule work?
Do I pay tax if I swap one crypto for another?
Do I have to declare if I did not sell anything?
Related calculators & reading
Embed this calculator
Paste this code on your site to show the calculator. It includes an attribution link.
Preview
Sources
- Código do IRS, Art. 10.º (mais-valias e a regra dos 365 dias dos criptoativos) — Autoridade Tributária e Aduaneira
- Código do IRS, Art. 72.º (taxas especiais: 28% sobre mais-valias) — Autoridade Tributária e Aduaneira
- Todos Contam: Portal de educação financeira — Banco de Portugal
Author: Thorben Rasmus Idel · Reviewed by: Nahar Geva · Last reviewed: 2026-06-12