Capital Gains Tax Calculator
Calculate taxes on investment profits from stocks, real estate, crypto, and other assets. Compare short-term vs long-term capital gains rates.
📅 Tax Year:
Calculate Capital Gains Tax
$
$
$
Your
ordinary income before this gain
How It Works
Short-Term vs Long-Term
- Short-Term (≤1 year): Taxed as ordinary income at your marginal rate (10-37%)
- Long-Term (>1 year): Preferential rates of 0%, 15%, or 20%
Long-Term Capital Gains Rates (2026)
| Rate | Single | MFJ |
|---|---|---|
| 0% | Up to $49,025 | Up to $98,050 |
| 15% | $49,025 - $539,900 | $98,050 - $606,350 |
| 20% | Over $539,900 | Over $606,350 |
Note: High earners may also owe 3.8% Net Investment Income Tax (NIIT).
Examples
Example 1: LTCG, $20k Gain, $50k Income
Total taxable: $70,000 (Single)
LTCG rate: 15% on gain
Tax: $20,000 × 15% =
$3,000
Example 2: STCG, $10k Gain, 22% Bracket
Tax: $10,000 × 22% = $2,200
What this calculator does
This page turns the visible tax inputs into a planning estimate that can be checked against official forms and records. It is designed for quick comparison, not as a substitute for professional tax advice.
How to use this calculator
- Enter the filing status, income, deduction, credit, withholding, and other fields that apply to your situation.
- Run the calculator and review the tax estimate, rate, deduction, or planning result shown on the page.
- Compare the result with IRS forms, state rules, and your own records before making payment or filing decisions.
Frequently Asked Questions
Capital gains tax calculator on stock sale 2026?
Start with the key tax inputs and keep each number easy to verify. For the Capital Gains Tax Calculator, start with sale proceeds, cost basis, selling costs, holding period, filing status, taxable income, and any capital loss carryovers. Then use: taxable gain = sale proceeds - adjusted basis - selling costs. A $10,000 stock profit held more than one year may be taxed at a long-term capital gains rate, but a one-month profit lands in ordinary brackets. Read the result as short-term or long-term gain, estimated federal tax, and possible NIIT exposure. Home sales, collectibles, depreciation recapture, and state taxes can change the result.
How much tax will I pay when I sell stock?
Separate each tax component so the estimate stays readable and easier to check. The Capital Gains Tax Calculator works best when you enter sale proceeds, cost basis, selling costs, holding period, filing status, taxable income, and any capital loss carryovers. The planning formula is taxable gain = sale proceeds - adjusted basis - selling costs. A $10,000 stock profit held more than one year may be taxed at a long-term capital gains rate, but a one-month profit lands in ordinary brackets. Use the final number for short-term or long-term gain, estimated federal tax, and possible NIIT exposure. Home sales, collectibles, depreciation recapture, and state taxes can change the result.
Long term capital gains calculator married filing jointly?
Use this as a planning estimate, then reconcile it with the actual tax forms. Enter sale proceeds, cost basis, selling costs, holding period, filing status, taxable income, and any capital loss carryovers in the Capital Gains Tax Calculator. A practical formula is: taxable gain = sale proceeds - adjusted basis - selling costs. A $10,000 stock profit held more than one year may be taxed at a long-term capital gains rate, but a one-month profit lands in ordinary brackets. Review short-term or long-term gain, estimated federal tax, and possible NIIT exposure. Home sales, collectibles, depreciation recapture, and state taxes can change the result.
Capital gains tax on house sale calculator?
Use the calculator for a working estimate instead of relying on a rough guess. For the Capital Gains Tax Calculator, start with sale proceeds, cost basis, selling costs, holding period, filing status, taxable income, and any capital loss carryovers. Then use: taxable gain = sale proceeds - adjusted basis - selling costs. A $10,000 stock profit held more than one year may be taxed at a long-term capital gains rate, but a one-month profit lands in ordinary brackets. Read the result as short-term or long-term gain, estimated federal tax, and possible NIIT exposure. Home sales, collectibles, depreciation recapture, and state taxes can change the result.
Short term capital gains calculator federal tax?
Keep the inputs practical for this estimate. The Capital Gains Tax Calculator works best when you enter sale proceeds, cost basis, selling costs, holding period, filing status, taxable income, and any capital loss carryovers. The planning formula is taxable gain = sale proceeds - adjusted basis - selling costs. A $10,000 stock profit held more than one year may be taxed at a long-term capital gains rate, but a one-month profit lands in ordinary brackets. Use the final number for short-term or long-term gain, estimated federal tax, and possible NIIT exposure. Home sales, collectibles, depreciation recapture, and state taxes can change the result.
How much capital gains tax on 10000 profit?
Start with the key tax inputs and keep each number easy to verify. Enter sale proceeds, cost basis, selling costs, holding period, filing status, taxable income, and any capital loss carryovers in the Capital Gains Tax Calculator. A practical formula is: taxable gain = sale proceeds - adjusted basis - selling costs. A $10,000 stock profit held more than one year may be taxed at a long-term capital gains rate, but a one-month profit lands in ordinary brackets. Review short-term or long-term gain, estimated federal tax, and possible NIIT exposure. Home sales, collectibles, depreciation recapture, and state taxes can change the result.
Capital gains tax calculator with income?
Separate each tax component so the estimate stays readable and easier to check. For the Capital Gains Tax Calculator, start with sale proceeds, cost basis, selling costs, holding period, filing status, taxable income, and any capital loss carryovers. Then use: taxable gain = sale proceeds - adjusted basis - selling costs. A $10,000 stock profit held more than one year may be taxed at a long-term capital gains rate, but a one-month profit lands in ordinary brackets. Read the result as short-term or long-term gain, estimated federal tax, and possible NIIT exposure. Home sales, collectibles, depreciation recapture, and state taxes can change the result.
Use Cases
- Estimate federal tax before selling stocks, ETFs, or mutual funds to plan your after-tax proceeds.
- Compare short-term vs long-term holding strategies to see how holding period affects your tax bill.
- Plan year-end tax-loss harvesting by calculating gains that need to be offset.
- Evaluate the tax impact of selling rental property or a second home.
- Project crypto or NFT sale taxes before executing a trade on an exchange.
Assumptions & Limitations
- This calculator estimates federal capital gains tax only; state and local taxes are not included.
- The 3.8% Net Investment Income Tax (NIIT) is not automatically added; high earners should account for it separately.
- Cost basis adjustments such as wash-sale disallowances, stock splits, or return-of-capital distributions are not modeled.
- Results assume a single asset sale; netting across multiple lots or assets requires additional analysis.
- Tax brackets and LTCG thresholds are based on IRS-published figures and may change with future legislation.
- This tool is for educational and planning purposes only and does not constitute tax advice. Consult a qualified tax professional for your specific situation.
Sources & References
- IRS Topic No. 409 – Capital Gains and Losses
- IRS Schedule D (Form 1040) Instructions
- IRS Publication 550 – Investment Income and Expenses
- IRS Rev. Proc. 2025-11 – Inflation-Adjusted Tax Items
- IRS Topic No. 559 – Net Investment Income Tax
Tax rates and thresholds are updated for the 2026 tax year. Always verify current figures on IRS.gov before making financial decisions.