Capital Gains Tax Calculator
Use this calculator to estimate capital gains tax on your investments. Enter your purchase price, sale price, holding period, and income bracket to calculate your gain, applicable tax rate, and net profit.
How to Use
Formula
sale_price − purchase_price
holding_period > 12 months
Long-term rates: 0% (low), 15% (medium), 20% (high)
Short-term rate: taxed as ordinary income (estimated 22–37%)
gain_amount × tax_rate
gain_amount − tax_owed
Stock Investment Held 18 Months
Why It Matters
Understanding capital gains tax helps you plan when to sell investments, optimize your tax liability, and make informed decisions about holding periods. Holding investments for more than 12 months can significantly reduce your tax rate.
Who Uses This Calculator?
- • People comparing loan, mortgage, salary, savings, tax, or investment scenarios before making a money decision.
- • Homeowners, borrowers, employees, freelancers, and small business owners who need fast estimates without a spreadsheet.
- • Anyone who wants to understand the inputs, formula, and tradeoffs behind a financial result.
Frequently Asked Questions
What is the difference between short-term and long-term capital gains?
What are the 2024 long-term capital gains tax brackets?
Are there any exemptions from capital gains tax?
Does this calculator account for the Net Investment Income Tax?
Related Calculators
Tax Bracket Calculator
Use this calculator to estimate your US federal income tax for 2024. Enter yo...
ROI Calculator
Calculate the return on investment (ROI) for any investment, project, or busi...
Profit Margin Calculator
Use this profit margin calculator to quickly find your profit margin based on...
All Calculators
This calculator provides estimates for informational purposes only and is not financial, tax, or legal advice. Consult a qualified professional before making financial decisions.