Skip to content

Practical tools

Company sale / exit tax simulator — Spain

How much tax will you pay when selling your company in Spain? Get an indicative estimate for individual shareholders (IRPF savings base) or holding companies (Art. 21 LIS 95% exemption) in seconds.

IRPF savings-base rates 2026: 19% · 21% · 23% · 27% · 30% (up to 6k / 50k / 200k / 300k / 300k+ €) · Art. 21 LIS: 95% exemption if holding ≥5% · ≥1 year

Company sale / exit tax simulator — indicative fiscal impact

Enter the deal data to get an indicative estimate of the tax cost and net proceeds

Seller type

Total price paid when entering the company, including acquisition expenses

Total amount to be received from the transfer of shares

The percentage of capital being transferred (relevant for the Art. 21 CIT exemption if corporate seller)

Number of years the shares have been held before the sale

No cost · Google Meet or in person · cancel up to 24h in advance

Partner calls directly · Same day if requested

Get the PDF report by email

We'll send you the visual results with year-by-year comparison and cumulative saving.

Spanish tax on company sales: what you need to know

When a business owner decides to exit, the tax structure of the transaction can make a difference of hundreds of thousands of euros in net proceeds. In Spain, taxation depends fundamentally on who sells: an individual pays capital gains tax under the IRPF savings-income base (Art. 66 Ley 35/2006), at progressive rates from 19% to 30%. A holding company may qualify for the Art. 21 LIS participation exemption (Ley 27/2014), which exempts 95% of the gain when the holding exceeds 5% and has been maintained for at least one year.

This gap in effective taxation is the most powerful argument for planning the company structure before any sale, ideally 2–3 years in advance. A last-minute reorganisation immediately before an identified buyer enters the picture may be challenged by the AEAT as lacking economic substance and designed purely to avoid tax. Our M&A tax specialists advise business owners from the strategic decision stage through to post-closing.

IRPF savings-base rates 2026 — individual sellers

Capital gains from share sales by individuals are taxed at the savings-income rates confirmed for the 2026 campaign. There is no regional component for savings-base gains — the rates are uniform across all Spanish regions:

Bracket Marginal rate
Up to €6,00019%
€6,000 – €50,00021%
€50,000 – €200,00023%
€200,000 – €300,00027%
Above €300,00030%

Source: Art. 66 Ley 35/2006 LIRPF; 30% top bracket introduced by RDL 3/2023. Confirmed for 2026 campaign.

Art. 21 LIS exemption — holding / corporate sellers

Article 21 of Spain's Corporate Income Tax Law (Ley 27/2014) allows a selling company to exempt 95% of the capital gain from the transfer of shares when two cumulative conditions are met: (1) the seller holds at least 5% of the share capital (or the acquisition cost exceeded €20M), and (2) the holding has been maintained uninterrupted for at least one year. The remaining 5% is taxable at the general IS rate (25%, or 23% for small companies with revenue below €1M in the prior year).

The resulting effective tax rate on the total gain is approximately 1.25% (25% IS × 5% taxable base), compared with up to 30% under the IRPF savings scale. This difference is the economic foundation of holding structures for business owners planning an exit. The exact effective rate depends on your specific structure — confirm with a specialist before any transaction.

Our specialists in business acquisitions and holding structures can analyse the optimal structure for your exit.

Frequently asked questions — Spanish company sale tax

How much tax will I pay if I sell my company shares as an individual?

Capital gains from the sale of company shares are taxed in Spain under the IRPF (personal income tax) savings-income base (Art. 66 Ley 35/2006 LIRPF) at progressive rates: 19% up to €6,000, 21% on €6,000–€50,000, 23% on €50,000–€200,000, 27% on €200,000–€300,000, and 30% above €300,000. The actual effective rate depends on the total gain and any other savings-base income in the same tax year. These brackets are uniform across all Spanish regions — there is no separate regional component for savings-base capital gains.

What is the Art. 21 LIS participation exemption for corporate sellers?

Article 21 of Spain's Corporate Income Tax Law (Ley 27/2014 LIS) provides a 95% exemption on capital gains from the transfer of shares in a subsidiary when two cumulative conditions are met: (1) the seller holds at least 5% of the share capital (or the acquisition cost exceeds €20 million), AND (2) the holding has been maintained uninterrupted for at least one year before the sale. The remaining 5% is taxable at the standard IS rate (25%, or 23% for small companies with revenue below €1M in the prior year). The effective tax rate on the total gain is approximately 1.25% (25% × 5%). This 95% exemption — reduced from the previous 100% — reflects the 2021 anti-ATAD reform. Exact treatment depends on your structure; always confirm with a specialist before any transaction.

What is the difference between a share deal and an asset deal in Spain for tax purposes?

In a share deal, the seller transfers shares and pays capital gains tax — as an individual at IRPF savings-base rates (19–30%), or as a holding company potentially eligible for the Art. 21 LIS exemption. In an asset deal, the company sells its underlying assets (equipment, IP, contracts) and the gain is taxed at the corporate IS rate. When the shareholders then extract the proceeds, there is a second tax charge (dividend withholding). A share deal is typically more tax-efficient for the seller; an asset deal may be preferred by the buyer (who can depreciate the acquired assets). The final deal price usually reflects the tax burden allocation negotiated between both parties.

Can I defer IRPF on the sale if I reinvest the proceeds?

Article 42 of the LIRPF provides a reinvestment exemption for capital gains from share sales. The gain can be deferred if the proceeds are reinvested in shares of qualifying new or recently incorporated companies within a specific time window. The eligibility criteria, investment limits, and conditions are strict and must be analysed case by case with a specialist before the deal closes. This reinvestment route is separate from the Art. 21 LIS corporate-seller route.

When does it make sense to create a holding structure before selling?

If shares are held directly by an individual and sold at, say, €5M gain, the IRPF cost could approach €1.4–1.5M. If those shares had been held by a holding company meeting the Art. 21 LIS requirements, the effective tax would be approximately €62,500 (1.25% on the same gain). However, a pre-sale reorganisation (contributing shares to a holding under the FEAC merger relief of Art. 80 LIS) must have a valid economic rationale beyond tax reduction. Doing it immediately before an identified sale is likely to be challenged by the AEAT as tax avoidance. The rule of thumb: plan 2–3 years in advance.

How are earn-outs taxed in Spain?

An earn-out is deferred consideration paid if the company meets post-closing performance targets. For tax purposes, earn-out payments are generally taxed when received, also as capital gains in the savings-income base for individual sellers. The present value of the earn-out at closing must technically be included in the initial gain calculation, with a true-up on actual receipt. Earn-out structures require careful drafting of the sale agreement and specialist tax advice to avoid unexpected IRPF acceleration.

Is there any stamp duty or transfer tax on a share sale in Spain?

Share transfers in Spain are generally exempt from Transfer Tax (Impuesto sobre Transmisiones Patrimoniales, ITP) under the general rule. However, there is an anti-avoidance provision: if more than 50% of the company's assets consist of real estate and control is transferred, the transaction may be treated as a real estate transfer and subject to ITP at rates of 6–10% depending on the Autonomous Community. This is a common risk in real-estate-heavy companies that must be identified and structured carefully before closing.

Does the simulator account for all tax variables?

The simulator applies the statutory IRPF savings-base rates (Art. 66 LIRPF 2026) and the Art. 21 LIS participation exemption mechanism. It does not include: earn-out adjustments, reinvestment relief (Art. 42 LIRPF), prior tax losses, pre-deal reorganisation effects, deferred payment structures, or transaction costs. The result is an indicative estimate. The exact effective rate depends on your specific transaction structure — confirm with a specialist before signing any deal.

What documents do I need to calculate the acquisition cost of my shares?

The acquisition cost of your shares (cost basis) should be documented by: the original notarial deed of share purchase or company formation, capital increases or reductions that affected your stake, any dividends received that reduced the cost basis, and acquisition-related expenses (notary fees, advisory fees, ITP if applicable). This documentation is critical and can be difficult to reconstruct after a sale. Gathering it before starting any exit process is strongly recommended.

Related services

Related calculators

Key concepts

REAF-registeredICAM memberSince 2010

This tool provides a directional estimate. A specialist can analyse your specific situation in detail.

Save or share your result

Use this calculator on your site

This calculator is free and embeddable. Copy the code and paste it on any page of your site. Works in blogs, forums, intranets and templates — no dependencies.

HTML

<iframe
  src="https://bm.consulting/embed/company-sale-tax-simulator/"
  width="100%"
  height="700"
  style="border:0; max-width: 720px; margin: 0 auto; display: block;"
  loading="lazy"
  title="Company Sale Tax Simulator Spain — BMC"
></iframe>
<p style="text-align:center; font-size:0.875rem; color:#555;">
  <a href="https://bm.consulting/embed/company-sale-tax-simulator/" target="_blank" rel="noopener">Company Sale Tax Simulator Spain</a>
  by <a href="https://bm.consulting" target="_blank" rel="noopener">BMC</a>
</p>

We keep the calculations updated with every regulatory change. The embed updates automatically — no need to touch anything on your site.

Preview

License and attribution

Free to use with one requirement: keep the "Powered by BMC" link visible in the iframe (already included). No permission needed for individual embeds — for mass integrations or branded white-label, contact us.

Methodology and sources

The simulator applies the statutory IRPF savings-income scale (Art. 66 Ley 35/2006, confirmed for 2026) and the Art. 21 LIS participation exemption mechanism (Ley 27/2014, current version after 2021 reform: 95% exemption). All figures are indicative and do not replace individual tax advice on any specific transaction.

Assumptions applied by this calculator

Official sources

Last reviewed: 2026-06-13

Reviewed by: BMC tax team REAF · ICAM

This calculator provides an estimate for informational purposes. It does not replace professional advice. Results may vary based on personal circumstances and regulatory changes. Consult an advisor for personalized planning.

Request a personalized consultation

Our M&A tax specialists analyse the optimal structure for your company sale: holding planning, timing, FEAC merger relief, and net-proceeds optimisation.

Email
Contact