Estimate taxes on a sale of stocks, crypto, real estate, collectibles, or other investment assets.
Your entries are calculated in your browser and are not saved.
Disclaimer
This calculator is a simplified self-help planning tool. It does not prepare a tax return and is not tax, legal, accounting, or investment advice. Results are hypothetical estimates based on the information entered and simplified tax assumptions. Capital gains taxes can depend on exact taxable income, holding period, basis, losses, depreciation, exclusions, state law, local tax rules, and other facts. IncomeTaxBill.com does not guarantee that the result applies to your individual circumstances. Confirm your tax obligations before relying on the result.
How to use this calculator
Start with the asset type, sale price, cost basis, dates, filing status, taxable income before this gain, 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.
Required fields are marked. Most users can leave Advanced options closed.
2026 calculator notes
Updated for 2026: federal long-term capital gains thresholds, Net Investment Income Tax assumptions, and state/local planning inputs where supported.
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 This Capital Gains Tax Calculator Works
This calculator estimates your gain, determines whether the gain appears short-term or long-term, applies federal capital gains or ordinary income tax rules, estimates Net Investment Income Tax when applicable, and then estimates state and local tax where supported.
For long-term gains, the calculator does not apply one flat rate to the entire gain unless the entire gain falls within one bracket. Long-term gains may stack across the 0%, 15%, and 20% federal capital gains brackets depending on filing status and other taxable income for the year.
For short-term gains, the calculator estimates the additional ordinary income tax caused by adding the short-term gain to your taxable income.
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
Example Capital Gains Tax Scenarios
These simplified examples show how the calculator can be used. Final tax can vary based on total income, losses, basis adjustments, state law, and special asset rules.
- Stock sale with a $25,000 long-term gain: enter sale price, basis, holding period, filing status, and other taxable income to estimate whether the gain falls in the 0%, 15%, or 20% federal bracket.
- Crypto sale with a short-term gain: short-term gains are generally estimated through ordinary income tax rates rather than the long-term capital gains brackets.
- Home sale planning: the primary residence option can model a simplified exclusion estimate, but the full home-sale exclusion rules should be checked separately.
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.
How do capital gains tax brackets work?
Federal long-term capital gains brackets are graduated. Part of a gain may fall in the 0% bracket, another part may fall in the 15% bracket, and high-income gains may reach the 20% bracket. This calculator estimates the gain across brackets instead of applying one flat rate to the entire gain.
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.