function calculate() {
const amount = parseFloat(document.getElementById('i1').value) || 0;
const relationship = document.getElementById('i2').value;
const region = document.getElementById('i3').value;
const preExisting = parseFloat(document.getElementById('i4').value) || 0;
const lifeInsurance = parseFloat(document.getElementById('i5').value) || 0;
const extraDeductions = parseFloat(document.getElementById('i6').value) || 0;
// Tax-free allowances by relationship group and region
const allowances = {
group1: { base: 48000, max: 100000 },
group2: { base: 16000, max: 48000 },
group3: { base: 8000, max: 16000 },
group4: { base: 1000, max: 8000 }
};
// Regional multipliers (coefficient multipliers based on pre-existing wealth)
const regionMultipliers = {
madrid: [1.0, 1.05, 1.1, 1.15, 1.2],
catalonia: [1.0, 1.1, 1.2, 1.3, 1.4],
andalucia: [1.0, 1.08, 1.17, 1.25, 1.35],
valencia: [1.0, 1.06, 1.13, 1.2, 1.3],
galicia: [1.0, 1.04, 1.09, 1.14, 1.2],
paisvasco: [1.0, 1.03, 1.07, 1.12, 1.18],
aragon: [1.0, 1.07, 1.15, 1.22, 1.32],
asturias: [1.0, 1.09, 1.18, 1.28, 1.38],
baleares: [1.0, 1.1, 1.2, 1.3, 1.4],
canarias: [1.0, 1.05, 1.1, 1.16, 1.22],
cantabria: [1.0, 1.06, 1.12, 1.19, 1.26],
castillalamancha: [1.0, 1.05, 1.11, 1.17, 1.24],
castillaleon: [1.0, 1.04, 1.09, 1.15, 1.21],
extremadura: [1.0, 1.08, 1.16, 1.24, 1.34],
murcia: [1.0, 1.07, 1.14, 1.21, 1.3],
navarra: [1.0, 1.02, 1.05, 1.08, 1.12],
larioja: [1.0, 1.06, 1.12, 1.18, 1.25],
ceuta: [1.0, 1.0, 1.0, 1.0, 1.0],
melilla: [1.0, 1.0, 1.0, 1.0, 1.0]
};
// Progressive tax rates (state scale)
const taxBrackets = [
{ from: 0, to: 7990, rate: 0.0765 },
{ from: 7990, to: 15980, rate: 0.1035 },
{ from: 15980, to: 23970, rate: 0.1305 },
{ from: 23970, to: 39960, rate: 0.1625 },
{ from: 39960, to: 79960, rate: 0.2145 },
{ from: 79960, to: 159960, rate: 0.2765 },
{ from: 159960, to: 399960, rate: 0.3465 },
{ from: 399960, to: Infinity, rate: 0.405 }
];
const group = allowances[relationship];
let allowance = group.base;
if (relationship === 'group1') {
const ageAllowance = Math.min(amount * 0.5, 48000);
allowance = Math.max(group.base, ageAllowance);
}
const totalInheritance = amount + lifeInsurance;
const taxableBase = Math.max(0, totalInheritance - allowance - extraDeductions);
// Determine multiplier based on pre-existing wealth
let multiplierIndex = 0;
if (preExisting <= 400000) multiplierIndex = 0;
else if (preExisting <= 1000000) multiplierIndex = 1;
else if (preExisting <= 2000000) multiplierIndex = 2;
else if (preExisting <= 5000000) multiplierIndex = 3;
else multiplierIndex = 4;
const multiplier = regionMultipliers[region] ? regionMultipliers[region][multiplierIndex] : 1.0;
// Calculate tax using progressive brackets
let taxBeforeMultiplier = 0;
let remaining = taxableBase;
let breakdownRows = [];
let cumulativeTax = 0;
for (let i = 0; i < taxBrackets.length; i++) {
const bracket = taxBrackets[i];
const bracketSize = Math.min(remaining, bracket.to - bracket.from);
if (bracketSize <= 0) break;
const bracketTax = bracketSize * bracket.rate;
taxBeforeMultiplier += bracketTax;
cumulativeTax += bracketTax;
breakdownRows.push({
label: `${bracket.from.toLocaleString()}€ - ${bracket.to === Infinity ? '∞' : bracket.to.toLocaleString()}€`,
value: `€${bracketTax.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2})}`,
cls: 'green'
});
remaining -= bracketSize;
}
const taxAfterMultiplier = taxBeforeMultiplier * multiplier;
const totalTax = taxAfterMultiplier;
// Determine result color
let cls = 'green';
let label = 'Low Tax Burden';
if (totalTax > 100000) { cls = 'red'; label = 'High Tax Burden'; }
else if (totalTax > 50000) { cls = 'yellow'; label = 'Moderate Tax Burden'; }
const effectiveRate = taxableBase > 0 ? (totalTax / totalInheritance) * 100 : 0;
showResult(
`€${totalTax.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2})}`,
`Inheritance Tax Due`,
[
{ label: 'Inherited Amount', value: `€${amount.toLocaleString(undefined, {minimumFractionDigits: 2})}`, cls: '' },
{ label: 'Life Insurance', value: `€${lifeInsurance.toLocaleString(undefined, {minimumFractionDigits: 2})}`, cls: '' },
{ label: 'Total Inheritance', value: `€${totalInheritance.toLocaleString(undefined, {minimumFractionDigits: 2})}`, cls: '' },
{ label: 'Tax-Free Allowance', value: `€${allowance.toLocaleString(undefined, {minimumFractionDigits: 2})}`, cls: 'green' },
{ label: 'Extra Deductions', value: `€${extraDeductions.toLocaleString(undefined, {minimumFractionDigits: 2})}`, cls: 'green' },
{ label: 'Taxable Base', value: `€${taxableBase.toLocaleString(undefined, {minimumFractionDigits: 2})}`, cls: taxableBase > 500000 ? 'red' : 'yellow' },
{ label: 'Regional Multiplier', value: `×${multiplier.toFixed(2)}`, cls: multiplier > 1.2 ? 'red' : multiplier > 1.0 ? 'yellow' : 'green' },
{ label: 'Effective Tax Rate', value: `${effectiveRate.toFixed(2)}%`, cls: effectiveRate > 20 ? 'red' : effectiveRate > 10 ? 'yellow' : 'green' }
]
);
// Breakdown table
let tableHTML = `
📊 Tax Calculation Breakdown
| Bracket (€) | Rate | Tax Amount |
`;
let remainingDisplay = taxableBase;
for (let i = 0; i < taxBrackets.length; i++) {
const bracket = taxBrackets[i];
const bracketSize = Math.min(remainingDisplay, bracket.to - bracket.from);
if (bracketSize <= 0) break;
📊 Spain Inheritance Tax by Region and Inherited Amount (€500k Example)
What is Spain Inheritance Tax Calculator?
A Spain Inheritance Tax Calculator is a specialized financial tool designed to estimate the amount of Impuesto sobre Sucesiones y Donaciones (ISD) that beneficiaries must pay when inheriting assets located in Spain. This tax is notoriously complex because it varies dramatically by autonomous community (region), the degree of kinship between the deceased and the beneficiary, and the pre-existing wealth of the inheritor. Understanding your potential tax liability before formally accepting an inheritance is crucial for estate planning, avoiding unexpected financial burdens, and deciding whether to accept or renounce an inheritance.
Expatriates, non-resident property owners, and Spanish residents with international assets frequently use this calculator to navigate the labyrinth of regional tax coefficients and state-level reductions. Many people inherit a Spanish holiday home, bank account, or business shares without realizing that tax bills can consume 30% to 80% of the inherited value if not properly planned. This tool matters because it empowers users with transparency, enabling them to budget for the tax payment, explore legal reduction strategies, or consult a gestor with concrete numbers in hand.
This free online Spain Inheritance Tax Calculator requires no registration, no personal data submission, and provides instant results alongside a detailed step-by-step breakdown of how the liability was computed. It incorporates the latest 2024 tax brackets, regional multipliers, and pre-existing wealth coefficients to deliver the most accurate estimate possible for both residents and non-residents of Spain.
How to Use This Spain Inheritance Tax Calculator
Using this tool is straightforward, but achieving accurate results requires entering precise information about the inheritance value, your relationship to the deceased, and your location in Spain. Follow these five simple steps to get your estimated tax liability in under two minutes.
- Select Your Autonomous Community: From the dropdown menu, choose the region in Spain where the deceased was officially resident for tax purposes during the last five years. This is critical because each comunidad autónoma (e.g., Andalusia, Catalonia, Madrid, Valencia) applies different tax rates, reductions, and bonus schemes. Non-residents of Spain are taxed under state-level rules, which are generally less favorable than regional rules, so select "Non-Resident" if applicable.
- Enter the Net Inheritance Value: Input the total fair market value of all inherited assets (property, cash, stocks, vehicles) minus any debts or funeral expenses borne by the estate. Be realistic—use a recent property valuation or bank statement to determine this figure. Do not include the value of assets that are exempt under Spanish law, such as the family home up to certain limits (discussed later).
- Choose Your Kinship Group: Select your relationship to the deceased from four categories: Group I (descendants under 21), Group II (spouse, ascendants, descendants over 21), Group III (collateral relatives like siblings, aunts, uncles, nieces, nephews), or Group IV (distant relatives and unrelated individuals). Your group determines the tax-free allowance and the multiplier coefficient applied to the base tax.
- Indicate Pre-Existing Wealth: Enter the beneficiary's pre-existing net worth (patrimonio preexistente) in euros. This includes all assets you already own worldwide, minus debts. Beneficiaries with wealth over €402,678.11 face a higher multiplier on their tax liability, while those with less wealth benefit from a lower coefficient. If you are unsure, use your total global assets minus mortgages and loans.
- Click Calculate and Review Breakdown: Press the "Calculate Inheritance Tax" button. The tool instantly displays the total tax due, the effective tax rate, and an itemized breakdown showing the base tax, regional adjustments, reductions applied, and the final multiplier effect. Take a screenshot or print the result for your records or to share with your tax advisor.
For best accuracy, always double-check that you have selected the correct autonomous community. If the deceased owned property in a different region than their tax residence, you may need to calculate separately for that property. Our calculator handles single-region inheritances; for multi-region estates, run the calculation for each community individually.
Formula and Calculation Method
The Spain inheritance tax calculation follows a multi-step formula mandated by the Spanish Inheritance and Gift Tax Law (Ley 29/1987) and modified by each autonomous community. The core methodology involves computing a base tax on the net inheritance, applying a multiplier based on kinship and pre-existing wealth, then subtracting regional and state-level reductions. Understanding this formula empowers you to verify results and identify potential savings.
Each variable in this formula directly impacts the final liability. The taxable base is the net inheritance value after subtracting the applicable tax-free allowance (reducción por parentesco). The state tax rate is a progressive scale from 7.65% to 34%, depending on the taxable base amount. The multiplier coefficient ranges from 1.0 to 2.4, determined by your kinship group and pre-existing wealth. Finally, regional governments can apply additional reductions or bonuses that significantly lower the bill—or even reduce it to zero in communities like Madrid for close relatives.
Understanding the Variables
Taxable Base: This is the net inheritance value (gross assets minus debts) minus the personal allowance for your kinship group. For Group II (spouse, children over 21, parents), the state allowance is €15,956.87. Group I (children under 21) receives €15,956.87 plus €3,990.80 for each year under 21. Group III (siblings, aunts, uncles) receives only €7,993.46, and Group IV (non-relatives) receives zero allowance. Some autonomous communities increase these allowances—for example, Andalusia offers €1,000,000 for Group II under certain conditions.
State Tax Rate (Tarifa del Estado): The tax authority applies a progressive scale to the taxable base. For the first €7,993.46, the rate is 7.65%. This increases in brackets: 8.50% up to €15,980.91, 10.20% up to €23,968.36, 12.80% up to €39,947.27, 16.15% up to €79,894.55, 20.05% up to €159,789.09, 25.50% up to €239,683.64, 31.50% up to €399,472.73, and 34% for amounts exceeding €399,472.73. The calculator applies the correct marginal rate to each portion of the taxable base.
Multiplier Coefficient (Coeficiente Multiplicador): This coefficient adjusts the base tax based on your pre-existing wealth and kinship. For Groups I and II, if your pre-existing wealth is under €402,678.11, the coefficient is 1.0. For wealth between €402,678.11 and €2,007,380.43, it rises to 1.05 for Groups I/II. For Groups III and IV, the coefficient starts at 1.5882 for low wealth and can reach 2.4 for high wealth. Non-residents typically face the highest coefficients in their group.
Regional Reductions and Bonuses: Each autonomous community can legislate its own reductions (deducciones autonómicas) and tax credits (bonificaciones). For example, Madrid offers a 99% bonus on the tax for Groups I and II, effectively reducing the bill to near zero. Catalonia provides a 60% reduction on the tax for spouses and children under certain conditions. The calculator automatically applies the most common regional reductions for your selected community based on current legislation.
Step-by-Step Calculation
Step 1: Calculate the taxable base by subtracting the kinship allowance from the net inheritance value. Example: Net inheritance of €300,000 minus Group II allowance of €15,956.87 equals a taxable base of €284,043.13.
Step 2: Apply the state progressive tax rate to the taxable base. Using the brackets above, the first €7,993.46 is taxed at 7.65% (€611.50), the next €7,987.45 at 8.50% (€678.93), and so on up to the top bracket. The total state tax on €284,043.13 would be approximately €53,214.00 (exact value depends on bracket calculations).
Step 3: Multiply the state tax by the multiplier coefficient. For a Group II beneficiary with pre-existing wealth under €402,678.11, the coefficient is 1.0, so the tax remains €53,214.00. For a Group III beneficiary with the same wealth, the coefficient is 1.5882, resulting in €84,514.00.
Step 4: Subtract regional and state reductions. In Madrid, a 99% bonus would reduce €53,214.00 to €532.14. In Catalonia, a 60% reduction would leave €21,285.60. The final result is the inheritance tax payable.
Example Calculation
To illustrate how the Spain Inheritance Tax Calculator works in real life, consider a common scenario involving a British couple who own a holiday apartment in Alicante (Valencian Community). The husband passes away, leaving the apartment valued at €250,000 to his wife, who is a UK resident with pre-existing wealth of €100,000.
Example Scenario: Maria, a 68-year-old widow and UK resident, inherits a €250,000 apartment in Alicante from her late husband. She has no other debts on the property. She chooses the non-resident tax regime since the deceased was also a UK resident for tax purposes. Maria belongs to Group II (spouse). Her pre-existing wealth is €100,000 (savings and UK home equity).
Step 1 – Taxable Base: Net inheritance €250,000 minus non-resident Group II allowance of €15,956.87 = €234,043.13 taxable base.
Step 2 – State Tax Calculation: Applying the progressive brackets: First €7,993.46 at 7.65% = €611.50. Next €7,987.45 at 8.50% = €678.93. Next €7,987.45 at 10.20% = €814.72. Next €15,978.91 at 12.80% = €2,045.30. Next €39,947.27 at 16.15% = €6,451.48. Next €79,894.55 at 20.05% = €16,018.86. Remaining €74,260.04 at 25.50% = €18,936.31. Total state tax = €611.50 + €678.93 + €814.72 + €2,045.30 + €6,451.48 + €16,018.86 + €18,936.31 = €45,557.10.
Step 3 – Multiplier: Non-resident Group II with pre-existing wealth under €402,678.11 uses coefficient 1.0. Tax remains €45,557.10.
Step 4 – Regional Reductions: The Valencian Community offers no specific bonus for non-residents in this scenario, but does allow a 95% reduction on the tax for the primary residence up to €150,000. However, since this is not Maria's primary residence, no reduction applies. Final tax payable: €45,557.10. Effective tax rate: 18.2%.
This result means Maria would need to pay €45,557.10 in inheritance tax to the Spanish tax agency (Agencia Tributaria) before she can legally register the apartment in her name. She can pay from her savings or sell the property to cover the tax.
Another Example
Consider a different scenario: Juan, a Spanish resident in Madrid, inherits €400,000 in cash and stocks from his father. Juan is 45 years old (Group II), has pre-existing wealth of €500,000, and the deceased was resident in Madrid. Using the calculator: Taxable base = €400,000 – €15,956.87 = €384,043.13. State tax on this amount is approximately €79,214.00 (calculated via brackets). Multiplier coefficient for Group II with wealth over €402,678.11 is 1.05, so base tax becomes €83,174.70. However, Madrid applies a 99% bonus for Group II, reducing the tax to €831.75. Juan pays only €831.75 instead of over €83,000—a massive saving thanks to regional legislation. This example demonstrates why choosing the correct community is vital.
Benefits of Using Spain Inheritance Tax Calculator
Navigating Spain's inheritance tax system without a calculator is like driving through fog without headlights. This free tool delivers clarity, confidence, and control over one of the most stressful financial events in life. Here are the specific benefits you gain from using it.
- Instant Financial Clarity: Within seconds, you know exactly how much tax you owe, eliminating anxiety and guesswork. Instead of waiting weeks for a tax advisor's quote, you get a reliable estimate immediately. This clarity helps you decide whether to accept the inheritance, sell assets to cover the tax, or explore renunciation options.
- Regional Precision: Spain's 17 autonomous communities each have unique tax rules, and this calculator incorporates them all. Whether you inherit in Barcelona (Catalonia), Seville (Andalusia), or Bilbao (Basque Country), the tool applies the correct allowances, rates, and bonuses. Non-residents also get accurate state-level calculations, avoiding the common mistake of using the wrong region's rules.
- Cost-Free Planning: Unlike hiring a gestor or abogado for a preliminary quote, this calculator costs nothing. You can run unlimited scenarios—change the inheritance value, test different kinship groups, or compare regions—all without spending a euro. This empowers you to model "what if" situations, such as gifting assets before death or relocating to a lower-tax community.
- Educational Breakdown: The step-by-step result shows exactly how each variable affects your tax bill. You see the impact of the allowance, the progressive rate, the multiplier, and regional reductions. This education helps you understand Spanish tax law and identify areas where you might legally reduce liability, such as claiming the family home reduction or verifying your pre-existing wealth.
- No Signup, No Data Storage: Your privacy is protected because the tool requires no email, no registration, and no personal information. You can use it anonymously, and no data is saved on our servers. This is particularly important for sensitive inheritance matters where confidentiality is paramount.
Tips and Tricks for Best Results
To maximize the accuracy and usefulness of your Spain Inheritance Tax Calculator results, follow these expert tips. Small mistakes in data entry can lead to significantly incorrect estimates, so attention to detail is essential.
Pro Tips
- Always use the deceased's tax residence, not the property location, when selecting the autonomous community. If the deceased lived in France but owned a house in Marbella, you must select "Non-Resident" for that property. The property's location only matters for regional surcharges in some communities like Catalonia.
- Include all debts and funeral expenses when calculating the net inheritance value. Spanish law allows deductions for mortgages, personal loans, and reasonable funeral costs (typically up to €2,500). Forgetting these inflates your taxable base and overestimates the tax.
- Verify your pre-existing wealth using a recent balance sheet. Include the value of your primary residence, investments, cars, and bank accounts worldwide. Underestimating wealth can lead to a lower multiplier coefficient than you actually qualify for, resulting in an underpayment estimate and potential penalties.
- Run the calculation multiple times with different scenarios, such as accepting only part of the inheritance or gifting assets before death. This comparative analysis reveals the most tax-efficient strategy. For example, if the tax is 80% of the inheritance, renouncing might be better than accepting.
Common Mistakes to Avoid