Tax FundamentalsFor tax year 2026 (filed in 2027)updated October 20, 20266 min read

Global Capital Gains Tax for Stock & ETF Investors: Principles & Holding Periods

Investing in global stock markets has never been easier, but navigating cross-border tax compliance remains a major challenge. Whether you trade US equities, European UCITS ETFs, or fractional shares across multiple brokers, understanding the universal foundations of capital gains tax is essential to staying compliant and protecting your returns.

In brief
  • Capital gains tax applies only to realized gains upon closing a position, never to unrealized paper profits.
  • Allowable acquisition expenses (purchase price + broker commissions + exchange fees) reduce your taxable gain.
  • Holding periods differ worldwide: some countries offer full exemption after 1–3 years, while others tax all gains at flat or progressive rates.
  • Loss harvesting allows offsetting realized capital losses against capital gains within the same tax year.
  • BrokerTax delivers high-precision calculation with 20 decimal places to eliminate fractional share rounding discrepancies.

1. What Is Capital Gains Tax and When Is It Triggered?

Capital Gains Tax (CGT) is a tax levied on the profit realized when an investor sells a capital asset—such as stocks, exchange-traded funds (ETFs), bonds, or mutual funds—at a price higher than its original purchase cost.

A key principle recognized by virtually all major tax authorities worldwide is that unrealized gains (unrealized paper profits on currently open portfolio positions) are not taxable. You only trigger a taxable event when you execute a sell order and realize the gain or loss.

2. The Net Capital Gain Formula: Deducting Trading Costs

Tax is never calculated on gross sales proceeds. The universally accepted formula is:

Net Capital Gain = Gross Disposal Proceeds − Acquisition Cost Basis − Allowable Transaction Fees

Allowable deductions typically include broker trading commissions, foreign exchange conversion fees, and exchange regulatory fees (such as SEC and FINRA fees in the US). Incurred fees directly lower your taxable baseline.

BrokerTax automatically pairs broker commission fees with corresponding purchase and sale trades, ensuring you claim every legal deduction allowed in your jurisdiction.
How much you can save by 31 December

Tax X-ray shows the tax impact of selling today and which losses can offset gains.

Open Tax X-ray

Frequently asked questions

Can I offset stock losses against dividend income?

In most tax jurisdictions, no. Capital gains and losses from asset disposals and passive dividend income belong to separate tax categories and cannot be commingled.

Do I pay tax when transferring shares between brokers (ACATS)?

No. Moving securities between accounts without changing beneficial ownership is not a taxable disposal. Your original cost basis and acquisition date transfer along with the shares.

Sources

  1. Czech Income Tax Act No. 586/1992 Coll. (§ 4 time test, § 10), e-Sbírka
  2. Slovak Income Tax Act No. 595/2003 Coll. (§ 8, § 9), Slov-Lex
  3. Polish Personal Income Tax Act of 26 July 1991 (art. 9, 11a, 24, 30b), ELI
  4. Hungarian Personal Income Tax Act CXVII of 1995 (§ 67/A), Nemzeti Jogszabálytár
  5. Italian TUIR, D.P.R. 917/1986 (art. 44, 67, 68), Normattiva

More in: Basics and calculation

Related articles

Global Capital Gains Tax Guide for Stock & ETF Investors | BrokerTax