Skip to content
Calculadora Capital

Capital gains on selling a property: how they are calculated and taxed

When you sell a home at a profit you pay IRS on the gain, but only on 50% of it and after adjusting the purchase price for inflation.

5 min readReviewed By Thorben Rasmus IdelReviewed by Nahar Geva

TL;DR

On a property sale, the gain is the sale value minus the purchase value (adjusted for inflation by the currency-devaluation coefficient), minus the buying and selling costs and any improvement works from the last 12 years. For residents, only 50% of this gain is taxed: it is added compulsorily to your other income and pays the progressive IRS rates (from 12.5% to 48%). There is an exemption if you reinvest in your main and permanent home.

What are capital gains on a property?

When you sell a property for more than you paid for it, you have a capital gain, which is taxed under IRS (Category G, capital increments)1. But, contrary to what many people think, you do not pay tax on the sale value, nor even on the whole difference between what you sold and what you bought for: the law requires several adjustments that usually reduce the taxable gain considerably.

The rules for property are different (and more favourable) than those for shares, ETFs and funds. With shares you pay 28% on the whole gain; with property only half of the gain is taxed and the purchase value is first adjusted for inflation.

How is a property capital gain calculated?

The full formula is13:

Gain = sale value − (purchase value × devaluation coefficient) − buying and selling costsimprovement costs

Each part in turn:

  • Sale value: the price you sold for.
  • Purchase value, adjusted for inflation by the currency-devaluation coefficient (see below).
  • Buying and selling costs: the IMT and stamp duty paid on purchase, the deed, registration, the estate-agent fee on the sale and the energy certificate3.
  • Improvement costs: the works that added value to the property (with invoices), carried out in the last 12 years3.

You can estimate all of this, line by line, in the property capital gains calculator.

What is the currency-devaluation coefficient?

It is a factor published every year by Portaria that adjusts the purchase value for cumulative inflation since the year you bought4. It exists so you are not taxed on a purely nominal gain (one that just reflects the general rise in prices, not real enrichment). It applies only if more than 24 months passed between purchase and sale1.

For sales in 2025, the table is the one in Portaria n.º 382/2025/1. Some values:

Year of purchaseCoefficient
20241.00
20221.06
20201.17
20151.20
20101.28
20051.40
20001.67
19951.84
19902.69

Example: a home bought in 2010 for €150,000 counts, in a 2025 calculation, as 150,000 × 1.28 = €192,000. That is €42,000 of "inflation gain" that is not taxed.

How much is capital gains tax? The 50% rule

Here is the big difference from shares: for residents in Portugal, only 50% of the gain is taken into account for tax (Article 43, paragraph 2 of the IRS Code)2. The other 50% is not taxed.

But note: there is no flat 28% rate. That half is added compulsorily to your other income for the year (work, pensions, etc.), in what is called mandatory aggregation, and is taxed at the progressive IRS rates, which run from 12.5% to 48% depending on your bracket1. That is why, in the calculator, you enter your marginal IRS rate (the one that applies to the top of your income).

Worked example

Suppose you bought a home in 2015 for €120,000 and sell it in 2025 for €250,000, with €18,000 of costs (IMT, deed, agent fee) and €12,000 of works:

  • Adjusted purchase value: 120,000 × 1.20 (2015 coefficient) = €144,000.
  • Gain: 250,000 − 144,000 − 18,000 − 12,000 = €76,000.
  • Taxable portion (50%): €38,000.
  • IRS (at a 34.9% marginal rate): 38,000 × 0.349 = €13,262.
  • You keep: 76,000 − 13,262 = €62,738 of the gain.

The tax (€13,262) is about 17% of the total €76,000 gain, well below the 28% on shares. Test your own numbers in the property capital gains calculator.

Do I pay capital gains if I reinvest in a new home?

You can be exempt. If the property sold was your main and permanent home and you reinvest the sale proceeds (net of any loan you repay) in buying, building or renovating another main and permanent home, within the legal deadlines (generally 36 months after the sale or 24 months before), the gain can be fully or partly exempt1. The exemption is proportional to the part you reinvest.

There are other exempt situations too, such as properties bought before 1989 (before the IRS Code came into force). Our calculator estimates the tax without applying the reinvestment exemption: it is for the general case of a taxed sale.

What if I sell at a loss?

If, after adjusting the purchase value and adding the costs, you sold for less than the adjusted cost, you have a capital loss and pay no tax. That loss can be carried forward for five years to offset future property gains2.

Where do I report property capital gains for IRS?

In Anexo G of the Modelo 3 IRS return, stating the acquisition and disposal dates and values, the costs and the improvement works1. Because aggregation is compulsory, the gain is added to your other income. If in doubt about your specific situation (especially the reinvestment exemption), consult a certified accountant or the Portal das Finanças.

Common mistakes

  • Thinking tax is due on the whole price difference

    Tax is not charged on the sale value, nor on the whole difference between sale and purchase. The purchase value is first adjusted for inflation and reduced by costs and works, and then only 50% of the gain is taxed.

  • Forgetting the currency-devaluation coefficient

    Adjusting the purchase value for inflation can sharply reduce (or remove) the gain. A home bought in 2010 for €150,000 counts as €192,000 (×1.28) in a 2025 calculation.

  • Confusing the property rules with the share rules

    Shares and funds pay 28% on 100% of the gain. Property follows its own rules: only 50% is taxed, but at the progressive IRS rates, not at 28%.

Frequently asked questions

How are capital gains on selling a house calculated?
Gain = sale value − (purchase value × currency-devaluation coefficient) − buying/selling costs − improvement works from the last 12 years. For residents, only 50% of this gain is taxed, at the progressive IRS rates.
How much is capital gains tax on a property in Portugal?
There is no flat rate. Only 50% of the gain is taxed, but that half is added to your other income and pays the IRS rates (from 12.5% to 48%). The effective tax on the total gain is usually between 6% and 24%.
What is the currency-devaluation coefficient?
It is a factor published every year by Portaria that updates the purchase value for cumulative inflation, so you are not taxed on a purely nominal gain. It applies if you sell more than 24 months after buying.
Do I pay capital gains if I reinvest in a new home?
If the property was your main and permanent home and you reinvest the sale proceeds (net of any loan you repay) in another main home, within the deadlines, the gain can be fully or partly exempt.
Where do I report property capital gains for IRS?
In Anexo G of the Modelo 3 IRS return, stating the acquisition and disposal dates and values, the costs and the improvement works. Aggregation is compulsory.

Sources

  1. 1.Article 10 of the IRS Code, Capital gains (Category G)Autoridade Tributária e Aduaneira / Portal das Finanças · retrieved 7 Jun 2026
  2. 2.Article 43 of the IRS Code, only 50% of the property capital-gains balance is taxedAutoridade Tributária e Aduaneira / Portal das Finanças · retrieved 7 Jun 2026
  3. 3.Article 51 of the IRS Code, improvement costs and acquisition/disposal expensesAutoridade Tributária e Aduaneira / Portal das Finanças · retrieved 7 Jun 2026
  4. 4.Portaria n.º 382/2025/1, of 11 November, currency-devaluation coefficients (2025 disposals)Diário da República · retrieved 7 Jun 2026

Author / Reviewed by

Author

Thorben Rasmus Idel

Founder & writer

Co-founder of Calculadora Capital. Writes the methodology and verifies the math behind every page.

Reviewed by

Nahar Geva

Co-founder & reviewer

Co-founder of Calculadora Capital. Reviews the methodology and verifies the math behind every page.

Published: Updated: Reviewed: