Capital Gains Tax Guide: Calculators, Strategies & Guides
Everything you need to understand, calculate, and minimize US capital gains taxes on stocks, real estate, crypto, and investments. Free calculators and expert guides.
Published by
Informational only — not a substitute for a tax, legal, or investment professional who knows your facts. About the publisher
Capital gains taxes are one of the most significant — and most manageable — taxes investors face. Whether you're selling stocks, real estate, cryptocurrency, or small business shares, the difference between short-term and long-term rates can mean tens of thousands of dollars. This hub brings together every tool and guide you need to calculate your liability and reduce it legally.
Start with the capital gains tax calculator for the tax on a sale, then the tax loss harvesting calculator if you have losses to offset those gains. For bitcoin and ether lots — including a wallet transfer that is usually not a sale — use the crypto capital gains tax calculator.
What Is Capital Gains Tax?
A capital gain is the profit you make when you sell a capital asset for more than you paid for it. The IRS taxes these gains at different rates depending on how long you held the asset:
- Short-term capital gains (held ≤ 1 year): taxed as ordinary income — up to 37% federally
- Long-term capital gains (held > 1 year): taxed at 0%, 15%, or 20% depending on your income
High earners also owe an additional 3.8% Net Investment Income Tax (NIIT), pushing the effective top rate to 23.8% federal — before state taxes.
Key Capital Gains Tax Concepts
Tax-Loss Harvesting
Selling losing positions to offset gains is one of the most powerful legal tax strategies available. The wash-sale rule (30-day window) must be respected, but smart harvesting can eliminate thousands in annual tax liability. Model a harvest with the tax loss harvesting calculator.
Qualified Small Business Stock (QSBS)
Under Section 1202, gains from qualifying startup investments can be excluded from federal tax entirely — up to $10 million or 10x your investment cost. Understanding QSBS eligibility is critical for early-stage investors.
Incentive Stock Options (ISOs)
ISOs receive favorable capital gains treatment but trigger Alternative Minimum Tax at exercise. The interplay between ISOs, AMT, and capital gains requires careful planning — especially around filing deadlines.
Net Investment Income Tax (NIIT)
The 3.8% NIIT applies to investment income (including capital gains) for taxpayers above $200,000 (single) or $250,000 (married) in Modified Adjusted Gross Income. Real estate professionals may qualify for an exemption.
Cryptocurrency
Digital assets are property. Selling, swapping, or spending is usually a taxable disposal; moving coins to a wallet you still own generally is not. Walk through Is transferring crypto between wallets taxable?, IRS Form 1099-DA explained, and crypto tax-loss harvesting. Estimate a single lot with the crypto capital gains tax calculator.
Strategies to Minimize Capital Gains Tax
- Hold for long-term rates — the 0% bracket is available up to $47,025 (single) in 2026
- Harvest losses to offset gains dollar-for-dollar
- Max out tax-advantaged accounts — gains inside Roth IRAs and 401(k)s are never taxed
- Use Opportunity Zones — defer and potentially reduce gains by investing in designated zones
- Gift appreciated assets — recipients take your basis, but may be in lower brackets
- Charitable strategies — donate appreciated stock to avoid gains while getting a deduction
Dividend Taxation
Dividends from stocks and funds are taxed differently depending on whether they're "qualified" or "ordinary" — and the difference is enormous. Qualified dividends enjoy the same 0%, 15%, or 20% preferential rates as long-term capital gains. Ordinary dividends are taxed at your full marginal income tax rate, up to 37%.
To qualify, a dividend must come from a US corporation (or eligible foreign corporation) and you must meet the 60-day holding period requirement around the ex-dividend date. Most dividends from individual US stocks and broad-market ETFs are qualified. REIT dividends and most bond fund distributions are ordinary income.
High earners also face the 3.8% Net Investment Income Tax (NIIT) on dividends above $200,000 (single) or $250,000 (married) in MAGI — bringing the top effective federal rate to 23.8% on qualified dividends.
Use the Dividend Tax Calculator to calculate your exact federal tax on dividend income across all brackets.
Related Hubs
Explore these closely related topic clusters:
- Real Estate Investing Hub — 1031 exchanges, depreciation recapture, rental property gains
- Canadian Capital Gains Hub — ACB, inclusion rate, capital losses in Canada
- Retirement Planning Hub — Tax-deferred growth, Roth conversions
- Estate Planning Hub — Step-up in basis, estate tax interaction
- Federal Income Tax Hub — How capital gains fit into your overall tax picture
- Payroll Tax Hub — How wages and investment income interact
Calculators
Tools in this hub (7)
Reading
Guides & articles (7)
Keep exploring
