Capital Gains Tax Calculator: Know What You Owe Instantly

Reading time: 4 minutes

Published: November 2, 2024
Modified: November 4, 2025

Use this Capital Gains Tax Calculator to instantly estimate your federal tax on long-term gains from assets like stocks, bonds, mutual funds, and real estate. This tool does not account for losses and applies only to federal taxes.

Update Notice: This calculator has been fully updated with the 2026 federal long-term capital gains tax brackets. You can now select the tax year (2024, 2025, or 2026) to see how your gains would be taxed under current IRS thresholds.

Your tax rate depends on both your taxable income and the size of your gain. If you’re eligible for the $250,000 or $500,000 capital gains exclusion available on the sale of a primary residence, you can enter that amount manually. This calculator will subtract that exclusion before computing your tax.

After you click Calculate, you’ll see a detailed breakdown of how much of your gain is taxed at 0%, 15%, and 20%, as well as your total tax, effective rate, and cash in hand after taxes.

For more information about capital gains, see How to Calculate Capital Gains on a House Sale.

Long-Term Capital Gains Tax Calculator

Slide to change Sale Price

Make sure to click or tap the Calculate button after making any changes to the fields to update your results.

Scroll to Top