Calculate short-term and long-term capital gains taxes on investments. See how holding period, filing status, and ordinary income affect your tax bill.
Capital gains tax applies when you sell an asset for more than you paid. The rate depends on your income and how long you held the asset — short-term gains (under 1 year) are taxed as ordinary income, while long-term gains benefit from lower rates of 0%, 15%, or 20%. This calculator estimates your tax liability before you sell.
This capital gains tax calculator distinguishes between short-term gains (taxed at ordinary income rates) and long-term gains (taxed at preferential rates of 0%, 15%, or 20%). The methodology stacks your capital gain on top of your ordinary income to determine which long-term capital gains bracket applies. This is critical because a $50,000 gain added to a $50,000 salary puts you in a higher capital gains bracket than the same gain added to a $30,000 salary. The calculator uses 2025 capital gains thresholds which are adjusted annually for inflation. Real-world applications include tax planning for stock sales, mutual fund redemptions, real estate transactions, and other asset sales. Understanding capital gains rates helps you decide whether to hold investments longer to qualify for lower rates, harvest losses to offset gains, or time asset sales to minimize tax impact. Limitations include not accounting for the 3.8% Net Investment Income Tax (NIIT) that applies to investment income above certain income thresholds, wash sale rules, carryover losses, and special rules for qualified small business stock or real estate depreciation recapture.
Result: A single filer with $75,000 ordinary income and a $50,000 long-term capital gain has a total taxable income of $125,000. The capital gains portion that falls between $48,475 and $125,000 ($76,525) is taxed at 15%. The capital gains tax would be approximately $11,479, bringing total federal tax to about $23,479 and an effective rate of roughly 18.9%.
Understanding how to use financial calculators effectively requires knowing the underlying concepts. The capital gains tax involves several key financial principles that affect your results.
Our calculator uses industry-standard formulas verified by certified financial professionals. The inputs you provide are processed entirely in your browser — we never store or transmit your financial data. Results update in real time as you adjust values, allowing you to explore different scenarios quickly.
For the most accurate results, use current figures from your most recent financial statements. If you are unsure about a specific input, our default values represent national averages based on data from the Federal Reserve, IRS, and Bureau of Labor Statistics.
Remember that calculator results are estimates for educational purposes. Your actual financial situation may differ based on factors like your credit score, specific lender terms, local regulations, and market conditions. We recommend consulting with a qualified financial professional before making major financial decisions.
Be the first to know when 2026 tax brackets, mortgage rates, and insurance data change. Plus, get our free Tax Season Checklist PDF.
No spam, ever. Unsubscribe at any time.
Add Capital Gains Tax Calculator to your blog or website — free, no account needed
<div class="calchubb-embed" data-calc="capital-gains-tax" data-height="500"></div>
<script src="https://calchubb.com/embed.js"></script>Calculate your federal income tax liability using 2025 tax brackets, standard or itemized deductions, and see your effective and marginal tax rates.
Calculate your net worth by subtracting total liabilities from total assets. Track your financial health with the asset-to-debt ratio.
Estimate whether you will receive a federal tax refund or owe money. Compare your total withholding to your projected tax liability.
Results are estimates only and not financial advice. Calculator logic verified by Sarah Rodriguez, EA. Full disclaimer · Methodology