Capital gains tax calculator for dissolving co-ownership in Spain

How much income tax do you pay when co-ownership is dissolved in Spain?

If you receive less than your share entitles you to, you transfer part of it and you have a capital gain or a loss for income tax (IRPF). The figure depends on what the asset cost, the value given to it in the operation and, if it was bought before 1995, the reduction in the ninth transitional provision. This calculator does the sum with the single-pool method or asset by asset, for co-ownership and for marital property, and also if you are not tax resident in Spain.

For the rules behind it, read about dissolving co-ownership in Spain. If you are selling to someone outside the co-ownership, use the capital gains calculator for a property sale. If you would rather I looked at it: Tell me about your case.

Spanish income tax calculator for dissolving co-ownership

Capital gains and losses · Art. 33 of the Spanish income tax law · Ninth transitional provision (DT 9.ª) · Mixed assets (property, shares, vehicles…) · Marital property with its own debts

Type of operation and general settings
The EU/EEA option covers residents of an EU country, and of an EEA country that has effective exchange of tax information with Spain. The residence you choose applies to everyone. If you and the other co-owners live in different places, run each option and keep, for each person, the result for their own residence. The total of the sale values of assets with reduction coefficients that each person transferring has sold since 1 January 2015. The reduction only covers €400,000 in total per person (ninth transitional provision of the income tax law). If they have sold none, leave it at 0.
1 Co-owners
Name% share
2 List of assets
Description Type of asset Market value (€) Acquisition value (€) (optional) Acquisition date (optional) Goes to…
Two different origins (for example, two inheritances) → add two rows with their own dates and acquisition values.
What produces a gain? Only Properties and Shares produce a transfer value and an acquisition value. The other types (vehicles, household contents, credits, balances) count towards the pool, each person's entitlement and the % transferred, but they add no gain.

Only applies to co-ownership when all the assets belong to the same co-owners in identical shares.

This guide explains in plain language when you have to declare something and how the calculation works. If you prefer to go straight in, fill in the figures and press calculate.

When is there a gain or a loss to declare?

When you split something you owned jointly with other people, the general rule is that there is nothing to declare: each person receives what was already theirs, only now on their own.

The issue arises when someone receives more than their share. This is called an excess allocation. The person who received fewer assets, and was paid money to make up the difference, is transferring part of what the other person took. That transfer can produce a gain or a loss for income tax.

In short: whoever receives the compensation money is the one who has to declare. Whoever pays it (the person who received more assets) has no gain for income tax on this operation.
How it is worked out, in three steps
1
The money you received. That is your sale price, and nothing else.
2
The percentage you transferred. You divide what you received by the current value of the asset the other person took. For example: you received €94,000 and the asset is worth €338,000, so you transferred 27.81%.
3
What that percentage cost you. You apply the same percentage to the price paid originally. For example: the asset cost €190,000 and you transferred 27.81%, so your cost was about €52,840.
Your gain or loss = money you received − what that percentage cost you
Ordinary co-ownership and marital property: what is the difference?
Ordinary co-ownership Mortgages and debts are not part of the split for income tax. If someone takes on a mortgage to compensate the other person, it is as if they were paying in cash. The calculation uses the value of the assets only.
Marital property (sociedad de gananciales) Marital debts do reduce what has to be split. First you take the mortgage off the total, and on that net figure you work out what each spouse is due. That makes the percentage transferred smaller than if there were no debt.
Worked examples
Example 1: two siblings, two flats, with a gain

Two siblings own two flats, 50% each. They split them: sibling A takes the small one (worth €150,000, cost €60,000) and sibling B the large one (worth €338,000, cost €190,000). Sibling B pays sibling A €94,000 to compensate.

StepCalculationResult
Total for the two flats150,000 + 338,000€488,000
Sibling A's entitlement (50%)488,000 ÷ 2€244,000
Money received by A= B's excess€94,000
Percentage transferred by A94,000 ÷ 338,00027.81%
Cost of that 27.81% of the large flat190,000 × 94,000 ÷ 338,000€52,840.24
Sibling A's gain = 94,000 − 52,840.24 = €41,159.76
Example 2: divorce with two flats and a mortgage

A couple own two flats, with a €50,000 mortgage on the first. Spouse A takes the mortgaged flat (worth €250,000, cost €100,000) and takes on the mortgage. Spouse B takes the other flat (worth €100,000). A also pays B €50,000 in cash.

StepCalculationResult
Net value to split (A's flat − mortgage + B's flat)250,000 − 50,000 + 100,000€300,000
Each spouse's entitlement300,000 ÷ 2€150,000
Net received by spouse A250,000 − 50,000€200,000 → received too much
Money received by spouse B€50,000
Percentage transferred by B50,000 ÷ 200,00025%
Cost of that 25% of A's flat100,000 × 25%€25,000
Spouse B's gain = 50,000 − 25,000 = €25,000

If that flat was spouse B's main home and B reinvests the €50,000 received in a new main home within the following two years, the €25,000 gain is exempt (art. 38 of the income tax law).

Example 3: two flats that have lost value

Two sisters own two flats they bought at the top of the market. Sister A takes the small one (worth €50,000, cost €100,000) and sister B the large one (worth €60,000, cost €120,000). B pays A €5,000 to compensate.

StepCalculationResult
Total for the two flats50,000 + 60,000€110,000
Each sister's entitlement110,000 ÷ 2€55,000
Money received by A€5,000
Percentage transferred by A5,000 ÷ 60,0008.33%
Cost of that 8.33% of the large flat120,000 × 8.33%€10,000
Sister A's loss = 5,000 − 10,000 = −€5,000

You can offset this loss against other savings gains in the same year or in the following four years.

Which assets produce a gain and which do not?

Assets do not all work the same way for income tax:

Can produce a gain or a loss Flats, business premises, land and other real estate. Shares and holdings in companies.
Produce no gain in practice Bank accounts and balances. Loans owed to you. Vehicles and boats. Furniture and household contents.

Assets that produce no gain still count towards the total split and towards the percentage transferred. They do not add any gain or tax.

What if an asset is shared between several people?

If an asset does not go entirely to one person but stays shared (for example, a flat where A keeps 60% and B 40%), enter a separate row for each person, with the market value and the cost of their portion:

Row Market value to enter Cost to enter
A (keeps 60%)Total value of the flat × 60%Total cost × 60%
B (keeps 40%)Total value of the flat × 40%Total cost × 40%

If someone receives no asset at all and only takes money and leaves, add them to the list of co-owners with their percentage but do not assign them any asset. The calculator detects this automatically.

This is an estimate. The tool does not replace professional tax advice · albertovalino.com

Questions about income tax when co-ownership is dissolved in Spain

Who pays income tax when co-ownership is dissolved?

The co-owner who gives up part of their share in exchange for money. You declare the gain between what you receive and what your share cost you. The co-owner who keeps the property pays no income tax (IRPF) on the operation: for them it is an acquisition, and what they pay is stamp duty (AJD).

What if I do not live in Spain?

It depends where you live. If it is in the EU or the EEA, the same rules apply as for a resident and the non-resident income tax (IRNR) rate is 19%. If you live elsewhere, for example in the UK or the USA, the law excludes the rule on dividing common property (art. 24.4 of the non-resident income tax law): you are taxed on your share in every asset that goes to another co-owner, even if the split is balanced. Also, whoever acquires your share of the property withholds 3% of the price on account of your tax (art. 25.2 of the non-resident income tax law; binding ruling V1831-12). More on splitting co-owned property as a non-resident and the steps for a UK resident. If you are not sure where you are resident, see when you are tax resident in Spain.

What happens if no money was paid for the excess?

Then the transfer is a gift. Whoever receives the excess pays Spanish gift tax on it, not transfer tax or stamp duty (binding rulings V1592-24 and V1340-24). The co-owner who gives it up can still have a taxable gain, but a loss does not count (art. 33.5.c of the income tax law).

Do the reduction coefficients apply?

Only to assets acquired before 31 December 1994, and only on the part of the gain generated up to 19 January 2006. This calculator applies them to property only. They have a limit of €400,000 of transfer values added up since 2015, which the calculator takes into account if you enter it.

What if the Spanish tax office has already assessed me and I think I overpaid?

You can ask for a rectification or appeal, in particular when the acquisition value is wrong or costs have been left out. Tell me about your case.

Si quieres que mire tu caso, escríbeme.

If you would like my help with an inheritance or with the tax on a notarial deed, get in touch. I will be glad to help.

This website uses its own cookies to work properly. It contains links to third-party websites with their own privacy policies, which you may accept or not when you visit them. By clicking Accept, you agree to the use of these technologies and the processing of your data for these purposes.
Privacy
Call WhatsApp