Capital gains tax calculator
Enter what you sold for, what you paid, whether you held the shares for more than a year and your yearly income. The calculator estimates the federal tax on the gain and what you keep.
Capital Gain
$5,000.00
Tax Rate (LTCG)
15%
Net After Tax
$4,250.00
Tax owed: $750.00
Simplified US federal tax estimate. Consult a tax advisor for accurate figures.
How it works
The gain is the sale proceeds minus the cost basis. Shares held for a year or less are taxed at ordinary income rates. Shares held for longer are taxed at the lower long-term rates.
This is a simplified estimate for a single filer using fixed income thresholds. It leaves out state tax, the extra tax on high earners, filing status, losses you can offset and changes in the tax tables.
A worked example
You sell for $15,000 something you bought for $10,000 after holding it for over a year, with $100,000 of income. The gain is $5,000 and the estimated tax at the 15% rate is $750, leaving $4,250.
Common questions
What is the difference between short-term and long-term gains?
A short-term gain is on an asset held for a year or less and is taxed like ordinary income. A long-term gain is on an asset held longer than a year and is taxed at lower rates.
Is this tax advice?
No. It is a rough estimate using simplified brackets. Check the current IRS tables or ask a tax professional before you make a decision.
Can I offset gains with losses?
Yes, capital losses can offset gains, but the calculator does not model that. Subtract your losses from the gain first.
Related calculators
Putting the numbers to work? Compare funds with the ETF compare tool or check what you really own with the Portfolio X-Ray.
Results are estimates based on the numbers you enter and are not a forecast. Educational information, not financial, tax or investment advice.