Taxes

Capital Gains Tax Calculator

Tax on your profit, long-term vs short-term, after-tax proceeds.

Your numbers

Could not compute results with these inputs.

How this calculator works

Profit on an investment is not all yours: the IRS takes a cut, and how long you held the asset decides how big that cut is. Sell within a year and the gain is taxed as ordinary income at your marginal rate (up to 37%); hold longer than a year and you get the preferential long-term rates of 0%, 15% or 20% depending on income. This capital gains tax calculator computes your gain, applies the correct 2025 federal bracket for long-term holdings (or your marginal rate for short-term), and shows the tax owed and your after-tax proceeds.

The holding-period cliff is the main planning lever: selling at 366 days instead of 360 can cut the tax rate by more than half for many investors. Tax-loss harvesting is the second lever, realizing losses to offset gains, which is why December sees so much strategic selling. Note what this calculator does not cover: state capital gains taxes (up to 13%+ in some states), the 3.8% net investment income tax above certain incomes, and special cases like collectibles (28%) or depreciation recapture on real estate. Treat the result as a solid federal estimate, then confirm specifics with a tax professional before a large sale.

Frequently asked questions

What is the long-term capital gains tax rate?
For 2025 single filers: 0% up to $48,350 of taxable income, 15% up to $533,400, and 20% above. Most middle-income investors pay 15%.
How long must I hold for long-term treatment?
More than one year. One year or less is short-term and taxed as ordinary income at your marginal rate.
Do I pay tax if I sell at a loss?
No tax on losses, and capital losses can offset capital gains plus up to $3,000 of ordinary income per year, with the rest carried forward.
Are state taxes included?
No, this estimates federal tax only. Most states tax capital gains as ordinary income, adding anywhere from 0% to over 13%.
Disclaimer: Results are estimates for planning purposes only and are not financial advice. Actual loan terms, taxes and investment returns vary. Consult a qualified professional before making financial decisions.