Investment tax planning
2026 Capital Gains Tax Calculator
Estimate capital gains tax on stocks, ETFs, mutual funds, crypto, real estate, collectibles, and other assets. This calculator estimates federal capital gains tax, Net Investment Income Tax, state tax, local tax where applicable, total estimated tax, and after-tax proceeds.
How to use this calculator
Start with the asset type, sale price, cost basis, dates, filing status, other taxable income for the year, and state of residence. Then calculate the estimate. Some choices, such as crypto, real estate, primary residence, or collectibles, will show extra notes or fields when they matter.
Disclaimer
This calculator is a simplified planning tool. It does not prepare a tax return and does not handle every federal, state, local, or asset-specific rule. Capital gains taxes can depend on exact taxable income, holding period, basis, losses, depreciation, exclusions, state law, local tax rules, and other facts. Confirm your tax obligations before relying on the result.
What This Calculator Does Not Handle
- Full 1031 exchange calculations
- Installment sales, QSBS exclusions, AMT, wash sales, or full depreciation schedules
- Partnership K-1 capital gains, trusts, estates, or nonresident alien rules
- State part-year residency, every state credit or deduction, or every local tax rule
- Crypto exchange imports, wallet imports, multiple lots, FIFO, LIFO, specific identification, DeFi, NFTs, or full Form 8949 reporting
FAQs
What is capital gains tax?
Capital gains tax is tax on profit from selling an asset for more than its tax basis. Stocks, ETFs, mutual funds, crypto, real estate, collectibles, and other investments may create capital gains when sold.
What is the difference between short-term and long-term capital gains?
Short-term capital gains generally apply to assets held for one year or less and are usually taxed like ordinary income. Long-term capital gains generally apply to assets held for more than one year and may qualify for lower federal tax rates.
Does this calculator include state capital gains tax?
Yes, where state data is available. Many states tax capital gains as ordinary income, some states have no broad individual income tax, and some states have special capital gains rules. State results are labeled as simplified when appropriate.
Does New York tax capital gains?
New York generally taxes capital gains through its regular income tax system. New York City residents may also owe New York City resident income tax.
Do states without income tax have capital gains tax?
States without a broad individual income tax generally do not tax capital gains through a regular state income tax in this simplified model. Other taxes or special rules may still apply.
Does this calculator include Net Investment Income Tax?
Yes. The calculator estimates the 3.8% Net Investment Income Tax when income appears to exceed the applicable threshold. If modified adjusted gross income is not entered, the NIIT result is simplified.
Does this calculator handle home sale exclusions?
It includes a simplified primary residence exclusion estimate for users who indicate they may qualify. The full home sale exclusion has detailed eligibility rules, so the result should not be treated as a tax return calculation.
Does this calculator handle crypto gains?
Yes, basic crypto sales can be entered like other investment sales. The calculator estimates gain based on sale price, basis, expenses, holding period, and tax profile. It does not import exchange records or prepare Form 8949.
Does this calculator handle collectibles?
It includes a simplified collectibles estimate. Collectibles may be taxed differently from ordinary long-term capital gains, so users should confirm treatment before relying on the result.
Why is this only an estimate?
Capital gains tax can depend on exact income, basis, holding period, losses, asset type, depreciation, exclusions, state law, local tax rules, and other facts. This calculator is a planning tool, not a tax return.