Capital Gain
A capital gain is the profit from selling an asset for more than it cost; selling for less gives a capital loss. Gains are usually taxed only when realised, and many countries tax short-term and long-term gains differently.
Buy something for one price, sell it later for a higher one, and the difference is a capital gain. Sell for less and it is a capital loss. The idea is simple, but the details matter: what counts as the cost, when the gain becomes real, how long you held the asset and how losses offset gains. This entry explains the concept with US and UK rules as factual examples. It is general information, not tax advice; tax treatment is covered in more detail in Capital Gains Tax.
- Category
- Trading Basics
- Reading time
- 6 min
- Also called
- Capital loss, Realised gain, Realized gain
- Updated
Capital gain in plain words
A capital gain is the profit you make when you sell an investment for more than you paid for it.1 If the sale price is lower than the cost, the result is a capital loss instead.
The US tax authority measures the gain as the amount you receive from the sale minus your adjusted basis, which is generally what the asset cost you.2 See Cost Basis.
The UK makes the same point from the other side: tax falls on the gain itself, not on the whole amount you receive when you sell.3
While you still hold the asset, any rise in value is only on paper. It turns into a realised gain when you sell. See Realized and Unrealized P&L.
How a capital gain is worked out, step by step
Find the cost basis
Start with what you paid for the asset. Gifts and inheritances follow different rules.2 See Cost Basis.
Find the sale proceeds
This is what you received when you sold, gave away, swapped or otherwise disposed of the asset.3
Subtract
Capital gain = sale proceeds − cost basis. A negative result is a capital loss.
Check the holding period
In the US, an asset held for more than one year gives a long-term result; one year or less gives a short-term result.2
Net gains against losses
Losses in the same year usually reduce gains before any tax is worked out.2
Apply local rules
Allowances, rates and reporting duties depend on the country. See Capital Gains Tax.
Worked examples
Example 1 — A simple gain on shares
GainA trader buys 50 shares at a hypothetical $40 and later sells them at $55. Trading costs are ignored to keep the numbers clear.
| Cost basis | 50 × $40 = $2,000 |
| Sale proceeds | 50 × $55 = $2,750 |
| Capital gain | $2,750 − $2,000 = $750 |
The gain is the difference between proceeds and basis, not the $2,750 received.3
Example 2 — A loss offsets a gain
Net lossIn the same year the trader also sells another stock for a hypothetical $1,200 less than it cost.
| Gain on stock A | $750 |
| Loss on stock B | −$1,200 |
| Net result | $750 − $1,200 = −$450 |
Under US rules a net capital loss of up to $3,000 a year ($1,500 if married filing separately) can be deducted, and any excess carries forward to later years.2 See Tax-Loss Harvesting.
Example 3 — One day changes the holding period
Holding periodUnder US rules, a stock is bought on 10 March 2025. The holding period starts the day after purchase and ends on the day of sale.2
| Count starts | 11 March 2025 |
| Sold 10 March 2026 | Exactly 1 year: short-term |
| Sold 11 March 2026 | Over 1 year: long-term |
Long-term status needs more than one year, so a sale on the anniversary date is still short-term.2
Kinds of capital gain compared
| Aspect | What it means | Typical treatment |
|---|---|---|
| Unrealised gain | Price is above cost, asset still held | A paper gain until you sell |
| Realised gain | Asset sold for more than its basis | Counted in the year of sale.2 |
| Short-term (US) | Held one year or less | Taxed as ordinary income.2 |
| Long-term (US) | Held more than one year | Rates of 0%, 15% or 20%, by income.2 |
Why capital gains matter
Measuring results
Gains and losses show how a trade or investment actually ended. See Profit and Loss.
Tax planning
Timing a sale can change whether a gain is short-term or long-term in the US.2
Total return
Price gains plus income such as dividends make up the full return. See Total Return.
Choosing funds
Index funds usually trade less and so tend to realise fewer capital gains than actively managed funds.4 See Active and Passive Management.
Advantages and disadvantages
Advantages
Disadvantages
- A gain on paper can vanish before you sell.
- Inflation can make a nominal gain smaller in real terms. See Inflation.
- Record keeping is needed for basis, dates and costs.
- Rules differ by country and change over time.
Going deeper
Read as far as you need. Each level builds on the one before it.
Gain, loss and basis
Beginner
US and UK as examples
Intermediate
In the US, long-term gains for taxable years beginning in 2025 are taxed at 0%, 15% or 20% depending on taxable income, while short-term gains are taxed as ordinary income.2
In the UK, you do not pay Capital Gains Tax if your total gains for the year are below the tax-free allowance.3 GOV.UK gives that allowance as £3,000 for individuals.5
From 6 April 2026, UK gains are taxed at 18% when they fall within the basic Income Tax band and at 24% above it.6
Special categories
Advanced
US gains on collectibles and on qualifying small business stock can be taxed at up to 28%, and unrecaptured section 1250 gain at up to 25%.2
Investors with significant investment income may also owe the US net investment income tax.2 Repurchasing the same security right after a loss can trigger the Wash Sale Rule.
Common mistakes
Taxing the whole sale amount
Only the gain over the cost basis counts, not the full proceeds.
Forgetting the basis
Without records of cost and dates, the gain cannot be worked out correctly.
Miscounting the holding period
In the US, a sale on the one-year anniversary is still short-term.
Ignoring losses
Realised losses can reduce taxable gains under many systems.
Check your understanding
Test yourself before moving on. Each answer comes with an explanation.
Key points to remember
- A capital gain is sale proceeds minus cost basis; a negative result is a capital loss.
- Gains are usually only on paper until the asset is sold.
- In the US, holding for more than one year makes a gain long-term.
- Losses can offset gains, within limits that depend on the country.
- Rules vary by country; this is general information, not tax advice.
Frequently asked questions
Is a capital gain the same as profit?
Do I owe anything on a gain I have not sold?
Can a capital loss be useful?
Further learning
- Capital Gains Tax
How gains are taxed in more detail.
- Cost Basis
The starting point of every gain calculation.
- Realized and Unrealized P&L
Paper gains versus booked gains.
- Tax-Loss Harvesting
Using losses to offset gains.
Sources
This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.
- Investor.gov (SEC). Capital Gain (glossary) (opens in a new tab) Checked .
- Internal Revenue Service. Topic no. 409, Capital gains and losses (opens in a new tab) Checked .
- GOV.UK. Capital Gains Tax: what you pay it on, rates and allowances (opens in a new tab) Checked .
- Investor.gov (SEC). Index Fund (glossary) (opens in a new tab) Checked .
- GOV.UK. Capital Gains Tax: tax-free allowances (opens in a new tab) Checked .
- GOV.UK. Capital Gains Tax rates (opens in a new tab) Checked .
Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.