ES
↑↓ navigate Enter open Esc close
Tax & Invoicing

Municipal Capital Gains Tax Calculator

Simulate the municipal capital gains tax (plusvalía) on real estate transfers in Spain.

Data verified for 2026 · Last verified: August 29, 2026Official sources: Ministry of Finance· BOE
Capital Gains Tax (IIVTNU)
Optional: Real Capital Gain Method

Complete Guide to Municipal Capital Gains Tax in Spain (IIVTNU - Plusvalía)

The Tax on the Increase in Value of Urban Land (IIVTNU), commonly known as Municipal Plusvalía, is a local tax levied by town halls (Ayuntamientos) across Spain upon the transfer of urban real estate through sale, donation, or inheritance.

Following the landmark Constitutional Court ruling and the reform under Royal Decree-Law 26/2021, taxpayers can calculate their tax liability using two alternative methods and legally pay whichever produces the lower tax due. Furthermore, sales completed at a financial loss are 100% exempt from this tax.

Dual Calculation System: Objective Method vs. Real Method

Spanish legislation offers two calculation pathways:

  • Objective Method: Tax Base = Cadastral Land Value × Statutory Coefficient (1 to 20 years). The municipal tax rate (maximum 30%) is applied directly to this base.
  • Real Capital Gain Method: Real Tax Base = (Sale Price - Purchase Price) × (Cadastral Land Value / Total Cadastral Value). Taxes only the actual capital gain attributable to the land.
  • Total Exemption on Capital Losses: If the deed sale price is lower than or equal to the acquisition price, no tax is owed.

Filing Deadlines and Documentation

To declare and settle municipal plusvalía at your local municipal tax office:

  1. Property Sales & Inter Vivos Gifts: 30 business days from the date of the public notary deed.
  2. Mortis Causa Inheritances: 6 months from the date of death (extendable to 1 year upon prior written request).
  3. Required Documents: Copies of the title deeds of purchase and sale/inheritance, latest IBI receipt with cadastral land breakdown, and municipal Form IIVTNU.

Practical Example

Example 1: Apartment Sale with 10-Year Ownership (Objective vs. Real Comparison)
Input: Cadastral Land: 50,000 € | Purchase: 150,000 € | Sale: 180,000 € (Gain: 30,000 €) | Land Ratio: 40% | Tax Rate: 30%
Output / Result: Objective Method: 1,500.00 € (Base: 5,000 € @ 10%) | Real Method: 3,600.00 € (Base: 12,000 €) | Best: Objective (Saves 2,100.00 €)

Demonstrates how the Objective Method provides substantial tax savings when property appreciation was high.

Example 2: Sale at a Loss (Total Exemption)
Input: Cadastral Land: 60,000 € | Purchase (2008): 240,000 € | Sale (2026): 210,000 € (Loss: -30,000 €)
Output / Result: Tax Due: 0.00 € (100% Exempt under RDL 26/2021)

Submitting proof of financial loss via deeds eliminates all municipal plusvalía liability.

How to Calculate Municipal Plusvalía in 3 Steps

1

Enter Cadastral Land Value & Years

Find the cadastral land value on your latest Property Tax (IBI) bill and enter the exact number of years (1–20) you owned the property.

2

Enter Municipal Tax Rate & Prices

Set your town hall's tax rate (up to 30%) and optionally enter the deed purchase and sale prices to evaluate the Real Gain Method.

3

Compare Both Methods & Maximize Savings

Instantly review both calculations and discover which method yields the lowest legal tax due or if you qualify for total loss exemption.

Frequently Asked Questions about Municipal Plusvalía (IIVTNU)

Who is legally responsible for paying municipal capital gains tax (plusvalía)?

In a standard real estate sale, the seller is legally responsible for paying municipal plusvalía (IIVTNU). In gratuitous transfers (donations, gifts, or inheritances), the tax must be paid by the recipient, heir, or beneficiary.

Do I have to pay municipal plusvalía if I sold the property at a financial loss?

No. Under Royal Decree-Law 26/2021 and Spanish Constitutional Court rulings, if you prove through deed documentation that the sale price was lower than or equal to your original acquisition price, the transfer is 100% exempt from municipal plusvalía.

What is the difference between the Objective Method and the Real Capital Gain Method?

The Objective Method multiplies the cadastral land value by a statutory coefficient based on years of ownership. The Real Method calculates the actual capital gain (Sale Price - Purchase Price) multiplied by the proportion of cadastral land value. The taxpayer can legally choose whichever method results in the lowest tax.

What is the statutory deadline for declaring and settling municipal plusvalía?

For property sales or gifts, the statutory deadline to file Form IIVTNU with the local town hall (Ayuntamiento) is 30 business days from the deed signature date. For inheritances upon death, the deadline is 6 months (extendable up to one year upon written request).

Share this tool

Help others by sharing this free tool.