A capital gain is the profit from selling an asset — stocks, funds, crypto, real estate — for more than its cost basis. In the US, gains on assets held one year or less are short-term and taxed as ordinary income. Gains on assets held longer are long-term and taxed at 0%, 15% or 20% depending on income; higher earners may owe an extra 3.8% net investment income tax. Capital losses offset gains.
What it means
You only owe tax when you sell (or swap) — a gain on paper is not taxed. The holding period and your income decide the rate.
How to calculate it
Capital gain = sale proceeds − cost basis − selling costs
Tax = gain × applicable rate (short-term: your income tax rate; long-term: 0%, 15% or 20%)
An example
A $10,000 gain for someone in the 24% federal bracket:
| Held 11 months | Held 13 months | |
|---|---|---|
| Type | Short-term | Long-term |
| Federal rate | 24% | 15% |
| Federal tax | $2,400 | $1,500 |
State income tax may apply on top.
Why it matters to you
Timing a sale past the one-year mark, using losses to offset gains and selling high-basis lots first can all lower the tax on the same profit.
What you can do
- Check the purchase date before selling.
- Up to $3,000 of net capital losses a year can offset ordinary income; the rest carries forward.
- Keep records your accountant can use: What your accountant needs.
FAQ
Is selling my home taxed?
In the US, up to $250,000 of gain ($500,000 for married couples filing jointly) on a main home can be excluded if you meet the ownership and use tests.
Is swapping crypto a taxable sale?
Yes. Exchanging one crypto for another, including a stablecoin, is a disposition.
What are the 2026 long-term capital gains tax rates?
For 2026 the long-term rates are 0% on taxable income up to $49,450 for single filers ($98,900 married filing jointly), 15% up to $545,500 ($613,700 joint) and 20% above that, plus a possible 3.8% net investment income tax. Short-term gains are taxed at ordinary income rates. Your gain is measured from your cost basis.
Sources
This article is for information only and is not investment, tax or legal advice. Figures are given with their source and date.
