Investor guide · 10 min · Reviewed 2026-09-02
Capital Gains Tax on Stocks in the United States
In a U.S. taxable account, selling shares above your basis typically creates a capital gain taxed as short-term or long-term depending on holding period. Rates, netting, and forms change - use this as a map, then open the U.S. desk and IRS materials for the year you file.
When a sale creates a gain or loss
Dispose of a share or ETF in a taxable account for more than your adjusted basis and you generally realize a capital gain; sell below basis and you realize a capital loss. Basis includes what you paid plus adjustments; broker 1099-B reports help, but you still own the return.
Short-term vs long-term
U.S. materials commonly treat assets held more than one year as long-term, with preferential rate schedules for many filers, while shorter holds are taxed more like ordinary income. Lot identification (FIFO vs specific ID) decides which purchase you sold.
Netting and harvesting
Losses offset gains under ordering rules, and a limited net loss may reduce ordinary income with carryforwards for the rest. That is why tax-loss harvesting and wash-sale timing show up in the same December conversations.
Use StockWatch next
Open the U.S. capital-gains desk, the short-term vs long-term guide, wash-sale and U.S. harvesting guides, then estimated quarterly taxes if you had a large untaxed gain mid-year.
Simple illustration
Educational numbers only - not your return.
You buy a stock for $10,000, hold it 18 months, and sell for $14,000 in a taxable account. Many U.S. filers would treat the $4,000 as a long-term capital gain before rates and other netting - subject to wash sales, basis adjustments, and your full return.
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
- Using average cost when your broker reported specific lots differently.
- Ignoring wash-sale adjustments on 1099-B.
- Assuming retirement-account sales create the same Schedule D gain pattern.
- Planning a sale one day short of long-term treatment.
Continue on StockWatch
Guide FAQ
Short answers for discovery.
Do ETFs follow the same CGT idea as stocks?
Listed equity ETFs are often similar for sale gains, but fund distributions can have their own character. Read fund tax info and broker forms.
Is the 0%/15%/20% long-term story always true?
Those brackets are a common teaching shorthand and depend on taxable income and current law. Confirm the year’s IRS tables.
Does StockWatch compute my CGT?
No. Educational framing only.