Spanish Capital Gains Tax Calculator
Estimate tax on a capital gain in Spain. This tool is educational and uses common rate structures; always confirm your final numbers with a qualified tax advisor.
How this spanish capital gains tax calculator works
This page is designed to give you a practical estimate of Spanish capital gains tax in a few seconds. The calculator starts with your gross gain and then applies a tax method depending on your taxpayer type. If you are a resident, it uses progressive savings tax brackets. If you are a non-resident, it applies a flat rate based on residency category.
The basic formula used is:
Taxable gain = (Sale price − Selling costs) − (Purchase price + Purchase costs + Improvement costs) − Loss offsets
If this number is below zero, the calculator will show a capital loss and estimated tax of €0.
Spanish capital gains tax rates (reference estimate)
For residents, gains are generally taxed as savings income using progressive bands. Commonly referenced rates are:
| Taxable gain band | Rate |
|---|---|
| Up to €6,000 | 19% |
| €6,000.01 to €56,000 | 21% |
| €56,000.01 to €200,000 | 23% |
| €200,000.01 to €300,000 | 27% |
| Over €300,000 | 28% |
For non-residents, this calculator uses a simple flat-rate estimate:
- EU/EEA non-resident: 19%
- Non-EU/EEA non-resident: 24%
What to include in each input field
Purchase price
The amount originally paid for the asset or property.
Purchase costs and taxes
Common examples include transfer taxes, notary fees, registration fees, and legal costs paid on acquisition.
Capital improvements
Use this for value-adding improvements (for example, major renovation). Do not include normal maintenance in this field.
Selling costs and fees
Examples include agency commission, legal costs, and other direct selling expenses.
Important practical notes
- This calculator provides an estimate, not a filing-ready tax return.
- Rules can differ depending on asset type, ownership structure, and personal status.
- Certain exemptions (such as specific reinvestment rules or age-related reliefs) are not automatically applied here.
- If you are a non-resident selling Spanish property, a 3% withholding is often retained at sale; the tool shows this as an informational estimate.
Quick example
Imagine you bought a property for €200,000 and paid €20,000 in acquisition costs. Later, you invested €15,000 in qualifying improvements. You then sold for €350,000 and paid €12,000 in selling costs. Your raw gain is:
(€350,000 − €12,000) − (€200,000 + €20,000 + €15,000) = €103,000
If resident rates apply, the gain is taxed progressively across the savings bands, not at a single rate.
Why this estimate is useful
A solid spanish capital gains tax calculator helps with planning before you sell. You can compare scenarios, test how improvements affect your taxable gain, and estimate whether setting aside additional cash for tax would be wise.
For final compliance, always check current legislation and consider speaking to a Spanish tax professional.