What is my capital gains tax for 2026 or 2027 planning?
Use this capital gains tax calculator to estimate federal tax on investment sales. Enter sale price, basis, holding period, ordinary income, and filing status to estimate short-term or long-term capital gains tax.
capital gains tax calculator
Quick answer
Capital gains tax depends on gain amount, holding period, filing status, taxable income, and whether the gain is short term or long term. Long-term gains can qualify for preferential rates, while short-term gains are taxed like ordinary income.
Also answers
- long-term capital gains calculator
- short-term capital gains tax
- investment tax calculator
- stock sale tax calculator
Good fit when
- Estimating tax before selling investments
- Comparing short-term and long-term gains
- Planning income around capital gains brackets
Have ready
- Sale proceeds and cost basis
- Purchase and sale dates
- Filing status and other taxable income
Result you get
Estimated federal capital gains tax, gain type, and applicable rate.
How this calculation works
- Calculates total gain from sale price minus cost basis and fees.
- Applies ordinary tax rates for short-term gains or capital gains rates for long-term gains.
- Estimates tax and after-tax proceeds based on filing status and year.
Common mistakes and caveats
- State taxes are not included in this estimate.
- Special assets and collectibles can have different tax rates.
FAQ
Do short-term gains use my ordinary tax rate?
Yes. Short-term capital gains are generally taxed at ordinary income rates.
Do long-term gains have lower rates?
Yes. Long-term gains typically qualify for preferential capital gains rates.
Last updated & sources
Last updated June 4, 2026.
TaxGuide Pro provides free state and federal tax calculators for individuals, freelancers, and small businesses.