Capital gain: the profit realised when an asset, such as a share, fund unit, bond or property, is sold for more than its purchase cost.
How capital gains work
A capital gain has three ingredients: what you paid, what you received, and the costs in between.
- Cost basis: the purchase price plus allowable costs, such as commissions or transaction fees.
- Sale proceeds: the amount received, usually after deducting selling costs.
- Gain or loss: proceeds minus cost basis. A negative result is a capital loss.
Realised versus unrealised
A gain is unrealised while you still hold the asset. It is only realised when you sell. In most tax systems, tax is triggered by realisation, not by price movement alone. This is why two investors with identical portfolios can face different tax bills in a given year.
Short term versus long term
Many countries separate gains by holding period. Assets held beyond a set threshold count as long term; those sold sooner count as short term. The threshold is often around a year, but it can differ by asset type and country. In some systems, long-term gains are taxed at lower rates, or part of the gain is exempt. In others, gains are added to ordinary income, or have an annual tax-free allowance.
The details differ widely. Some countries have no capital gains tax on certain assets, while others apply it broadly. At the time of writing, no single global rule exists, so check the current official source for your country, such as your national tax authority.
Losses
Many systems let you offset capital losses against capital gains, and sometimes carry unused losses forward. The conditions vary, so confirm the local rules before relying on them.
A worked example
The numbers below are hypothetical and the tax rates are purely illustrative assumptions, not any country's actual rates.
An investor buys 100 units of a broad index fund at 50 each, paying a 20 fee. Cost basis: 100 × 50 + 20 = 5,020.
Two years later, she sells all 100 units at 70 each and pays a 20 fee. Proceeds: 100 × 70 − 20 = 6,980.
Capital gain = 6,980 − 5,020 = 1,960.
Now suppose a hypothetical long-term rate of 15% and a hypothetical short-term rate of 30%:
| Scenario | Tax rate (illustrative) | Tax on 1,960 | Gain after tax |
|---|---|---|---|
| Held long term | 15% | 294 | 1,666 |
| Sold short term | 30% | 588 | 1,372 |
The same pre-tax gain leaves a different amount in the investor's pocket. If she also had a separate realised loss of 500 that her local rules allow her to offset, her net taxable gain would fall to 1,460. Whether such offsetting is permitted, and how, depends on the jurisdiction.
Why capital gains matter to investors
- After-tax returns are what you keep. A return quoted before tax overstates what reaches your pocket.
- Timing can change outcomes. Holding period and the year in which a gain is realised can affect the tax due.
- Costs reduce gains. Fees, spreads and other charges lower the gain and are often deductible from it.
- Account type matters. Gains inside certain tax-advantaged accounts may be treated differently from gains in a regular account.
- Behaviour is affected. Fear of triggering tax can lead investors to hold concentrated positions longer than their plan suggests, which is a risk in its own right.
What to watch out for
- Letting tax drive the whole decision. Tax is one factor. A poorly diversified portfolio can cost more than the tax saved by not selling.
- Forgetting reinvested amounts. Reinvested dividends often add to your cost basis. Missing them can overstate your gain.
- Ignoring currency effects. When an asset is bought in one currency and your tax is calculated in another, exchange-rate movement can create or erase a gain in tax terms.
- Assuming rules are fixed. Rates, thresholds and allowances are revised by governments. Check the current official source before acting.
- Confusing income with gains. Dividends and interest are usually taxed differently from capital gains.
This entry is educational and not tax advice. For your own situation, consult the official tax authority or a qualified professional.
Related concepts
Capital gains sit within total return, which combines price change and income such as dividends. They interact with tax-advantaged accounts, the investment horizon that sets how long you hold, and rebalancing, which can realise gains when you sell winners. Long holding periods also relate to compound interest and growth over time.