Quant500 Academy

1. How each thing is taxed: capital gains, dividends and coupons

Costs 5: Tax as a cost

The four levels before this one measured costs that end up in the pocket of an intermediary: the broker's commission, the market spread, a fund's ongoing charge. This one measures the cost that ends up in the state's pocket, and it runs on a logic unlike any of the others, because an enormous part of what it comes to depends not on how much you are charged but on when the charge is triggered.

It is worth saying plainly before going any further: none of what follows is tax advice, nor does it pretend to be. The rules change, they differ from one country to another, and they turn on personal circumstances a course cannot know. What can be taught, and the only part that survives the reforms, is the mechanics: which specific event gives rise to the obligation to pay, on what amount it is calculated, and who decides the timing.

Two families of income the system does not treat alike

Almost any modern tax system splits savings income into two categories that the beginner lumps together:

The distinction sounds like bookkeeping and it is not: it decides who pulls the trigger on the tax.

The trigger: you control it in one case and not in the other

A share you bought at 40 and that now trades at 100 has handed you 60 of profit that shows up on your statement and does not exist for the tax authority. It is called a latent capital gain, or an unrealized one: it is wealth for every economic purpose, but the event that activates the tax, which is the disposal, has not happened. For as long as you do not sell, those 60 stay whole in the portfolio, earning a return on themselves. The day you sell, and only that day, the capital gain comes into being and the obligation with it.

The dividend works the other way round, and that asymmetry is the heart of this level. You do not decide whether it is paid: the board of a company that has never heard of you decides. When it pays out, the income accrues to you even though you did not want to receive it, even though you intend to reinvest every cent of it a minute later, and even though the share price has fallen by exactly the amount paid out, which is what happens on the day the share goes ex-dividend. A dividend does not create wealth: it moves part of your holdings from the price column to the cash column, and somewhere on that journey it runs into the tax authority.

Spain as a worked example

Take Spain as a concrete case, stated for what it is: an example, not a universal rule, and one subject to change. As this is written, both families of income — investment income and capital gains — are folded into what Spain's personal income tax (IRPF) calls the savings-income tax base, taxed on a rising ladder of bands that starts at 19% and steps upwards as the amount grows. Anybody wanting to apply this to their own case has to check the bands in force for the relevant tax year, because they have been changed several times in the space of a few years.

Two details of the Spanish mechanics that are often misread:

And remember what the macro track already explained: the tax is calculated on the nominal gain, with no correction for the inflation of the period.

Why accumulating and distributing are not the same product

This is where everything above turns into a concrete decision. An accumulating fund collects the dividends of the companies in its portfolio internally and reinvests them inside the fund itself. That movement never reaches your hands and, in jurisdictions such as Spain's, no income accrues to you. A distributing fund, with exactly the same portfolio and exactly the same ongoing charge, hands you that money. The moment it lands in your account, it is income for the tax year.

On the same gross return, the second loses a slice each year of capital that would otherwise have gone on compounding. One necessary warning: this is not universal. There are systems that attribute to the unitholder the income generated inside the fund even when it is never received, and there the advantage vanishes. It is exactly the sort of detail to check against the rules that apply to you.

A worked example: twenty years and two wrappers

Ten thousand euros, twenty years, 6% gross a year and a 19% rate to keep things simple.

The second pays considerably less tax at the end and still finishes 713 euros behind. That is the detail almost nobody sees: what was lost was not the tax paid, but everything that money would have earned over the years it still had ahead of it. The next module turns that idea into the central mechanism of the whole level.

The rest of Quant500

What you are learning, applied to the index every day:

The model portfolio, weekly in your inbox

Every Saturday, its week in one minute: how it went, the best and the worst, and which insiders bought with their own money. Plus, the day the model is rebuilt, which stocks come in and which go out. A simulation, not advice. At most one email a week, no ads, no account; one-click unsubscribe. Made by one person: Pol Gracia.

A model portfolio with simulated results, not a personalized recommendation. Your email is used for this only: privacy.

Behind the Academy and the rest of Quant500 there is one person: Pol Gracia Serrahima.