Skip to content
Calculadora Capital

How the plusvalía municipal is calculated, step by step

The tax does not fall on your flat: it falls on the land. And since 2021 you may choose whichever method costs you less.

10 min readReviewed By Thorben Rasmus IdelReviewed by Nahar Geva

TL;DR

Spain's plusvalía municipal can be worked out two ways and you pay on the lower. The objective method multiplies the cadastral value of the land by a coefficient set by how many years you owned the property. The real method takes the difference between purchase and sale price, in the share attributable to the land. If there was no gain there is no tax, but you have to claim it. The coefficients in force in 2026 are the 2024 ones: the increase approved in December 2025 was repealed in January.

What the plusvalía municipal actually taxes

The tax's official name is Impuesto sobre el Incremento de Valor de los Terrenos de Naturaleza Urbana, tax on the increase in value of urban land, and that name carries the first thing to understand: what is taxed is the land, not the home standing on it.

When you sell a flat, the town hall is not charging you for the flat's appreciation. It is charging you for the appreciation of the share of ground that belongs to your unit in the building. So the starting figure is not the sale price, nor the property's cadastral value, but the cadastral value of the land, which is itemised on your IBI bill and in the Catastro's online office.

In an urban flat that value is usually a fairly small fraction of the total cadastral value. Confusing the two is by far the most common calculation error, and it always runs the same way: it produces a tax much larger than the one actually due.

Two exclusions are worth having in mind from the start. Article 104.2 leaves out land that counts as rural for IBI purposes. And article 104.3 puts outside the tax, among others, contributions of assets between spouses to the marital estate, and transfers of property between spouses or to children made in compliance with a judgment of nullity, separation or divorce.

Why there are two methods

Until 2021 there was only one. The town hall took the cadastral value of the land, applied a percentage based on years of ownership, and that was the base. The system had an obvious flaw: it assumed land always appreciated, including in the years when the property market was collapsing, so people selling at a loss ended up paying tax on a gain that did not exist.

The Constitutional Court narrowed that system in three successive judgments and, in 182/2021 of 26 October, struck the objective method down as the sole formula. Parliament responded with Royal Decree-Law 26/2021, which gave the tax the shape it has today:

  • an objective method, using coefficients rather than annual percentages;
  • a real method, which the taxpayer may ask for when it is more favourable (article 107.5);
  • and an express exclusion where there was no increase in value (article 104.5).

The practical consequence is that the tax now has two possible figures and you pay on the lower one. But only if you ask. The plusvalía municipal calculator works out both and marks which is cheaper on your own numbers.

The objective method, step by step

Step 1: the cadastral value of the land

Take the cadastral value of the land at the date of transfer, not at purchase. If your town hall has approved a reducing coefficient in its ordinance, that value is reduced, by up to 15% (article 107.2.a).

Step 2: the complete years of ownership

Count whole years, with no fractions: article 107.4 says so literally, "sin tener en cuenta las fracciones de año". Nine years and eleven months are nine years.

The period is capped at twenty years (article 107.1). If you owned the home for forty years, the tax only looks at the last twenty.

There is a special rule for very quick sales: where the transfer happens before the first year is complete, the annual coefficient is prorated by complete months. Seven months pay seven twelfths of the first-year coefficient.

Step 3: the coefficient

This is the article 107.4 table as it stands today. It is worth reading carefully, because it is not a rising curve: it climbs to seven years, bottoms out between twelve and fifteen, and jumps sharply at twenty.

Period of generationCoefficientPeriod of generationCoefficient
Under 1 year0.1511 years0.10
1 year0.1512 years0.09
2 years0.1413 years0.09
3 years0.1414 years0.09
4 years0.1615 years0.09
5 years0.1816 years0.10
6 years0.1917 years0.13
7 years0.2018 years0.17
8 years0.1919 years0.23
9 years0.1520 years or more0.40
10 years0.12

These are maximum coefficients. Each town hall approves its own in its ordinance and may set them lower, although in practice most sit at the legal ceiling.

If applying a coefficient and then a rate is the part that trips you up, how to calculate a percentage sets out the mechanics step by step.

Step 4: the rate

The taxable base is the land value times the coefficient. The town hall's rate applies to it, capped by article 108.1 at 30%. The same article also allows different rates for each period of generation, so ordinances with a scale of rates rather than a single one are common.

The 2026 coefficients: the increase that never stuck

This is where many sources have gone stale, and it deserves its own section because it changes the amount.

In December 2025, Royal Decree-Law 16/2025 of 23 December raised the maximum coefficients in article 107.4 with effect from 1 January 2026. It was published, came into force, and applied for a few weeks.

A Spanish decree-law, however, has to be convalidated by Congress within thirty days. On 27 January 2026 Congress did not convalidate it, and the Resolución de 27 de enero de 2026 published the decision repealing it. From 28 January 2026 the increase ceased to have effect.

The striking part is that exactly the same thing had happened a year earlier: Royal Decree-Law 9/2024 of 23 December raised the coefficients from 1 January 2025, and the Resolución de 22 de enero de 2025 left it without effect.

The upshot of that double reversal is that the last coefficient update still standing is the one in article 24 of Royal Decree-Law 8/2023, with effect from 1 January 2024. That is the table above, and it is the one to use today.

The real method: what you actually gained

Article 107.5 allows the objective base to be replaced by the real increase where the real one is smaller. The calculation has two parts.

First, the difference in prices. Sale price minus purchase price, as stated in the deeds. Article 104.5 is explicit that "los gastos o tributos que graven dichas operaciones" cannot be counted: not the notary, not the land registry, not the transfer tax or VAT you paid on buying, not the agency's commission. It is price against price.

Second, the land's share. Since the tax only reaches the land, that difference is multiplied by the proportion the cadastral land value represents of the total cadastral value. If the land is 40% of the cadastral value, the land takes 40% of the gain.

Where the acquisition or the transfer was for no consideration, that is by inheritance or gift, the figure standing in for the price is the one declared for inheritance and gift tax.

When nothing is payable

Article 104.5 puts a land transfer outside the tax where "se constate la inexistencia de incremento de valor", where it is established that there was no increase in value. If you sold for the same as or less than you paid, the tax is not triggered.

But the very next sentence of that article sets the condition: the taxpayer has to declare the transfer and produce the deeds documenting both the transfer and the acquisition. It is not automatic and the town hall does not check of its own motion. If nobody claims it, the assessment is made under the objective method, which never asks whether there was a gain.

One technical detail in the comparison is worth knowing: the value taken as sale or purchase price is the higher of the one in the deed and the one verified by the tax administration, where there was such a verification.

The four variables your town hall decides

Central statute sets ceilings; the actual amounts come from your municipality's ordenanza fiscal. There are four:

  1. The rate, up to 30% (article 108.1), possibly on a scale by years.
  2. The reduction of the cadastral value, up to 15% (article 107.2.a).
  3. The coefficients, which may sit below the legal maximum (article 107.4).
  4. The reliefs, up to 95% of the tax. Article 108.4 provides for them on transfers on death to descendants, spouse and ascendants, and 108.5 for land used for activities declared of special municipal interest.

None of the four is compulsory and none is the same everywhere. Before filing, your own town hall's ordinance is the source that governs.

Deadlines and who pays

Who pays (article 106.1): on transfers for consideration, such as a sale, the transferor. On transfers for no consideration, such as an inheritance or a gift, the recipient. Exception: where the seller is a non-resident individual, the buyer becomes substitute taxpayer and is liable for the payment. That seller also settles their own gain with the tax office on form 210, and the buyer will have withheld 3% of the price on account of it.

When (article 110.2): thirty working days from the taxable event for transfers between living persons; six months, extendable to a year on the taxpayer's request, for transfers on death.

Many town halls have adopted self-assessment, so the taxpayer does the calculation and pays within that same window.

A full example

A flat sold in 2026 after ten years.

  • Total cadastral value: 100,000 €, of which the land is 40,000 €.
  • Bought for 195,000 € and sold for 200,000 €.
  • The town hall applies the maximum 30% rate, with no reduction and no relief.

Objective method. Ten-year coefficient: 0.12. Base: 40,000 × 0.12 = 4,800 €. Tax: 4,800 × 30% = 1,440 €.

Real method. Gain: 200,000 − 195,000 = 5,000 €. The land is 40% of the cadastral value, so it takes 5,000 × 0.40 = 2,000 €. Tax: 2,000 × 30% = 600 €.

Since 2,000 € is less than 4,800 €, article 107.5 allows that base instead. Asking for the real method saves 840 € here, and asking for it takes no more than producing the two deeds.

Notice what drives the difference: it is not a large gain, it is ten years of ownership with modest appreciation. Where appreciation has been strong, the objective method is usually the cheap one, because the coefficient has a ceiling and the real gain does not.

Common mistakes

  • Using the total cadastral value instead of the land value

    Article 107.2.a) takes the value of the land, not of the whole property. In a flat the land is usually a small fraction of the total, so entering the total cadastral value can multiply the result three or four times over. Both figures are itemised on your IBI bill.

  • Assuming the coefficients went up in 2026

    Royal Decree-Law 16/2025 raised them with effect from 1 January, but Congress did not convalidate it and the Resolución de 27 de enero de 2026 left it without effect. The Royal Decree-Law 8/2023 coefficients have applied again ever since.

  • Adding notary fees, transfer tax and agency commission to the purchase price

    Article 104.5 says the costs and taxes charged on the transactions cannot be counted in that comparison. It is price against price, exactly as the deeds state them.

  • Assuming a town hall will not charge if you sold at a loss

    The town hall does not check on your behalf: it will assess under the objective method, which never asks whether there was a gain. The article 104.5 exclusion has to be claimed and evidenced with the deeds of acquisition and of transfer.

Frequently asked questions

How is the plusvalía municipal calculated?
Under the objective method you multiply the cadastral value of the land by the coefficient for the complete years of ownership, and apply the town hall's rate to the result, capped at 30%. Under the real method you take the difference between sale and purchase price and apply the share the land represents of the total cadastral value. You pay on the lower of the two bases.
Which coefficients apply in 2026?
Those in article 24 of Royal Decree-Law 8/2023, running from 0.15 in the first year to 0.40 from twenty years onwards, with an intermediate peak of 0.20 at seven years. They are the same as in 2024 and 2025, because the two increases enacted by decree-law in December 2024 and December 2025 were both repealed by Congress weeks later.
Who pays the plusvalía municipal?
In a sale, the seller. In a gift or an inheritance, the person receiving the property. Article 106.1 sets this, with one exception: where the seller is a non-resident individual, the buyer becomes substitute taxpayer.
Is plusvalía municipal payable if you sell at a loss?
No, but you have to ask. Article 104.5 puts the transfer outside the tax where it is established that the land did not increase in value. To rely on it you must declare the transfer and produce the purchase and sale deeds.
How long do you have to file?
Thirty working days from the transfer where it is between living persons, and six months extendable to a year where it is on death, under article 110.2. Many town halls require self-assessment, meaning the taxpayer calculates and pays within that window.
Is there relief when inheriting the family home?
There may be. Article 108.4 lets town halls grant relief of up to 95% of the tax where property passes on death to children, a spouse or ascendants. It is not compulsory: it depends on your municipality having provided for it in its ordinance and on the conditions it sets.
Run both methods on your own figures with the plusvalía municipal calculator.

Sources

  1. 1.Consolidated Local Finance Act (RDLeg 2/2004), arts. 104 to 110 · Boletín Oficial del Estado
  2. 2.Resolución de 27 de enero de 2026: Congress repeals Royal Decree-Law 16/2025 · Boletín Oficial del Estado
  3. 3.Royal Decree-Law 8/2023, art. 24: maximum IIVTNU coefficients · Boletín Oficial del Estado
  4. 4.Constitutional Court judgment 182/2021, of 26 October · Boletín Oficial del Estado

Author / Reviewed by

Author

Thorben Rasmus Idel

Co-founder & writer

Co-founder of Calculadora Capital and the writer behind the methodology on every calculator and article. An entrepreneur and active investor, Thorben founded Idel Versandhandel GmbH, an international trading company operating across 16 countries, and invests across stocks, ETFs and cryptocurrency. He writes the methodology and verifies the math behind each page, drawing on hands-on business and investing experience to keep the tools and explanations grounded in how money, markets and taxes actually work for everyday people in Spain.

Reviewed by

Nahar Geva

Co-founder & reviewer

Co-founder of Calculadora Capital and the independent reviewer behind every calculator and article. An entrepreneur and active investor, Nahar brings a data- and product-driven mindset together with hands-on experience in the markets, investing across stocks and ETFs as well as cryptocurrency and other digital assets, alongside broader personal finance and real estate. On each page Nahar reviews the methodology and double-checks the math and figures, pressure-testing how the tools and explanations hold up against the way money, markets and taxes actually work for everyday investors.

Published: Updated: Reviewed: