# Capital Gains Tax: Why When and How You Sell Matters

Source: https://theultimateguidetomoney.com/library/taxes/capital-gains-tax-why-when-and-how-you-sell-matters/
Author: Kris Garlewicz, CFP®, CRPS® · Reviewed November 16, 2026

**The short answer.** When you sell something for more than you paid, the profit is a capital gain. Hold it more than a year and the gain is usually taxed at 0%, 15% or 20%, depending on your income, plus a possible 3.8% surtax. Hold it a year or less and it's taxed like a paycheck, at up to 37%. When you sell, how you sell, and whether you sell at all can change the tax more than the price does.

This applies to stocks, funds, real estate, a business, crypto and collectibles. The rules differ a little for each.

## Words to know

- **Cost basis:** what you paid, plus certain costs and improvements. Your gain is the sale price minus basis.
- **Long-term / short-term:** held more than one year, or one year or less.
- **Net investment income tax (NIIT):** an extra 3.8% on investment income above $200,000 of income for single filers and $250,000 for joint filers ([Experian](https://www.experian.com/blogs/ask-experian/long-term-capital-gains-tax-rates/)).
- **Step-up in basis:** when someone dies, the basis of most assets they leave resets to the value at death, which can wipe out the built-in gain for heirs.

## What are the 2026 rates?

| Long-term rate | Single filers (taxable income) | Married filing jointly |
| --- | --- | --- |
| 0% | Up to $49,450 | Up to $98,900 |
| 15% | Up to $545,500 | Up to $613,700 |
| 20% | Above $545,500 | Above $613,700 |

Source: IRS Rev. Proc. 2025-32 as summarized by [CountryTaxCalc](https://www.countrytaxcalc.com/tax-guides/capital-gains-tax-brackets-2026/). Add 3.8% NIIT at higher incomes, and state tax where it applies.

## How can timing change the tax?

- **Wait past one year.** The jump from short-term to long-term rates can be large.
- **Use low-income years.** Retirees and people between jobs can sometimes realize gains at 0%.
- **Spread big sales out.** Selling over two tax years, or using an installment sale for a business or property, can keep more of the gain in lower brackets.
- **Pair gains with losses.** Losses offset gains. See *Tax-Loss Harvesting*.

## What are the other ways around a big gain?

- **Give appreciated assets** to charity or a donor-advised fund instead of cash. That generally avoids the gain entirely.
- **Gift to family in lower brackets,** keeping in mind the kiddie tax and gift rules.
- **Hold until death.** The step-up can erase the gain for heirs. This is why selling late in life deserves extra thought.
- **Home sale exclusion.** Up to $250,000 of gain ($500,000 for a married couple) on a main home can be tax-free if you meet the ownership and use tests.
- **Real estate exchanges.** See *1031 Exchanges*.
- **Small-business stock.** Certain founders and early investors in C corporations can exclude large gains. The 2025 tax law expanded this for stock acquired after July 4, 2025, up to a $15 million cap per company ([Wolters Kluwer](https://www.wolterskluwer.com/it-it/know/one-big-beautiful-bill-act)).

## Does this matter if I'm not selling a business?

Yes. An employee with company stock, a retiree rebalancing, an heir selling inherited shares, and a family selling a rental all face the same rules. The bigger the gain, the more structure matters. When a business is sold, structure decisions made months before closing often decide the tax.

## Your one move

Before selling anything with a large gain, ask three questions: How long have I held it? What's my taxable income this year? Could I sell over two years, give it, or hold it instead? Then run the numbers with your tax preparer.

## Sources

- [CountryTaxCalc](https://www.countrytaxcalc.com/tax-guides/capital-gains-tax-brackets-2026/): 2026 thresholds from IRS Rev. Proc. 2025-32.
- [Experian](https://www.experian.com/blogs/ask-experian/long-term-capital-gains-tax-rates/): net investment income tax thresholds.
- [Wolters Kluwer](https://www.wolterskluwer.com/it-it/know/one-big-beautiful-bill-act): changes to qualified small business stock (QSBS) under the 2025 law.
- IRS Publication 523 (home sale exclusion) and Publication 550.

---
General education from The Ultimate Guide to Money, brought to you by ProsperiFi LLC, an investment adviser registered with the State of Illinois. Not individualized advice.
