Spanish capital gains tax calculator (non-residents)
Enter your purchase and sale figures to work out the gain, the 19% tax and whether the 3% withholding leaves you with a refund.
When a non-resident sells property in Spain, the buyer withholds 3% of the sale price and pays it to the tax office using Modelo 211. The seller then has four months from the deed date to file Modelo 210 declaring the capital gain.
The gain is the transfer value (sale price less selling costs and taxes) minus the acquisition value (purchase price plus purchase costs, ITP/VAT, notary, land registry and capital improvements). Capital gains are taxed at 19% for both EU/EEA and non-EU residents.
If 19% of the gain is lower than the 3% withheld, you can claim the difference back through the same Modelo 210.
Points sellers usually miss
- Deadline: four months from the date of the sale deed (it starts after the buyer’s Modelo 211 one-month window).
- With several sellers, each owner files their own Modelo 210 for their ownership share.
- Capital improvements increase the acquisition value; maintenance and repairs do not.
- Property bought before 31 December 1994 may benefit from the reducing coefficients in the ninth transitional provision of the Spanish income tax law.
- For a refund, AEAT requires that the buyer actually paid the Modelo 211 and that you have no outstanding tax debts.
Calculate your capital gain
EU/EEA resident: documented costs and capital improvements are deductible.
Enter at least the purchase and sale prices to see the calculation.
Informative estimate. The final figure depends on your purchase and sale documents, the acquisition date and each owner’s share.
Frequently asked questions
Ready to file your Modelo 210?
No digital certificate. 100% online. From €30. We file it with AEAT in minutes.
Related resources
Explore more Modelo 210 and IRNR guides
Modelo 210 AEAT & pre-declaration
Sede electrónica, predeclaración y presentación sin certificado
Read the full guideNRUA holiday rental register
Registro obligatorio del alquiler de corta duración y su Modelo 210
Read the full guideModelo 210
Hub IRNR: plazos, tipos y presentación 2026
Read the full guideTax Calculator
Estimate your imputed income tax
Read the full guideFile online — no certificate
Sin certificado digital ni Cl@ve. Desde 30 €
Read the full guideIRNR Hub
Todo sobre el Impuesto de No Residentes en España
Read the full guideWhat is Modelo 210?
Pilar informativo: obligación, tipos y plazos
Read the full guideNRC Modelo 210
Número de referencia completo para pagar e identificar ingresos
Read the full guideCadastral Value
Base del cálculo de renta imputada (1,1% o 2%)
Read the full guideImputed Income
Impuesto anual por vivienda en uso propio o vacía
Read the full guideRental Income
Declarar alquileres como no residente
Read the full guideModelo 211
Retención del 3% en compraventa de inmuebles
Read the full guideModelo 211 deep guide
Artículo completo: plazos, NRC, ejemplos y devolución del 3%
Read the full guideModelo 210 definitive 2026
Guía larga que enlaza al hub /modelo-210
Read the full guide3% Refund
Recupera el exceso retenido al vender tu propiedad
Read the full guideCapital Gains
Impuesto por venta de inmueble en España
Read the full guideTax Calculator
Calcula tu cuota antes de presentar
Read the full guideUK Owners Guide
Modelo 210 post-Brexit al 24%
Read the full guideGerman Owners Guide
IRNR al 19% con deducciones UE
Read the full guideDutch Owners Guide
Impuesto no residente desde Países Bajos
Read the full guideItalian Owners Guide
Modelo 210 para ciudadanos italianos
Read the full guideCosta Blanca
IRNR en Alicante y provincia
Read the full guideBaleares
Modelo 210 en Mallorca e Ibiza
Read the full guideCosta del Sol
Impuesto no residente en Málaga
Read the full guideRegistration Guide
Cómo crear tu cuenta en SpainTaxForm
Read the full guideDeadlines 2026
Calendario de presentación IRNR
Read the full guidePenalties
Multas y recargos por retraso
Read the full guideHoliday lets
Airbnb vs largo plazo
Read the full guideOur Services
Presenta tu Modelo 210 online desde 30€
Read the full guide