Finance Calculators

Capital Gain on Sale Calculator

The gain is the sale price minus the acquisition cost, improvements and selling costs. Each country taxes it by its own rule: rate, holding period and main-home relief. The result is an estimate for the country you pick, not a legal answer or a substitute for a tax adviser.

Calculator

Formula

Gain = sale price − acquisition cost − capital improvements − selling costs. Tax = gain × the country rate, after the country's inclusion, abatement or exemption rule. The estimate depends on the rule and the figures you enter.

About This Calculator

What It Does

This calculator estimates the tax on the gain from selling a property. It takes the sale price, the acquisition cost, the capital improvements and the selling costs, works out the gain, and applies the rule of the country the page is for. It shows the taxable part, the estimated tax, the gain after tax and the rule it applied. It is an estimate and not a legal answer.

Worked Example

Sale price 400,000; acquisition cost 250,000; capital improvements 20,000; selling costs 20,000. The gain is 400,000 − 250,000 − 20,000 − 20,000 = 110,000. In Portugal, half of the gain is taxed at your marginal rate: 55,000 at 30 % gives an estimated tax of 16,500.

Real-World Usage

Use it before you sell to see roughly what the tax could be, to compare the effect of a higher sale price or a larger improvement, or to check whether the holding period changes the answer.

Local Context

Each country sets its own rate, holding-period test and relief for a main home. Figures come from the official source recorded for that country, and the result says which figures it does not model. Confirm the final tax with your tax authority or an adviser.

Last reviewed: November 2026.

Frequently Asked Questions

What is a capital gain on a property sale?

It is the sale price less what you paid for the property, the capital improvements you made and the costs of selling it. A loss, or a gain of zero or less, gives no tax.

Does the calculator give my actual tax bill?

No. It is an estimate that applies one country's published rule to the figures you enter. Reliefs that depend on your full circumstances are not modelled, and each result lists what it leaves out.

Why is my country not on the list?

A country appears only when its tax rules are recorded with a dated official source. Countries without one are left out rather than estimated from guesses.