Estimate federal capital gains tax on investment sales
Estimates only. Not tax advice. Consult a CPA or use TurboTax or TaxAct for accurate filing.
Tools that pair well with this calculator — selected by our team.
| Tool | Best For | Network |
|---|---|---|
| FreeTaxUSA | 50% off | Direct |
| TurboTax | $25–$50/sale through Awin | Awin |
We may earn a commission if you click above. Calculator is free to use.
Short-term (<1 year): taxed as ordinary income (10-37%). Long-term (>1 year): 0%, 15%, or 20% depending on taxable income. High earners also pay 3.8% Net Investment Income Tax (NIIT). State taxes add more.
Selling investments at a loss to offset capital gains and reduce taxes. You can deduct up to $3,000 in losses against ordinary income annually. The wash sale rule prevents buying the same security within 30 days before or after the sale.
Cost basis = purchase price + commissions + acquisition costs. For dividends reinvested, add the reinvested amounts. If you received stock as a gift, cost basis carries over from the giver. Inherited stock gets a step-up in basis to the date of death.