Skip to content

Capital Gains Tax Calculator

Calculate capital gains tax on investments including federal and state tax rates.

Held more than one year — usually qualifies for lower tax rates.

Defaults are US-oriented examples that change yearly — verify your current rate.

Results

Capital gain
$5,000.00
Estimated tax owed
$750.00
After-tax profit
$4,250.00
Net proceeds from sale
$14,250.00
Return on investment
42.50%

Capital Gains Tax Calculator: Estimate Tax on Your Investment Profits

A capital gains tax calculator helps you estimate how much tax you owe when you sell an investment for more than you paid. The calculation starts with your cost basis — the purchase price plus any acquisition costs such as commissions or fees. Subtract the cost basis and any selling costs from the sale price to find your capital gain or loss. This tool then applies your tax rate to show the estimated tax owed, your after-tax profit, and the net proceeds you actually keep.

Capital gains fall into two categories that are taxed very differently. A short-term capital gain applies to assets held for one year or less and is generally taxed at your ordinary income rate, which can be significantly higher. A long-term capital gain applies to assets held for more than one year and usually qualifies for a lower preferential rate. Because your exact rate depends on your income, filing status, and where you live, this calculator lets you enter the applicable tax rate yourself rather than guessing on your behalf.

If you sell at a loss, no capital gains tax is due on that transaction. Capital losses can often be used to offset capital gains, a strategy known as tax-loss harvesting, which can lower your overall tax bill. Holding an asset longer to reach long-term status, tracking your full cost basis, and timing sales across tax years are all common ways investors legally reduce what they owe. The net proceeds figure shows the cash you receive from the sale after selling costs and estimated tax.

All calculations run entirely in your browser, so your financial figures are never uploaded or stored. The default rates shown here are US-oriented examples that change every year, so always verify the current figures with the IRS or a qualified tax professional before making decisions. To plan the bigger picture, pair this tool with our investment calculator, compound interest calculator, and retirement calculator.

FAQ

Share

FAQ

What is the difference between short-term and long-term capital gains?+
Short-term gains apply to assets held one year or less and are usually taxed as ordinary income at your marginal rate. Long-term gains apply to assets held more than one year and typically qualify for a lower preferential tax rate.
How is the capital gain calculated?+
Capital gain equals the sale price minus your cost basis (purchase price plus acquisition costs) minus any selling costs. If the result is positive it is a gain; if negative it is a capital loss and no capital gains tax is owed on that sale.
Why do I have to enter the tax rate myself?+
Capital gains rates depend on your income bracket, filing status, and jurisdiction (federal plus state or country). Because these vary widely and change yearly, the calculator lets you enter the exact rate that applies to you for an accurate estimate.
What are net proceeds?+
Net proceeds are the cash you actually receive from the sale after subtracting selling costs and the estimated tax owed. It reflects what lands in your account, unlike the raw gain figure.
Is this a substitute for tax advice?+
No. This calculator provides estimates for planning only. Tax rules, brackets, and exemptions change yearly and vary by location. Always confirm with the IRS or a qualified tax professional before filing.

Most Popular Tools