Spanish property tax calculator
Selling a house in Spain calculator
Selling a house in Spain can be a difficult and time-consuming process without the right guidance.
Selling a house in Spain can be a difficult and time-consuming process without the right guidance.
Effective financial planning is crucial, and being aware of the related costs beforehand is key. That’s why our cost of selling a property in Spain calculator is a valuable tool, helping you estimate the expenses involved and make informed decisions with confidence.
When selling property in Spain, it’s essential to consider key expenses, including Capital Gains Tax and Municipal Plusvalía Tax. Additionally, you should factor in costs such as legal fees, real estate agent commissions, energy efficiency certificates, bank account closure fees, home insurance cancellation fees, and utility disconnection fees, among others. Proper planning will help you navigate these costs smoothly and avoid unexpected financial burdens.
Article 24 of the LIRNR, in conjunction with Article 33 of the LIRPF, outlines the calculation of capital gains for both resident and non-resident taxpayers selling property in Spain. These regulations outline the methods for calculating capital gains and determining the applicable tax.
Savings Tax Base Table
In Spain, real estate agent commissions typically range from 3% to 6% of the property’s sale price, covering services such as marketing the property, searching for buyers, and facilitating sale negotiations. However, in high-demand areas like Marbella, commissions can go as high as 10%.
Legal and notary fees vary depending on the location and complexity of the transaction, with many lawyers charging around 1% of the sale price for their services. At Tejada Solicitors, we assess fees based on the workload and complexity of each sale rather than applying a fixed percentage. We strive to deliver tailored legal advice at a fair price while maintaining the best service.

Our user-friendly calculator is designed to provide you with a quick estimate of the costs involved in selling your property in Spain.
For an accurate calculation, you’ll need to input the following key details:
The sale price of the property
Original purchase price
Acquisition-related taxes (tax on documented legal acts (AJD), VAT or documented legal acts (ITP))
Expenses associated with the sale (e.g., Tax on the increase in the value of urban land, Municipal Plusvalía Tax, lawyer’s fees, etc.)
Improvement and extension works
Agency commissions
Lawyer’s fees
Cost of energy certificate
Depreciation. Depreciation refers to the amount of money allocated for expenses related to property improvements. This depreciation value should be applied for the duration the property was rented and subsequently subtracted from the acquisition value to determine the Capital Gains Tax for both residents and non-residents. This tax will be applied regardless of whether the seller or landlord has deducted it from their income tax return.
Partial exemptions
Reducing coefficients
However, due to the complexity of factors such as improvements, exemptions, and reducing coefficients, our calculator does not include these elements in the final capital gain calculation.
Rosana Tejada, a consultant at Tejada Solicitors, highlights the necessity of keeping all invoices concerning the purchase and sale of the property. These documents are essential for verifying the declared capital gain with the Spanish Tax Authorities. We also recommend consulting with your trusted advisor for a precise calculation and any potential reductions that may apply. For more information, check our guide on how to avoid capital gains tax in Spain.
Our calculator offers a rough estimate based on the information you provide. For a more accurate calculation suited to your unique situation, we highly suggest speaking with a tax expert advisor. Please note that reductions may apply, and the calculation may be more complex depending on your specific situation. It’s crucial to thoroughly review your case in advance to ensure accurate financial planning.
For taxpayers resident in Spain:
Primary residence exemption: If you are over 65 years old, the sale of your primary residence is exempt from income tax.
Reinvestment exemption: For individuals under 65, the capital gains tax can be avoided if the profits from the sale of your primary residence are reinvested in purchasing a new primary residence.
For taxpayers who are fiscal residents and non-residents in Spain:
50% reduction: If you sell a property in Spain that was acquired between May 12, 2012, and December 31, 2012, you are eligible for a 50% reduction in capital gains tax.
Reductions for purchases made before 1995: Special reductions may apply to properties purchased before 1995, and a transitional tax regime may be applied to the transfer of assets or rights acquired before December 31, 1994.
Tax advisors specializing in international taxation assist expatriates in navigating the Spanish tax system. With over 20 years of experience, I provide tailored tax plans to optimize tax efficiency, ensuring compliance with regulations and minimizing dual taxation.

“The only way to do great work is to love what you do.”
– Steve Jobs –
Contact Form





Yes, non-residents in Spain are required to pay capital gains tax at a flat rate of 19% on the net gain. Additionally, 3% of the sale price is withheld as a tax advance.
Renovation and extension expenses may be deductible, but they must meet specific legal requirements set by tax regulations. To claim these deductions, you must provide documentary proof of the investment, such as invoices, private contracts, and bank payment records.
The capital gains tax rate depends on the profit earned from the sale. For non-resident taxpayers, the flat rate is 19%.
Yes. In addition to capital gains tax, non-residents must also pay the municipal capital gains tax (Plusvalía Municipal). This tax is calculated based on the length of property ownership and the location of the property.
Spanish property tax calculator