Investor guide · 11 min · Reviewed 2026-09-02
Capital Gains Tax on Stocks: Investor Overview
Capital gains tax (CGT) generally applies when you sell shares or ETFs for more than your cost basis. Rates, allowances, and holding-period rules vary by country - start here for the shared math, then open a StockWatch country CGT desk or country guide before you file.
The basic formula
In most systems, a capital gain is sale proceeds minus allowable cost basis (purchase price plus certain costs). A capital loss is the reverse. Tax may apply only above an annual exemption or after special rates for long-term holdings. Dividends are usually a separate income category - even though both show up on investor tax returns.
Cost basis in practice
Basis is not always “what the app shows as average cost.” Corporate actions, drip reinvestment, FX conversion, and partial lot sales can change the number. Keep trade confirms and choose an identification method your country allows (FIFO, specific identification, and similar). Our cost-basis methods guide covers the educational pattern.
Holding periods and rates
Some countries (notably the U.S. federal system) distinguish short-term vs long-term gains with different rates. Others use a flat CGT rate, inclusion rates, or tax gains as ordinary income. Always read the country desk rather than importing U.S. “one-year long-term” folklore worldwide.
Allowances, offsets, and harvesting
Annual exempt amounts, loss offsets, and carryforwards change the effective bill. Tax loss harvesting is one investor tactic in taxable accounts; wrappers may change the game entirely. If you are rebalancing a taxable portfolio into year-end, pair this page with the harvesting and wash-sale guides.
Country desks and deeper guides
StockWatch maintains capital-gains topics per market country plus dedicated U.S., UK, and India CGT guides. Use the salary / take-home calculator when wage income dominates, and investment tax topics when share sales dominate.
What StockWatch does not do
We do not compute your CGT voucher, file your return, or replace official rate tables for the current tax year. Delayed quotes and educational desks help you ask better questions; a preparer or authority guidance closes the filing.
Simple illustration
Educational numbers only - not your return.
You buy 100 shares at $50 ($5,000) and sell at $70 ($7,000). Before fees and allowances, many systems see a $2,000 gain. Whether that is taxed at preferential long-term rates, against an annual CGT allowance, or as ordinary income depends on your country and facts.
Interactive worksheet
Capital gains worksheet
Educational tool only - not tax, legal, or investment advice.
Sketch one sale, then optionally fold in other realized gains/losses for the year. This is worksheet math - not a filing estimate.
Enter proceeds and cost basis to estimate the gain or loss on one disposal.
Common mistakes
- Forgetting fees, FX conversion, or corporate actions in cost basis.
- Assuming every country has U.S.-style short vs long-term rates.
- Ignoring that dividends and gains are often taxed under different rules.
- Selling inside a tax-advantaged account and expecting a taxable-account CGT result.
- Skipping estimated tax after a large mid-year gain.
Country desks & tools
Open a local desk or calculator after you read the overview.
Continue on StockWatch
Guide FAQ
Short answers for discovery.
What is capital gains tax on stocks?
It is the tax many systems charge when you dispose of shares or ETFs for more than your allowable cost basis, after any exemptions or special rates that apply.
Is capital gains tax the same as income tax?
Not always. Some systems tax gains as a separate CGT; others fold gains into income with special rates. Check your country desk.
Do I pay CGT when the stock price rises but I do not sell?
Usually unrealized gains are not taxed until a disposal (sale or similar event). Local mark-to-market or corporate rules can differ.
How do losses interact with gains?
Realized capital losses often offset realized gains, with unused amounts sometimes carried forward. Tax loss harvesting is one way investors create losses deliberately in taxable accounts.
Where are StockWatch CGT pages?
Every country tax desk includes a Capital gains topic, for example /tax/us/capital-gains. Country guides and the Investments segment list them together.