Capital Gains Tax: How Selling Assets Is Taxed
Filing & Brackets · TAX GUIDE
How capital gains work — short-term vs. long-term rates, the 0%/15%/20% brackets, calculating your basis, offsetting gains with losses, and special rules for your home, stocks, and collectibles.
Whenever you sell an asset for more than you paid — stocks, real estate, a business, even collectibles — you may owe capital gains tax on the profit. But capital gains are taxed very differently from your paycheck, often at much lower rates, and there are powerful ways to reduce or even eliminate the tax. Understanding how gains are calculated and taxed is one of the highest-leverage things any investor can learn.
Short-Term vs. Long-Term Gains
The holding period is everything:
• Short-term gains (assets held one year or less) are taxed as ordinary income, at your regular tax rate
• Long-term gains (assets held more than one year) are taxed at preferential rates — 0%, 15%, or 20% depending on your income
Simply holding an asset a few days past the one-year mark can dramatically cut the tax. This is why patience is a tax strategy.
The 0%, 15%, and 20% Brackets
Long-term capital gains have their own brackets tied to your taxable income. Many taxpayers with modest income pay 0% on long-term gains — a planning opportunity to realize gains tax-free in low-income years (for example, early retirement before pensions or Social Security start). Most middle and upper-middle earners pay 15%, and only high earners reach 20%, plus the 3.8% net investment income tax may apply on top.
Calculating Your Gain — Basis Matters
Your gain is the sale price minus your 'basis.' Basis usually starts as what you paid, plus commissions and improvements. For inherited assets, basis is stepped up to date-of-death value. For gifts, you generally take the giver's basis. Keeping good records of purchases, reinvested dividends, and improvements is essential — overstating basis or losing records can mean overpaying tax.
Offsetting Gains With Losses
Capital losses offset capital gains dollar for dollar. If your losses exceed your gains, you can deduct up to $3,000 against ordinary income each year and carry the rest forward indefinitely. 'Tax-loss harvesting' — intentionally selling losers to offset winners — is a popular year-end strategy. Watch the 'wash sale' rule, which disallows a loss if you rebuy the same security within 30 days.
Special Rules: Home, Collectibles, and Small Business
Some assets have unique treatment. The sale of a primary home can exclude up to $250,000 of gain ($500,000 for couples) if you meet ownership and use tests. Collectibles like art and precious metals are taxed at a higher 28% maximum rate. And qualified small business stock can, in some cases, exclude a large portion of gain. Each has detailed requirements worth reviewing before you sell.
Frequently Asked Questions
What's the difference between short-term and long-term capital gains?
Short-term gains (held one year or less) are taxed as ordinary income. Long-term gains (held more than a year) get preferential 0%, 15%, or 20% rates.
Can I pay 0% on capital gains?
Yes. If your taxable income is low enough, long-term gains can be taxed at 0%. Realizing gains in low-income years is a common planning move.
How do capital losses help me?
Losses offset gains dollar for dollar. Excess losses can offset up to $3,000 of ordinary income per year, with the remainder carried forward.
Do I owe tax when I sell my home?
Often not. You can exclude up to $250,000 of gain ($500,000 married filing jointly) if you owned and lived in the home for two of the last five years.
What is the wash sale rule?
It disallows claiming a loss if you buy the same or a substantially identical security within 30 days before or after the sale.