meerwaardebelasting

Capital gains tax on shares: how to calculate it, with examples

Three worked examples of the capital gains tax on shares: bought before 2026, bought and sold in 2026, and a gain and a loss in the same year.

9 min read
TL;DR
  • Gain per sale: sale price minus acquisition value. For shares from before 2026 that is the last closing price of 2025.
  • Per year you add up the gains, deduct the losses of the same year and then the EUR 10,000 exemption. You pay 10% on the rest.
  • If you bought the same share in several lots, FIFO applies per securities account: what you bought first is sold first.
  • Costs, stock exchange tax and dividends do not count in the calculation of your gain.
  • Up to and including 2030 you may ask, for shares from before 2026, to calculate with your actual purchase price. That can bring your gain down to zero, never to a loss.

How much capital gains tax do you pay on the profit from your shares? The calculation itself is short, but it has three rules you need to know: the starting value of 31 December 2025 for shares you already held, offsetting profit and loss within the same year, and the EUR 10,000 exemption. Below are three examples you can check yourself.

This article is about ordinary listed shares in your private assets. Shares you sell to a company you control yourself, a substantial shareholding (at least 20% of a company) and stock options follow their own rules. We do not cover them here, and Kielvo does not calculate them.

The formula in one sentence

Your gain is the sale price minus the acquisition value. Add up all the gains of the year, deduct the losses of the same year, then deduct the EUR 10,000 exemption, and pay 10% on what is left.

StepWhat you do
1. Per saleSale price minus acquisition value. For shares from before 2026 the acquisition value is the value on 31 December 2025
2. Per yearAdd up all gains, deduct all losses of the same year
3. ExemptionDeduct EUR 10,000 per person (income year 2026)
4. Rate10% on the rest, without municipal surcharges

The background of each rule is in Belgian capital gains tax 2026: everything you need to know as an investor.

Example 1: bought in 2021, sold in 2026

In March 2021 you bought 200 shares A for EUR 40 each. The last closing price of 2025 was EUR 65. In September 2026 you sell them for EUR 80 each.

  • Sale price: 200 x 80 = EUR 16,000
  • Starting value on 31 December 2025: 200 x 65 = EUR 13,000
  • Gain: 16,000 - 13,000 = EUR 3,000

Your purchase price of EUR 40 plays no role. The profit you built up before 2026, 200 x (65 - 40) = EUR 5,000, stays outside the tax. If this is your only sale of the year, you pay nothing: EUR 3,000 stays below the exemption.

And if you bought at a higher price than the price at the end of 2025? Suppose you bought the 200 shares in 2021 for EUR 90. With the starting value of EUR 65 your gain is still EUR 3,000, while in reality you make a loss. For sales up to and including 31 December 2030 you may therefore ask to calculate with your actual purchase price. You have to be able to prove that price yourself. In this case your purchase price (EUR 90) is above your sale price (EUR 80): your gain becomes zero. That choice does not give you a deductible loss.

Whoever makes that choice calculates, for those shares, with the average purchase value of what they still held at the end of 2025, instead of with the price per purchase. FIFO still determines that the shares from before 2026 are sold first. More on this in The 31 December 2025 snapshot for shares and ETFs.

Check example 1 yourself in the calculator.

Example 2: bought and sold in 2026

In February 2026 you buy 150 shares B for EUR 100 each and in November 2026 you sell them for EUR 180 each. Your broker charges EUR 7.50 in costs on the purchase and again on the sale, and you pay stock exchange tax.

  • Sale price: 150 x 180 = EUR 27,000
  • Purchase price: 150 x 100 = EUR 15,000
  • Gain: 27,000 - 15,000 = EUR 12,000

The costs and the stock exchange tax do not change that amount. If this is your only sale of the year, 12,000 - 10,000 = EUR 2,000 is taxable and you pay 10% of 2,000 = EUR 200.

Check example 2 yourself in the calculator.

Example 3: a gain and a loss in the same year, and the exemption

Take the sales of examples 1 and 2 together in 2026, and add a third: in 2026 you bought 100 shares C for EUR 70 each and you sell them in the same year for EUR 45.

SaleCalculationResult
Share A200 x (80 - 65)EUR 3,000 gain
Share B150 x (180 - 100)EUR 12,000 gain
Share C100 x (45 - 70)EUR 2,500 loss
  • Net gain of the year: 3,000 + 12,000 - 2,500 = EUR 12,500
  • Exemption: EUR 10,000
  • Taxable: EUR 2,500
  • Tax: 10% of 2,500 = EUR 250

Without the loss on share C, 15,000 - 10,000 = EUR 5,000 would be taxable and you would pay EUR 500. So the loss saves you EUR 250. Three rules on losses:

  • A loss only counts in the year in which you make it. You do not carry it forward to a following year.
  • For shares from before 2026 you also calculate a loss from the value on 31 December 2025, not from your purchase price.
  • You have to be able to prove the loss and its amount yourself.

More about losses is in Loss on shares: what can you offset?.

With withholding by your bank. If these shares are on a Belgian securities account without opt-out, the bank withholds 10% on each gain: EUR 300 on share A and EUR 1,200 on share B, EUR 1,500 together. It takes no account of the loss or the exemption. What you actually owe is EUR 250. You only get back the EUR 1,250 that was withheld in excess by including the sales in your tax return. What that choice involves is explained in Opt-in or opt-out: what do you choose at your bank or broker?.

Check example 3 yourself in the calculator.

Several purchases of the same share: first in, first out

If you buy the same share in several lots at different prices, you do not choose yourself which shares you sell. The law imposes FIFO: what you bought first is sold first.

Example. In 2026 you buy share D three times: 30 shares at EUR 50 in January, 20 shares at EUR 60 in April and 50 shares at EUR 80 in August. In December you sell 40 shares at EUR 90.

  • The first 30 come from the January purchase: 30 x (90 - 50) = EUR 1,200
  • The next 10 come from the April purchase: 10 x (90 - 60) = EUR 300
  • Gain on the sale: 1,200 + 300 = EUR 1,500

You are left with 10 shares at EUR 60 and 50 shares at EUR 80. The sale remains one transaction with one result, even though it comes from two purchases.

  • Per securities account. If you hold the same share on two securities accounts, you apply FIFO to each account separately.
  • Shares from before 2026. You bought those first and therefore sell them first, with the value on 31 December 2025 as the starting value.

What does not count: costs, stock exchange tax and dividends

  • Costs. Brokerage fees and other costs on the purchase or the sale do not count. They do not raise your purchase price and do not lower your sale price.
  • Stock exchange tax. The tax on stock exchange transactions (beurstaks, TOB) that you pay on a purchase or a sale has no effect on your gain.
  • Dividends. A dividend is not a capital gain. It is movable income, and income that is taxed as movable income does not fall under the capital gains tax. The law changes nothing about the withholding tax on dividends. You do not add dividends to your gains.

Shares in another currency. If your share is listed in dollars, you convert the purchase to euros at the exchange rate on the day of the purchase, and the sale at the exchange rate on the day of the sale. For shares from before 2026 you start from the value on 31 December 2025, converted at the rate of that moment. Example: you buy 10 shares at USD 100 when 1 dollar is worth EUR 0.90 (EUR 900) and sell them at USD 120 when 1 dollar is worth EUR 0.85 (EUR 1,020). Your gain is EUR 120, not the amount you made in dollars. That applies if you exchange straight away at the purchase and the sale. If you keep the dollars in an account linked to your securities account, a separate exchange gain or a separate exchange loss can arise when you buy with those dollars and when you change them back into euros.

Do it on your own transactions

Start with the capital gains tax calculator if you want to check a sale or a yearly total. It gives an indicative calculation.

If you have dozens of purchases and sales, FIFO by hand quickly becomes error-prone. Kielvo reads the export from DEGIRO and Bolero and does the same calculation on all your transactions:

  • FIFO per securities account, without costs and stock exchange tax.
  • The starting value of 31 December 2025 for a fixed list of 28 widely held ETFs and shares. For other securities Kielvo calculates with your purchase price and you get a warning.
  • The choice for your actual purchase price, for sales up to and including 2030.
  • One EUR 10,000 exemption for your securities, your crypto and the net result you enter yourself for another broker.

Kielvo does not calculate tax on dividends or stock exchange tax, and it does not read brokers or banks other than DEGIRO and Bolero. All features are on the Features page.

Frequently asked questions

Do I pay tax on shares I have not sold?

No. The tax only arises on a sale or another transfer for consideration. A price rise of shares you hold is not taxed.

Which price of 31 December 2025 should I use?

For listed shares it is the last closing price of 2025. That is not the price of 31 December itself on every exchange: Euronext still traded that day, while on Xetra 30 December 2025 was the last trading day of the year.

May I deduct my transaction costs?

No. No cost or tax on the purchase or the sale counts in the calculation of the gain.

Can I carry a loss forward to next year?

No. You only offset a loss against gains of the same year. What you cannot offset that year is lost.

Does the EUR 10,000 exemption apply per share or per person?

Per person and per year, for all your gains together: shares, ETFs, funds and crypto. Spouses each have their own exemption, and each declares half of a gain on a jointly owned asset.

Sources

Disclaimer: this article is general information and not personal tax advice. Kielvo's calculations are indicative. Take a concrete case to a certified tax adviser or accountant.

Not individual tax advice This article is a reading guide based on public sources. For your personal situation, consult an accountant or a registered tax adviser.

From explanation to numbers

Calculate it on your real transactions

Create an account and work with your own transactions instead of an example.

Kielvo runs on the Cryptotax platform. Your account works for both.