Free Online Calculator

Capital Gains Tax Calculator

Estimate the tax on an investment gain using the 2026 long-term and short-term capital gains rates, based on your taxable income and filing status.

Estimated rate
—
Estimated tax
—
Rate tier—
Tax on the gain—
After-tax proceeds—

This applies the 2026 federal capital gains rates only. It excludes state tax and the 3.8% net investment income tax that applies above $200,000 (single) or $250,000 (married) of modified adjusted gross income.

For planning purposes. This tool produces an estimate to help you plan, not a filed return. Your real result can differ once credits, deductions, and individual circumstances are applied. Confirm important decisions with a qualified professional.

About this calculator

Capital gains are the profit when you sell an asset for more than you paid. How long you held it decides the rate: short-term gains (one year or less) are taxed as ordinary income at your regular bracket, while long-term gains (more than a year) get preferential 0%, 15% or 20% rates. The long-term rate you pay depends on your total taxable income and filing status, not on the size of the gain alone. High earners can also owe an extra 3.8% net investment income tax on top.

How it works

Enter your taxable income and the size of the gain. If the gain is short-term the tool uses your ordinary marginal rate from the IRS brackets; if long-term it picks 0%, 15% or 20% using the 2026 income thresholds for your filing status. The tax is the gain multiplied by that rate, and after-tax proceeds subtract the tax from the gain.

Frequently asked questions

What counts as long-term vs short-term?

You must hold the asset for more than one year for the gain to be long-term. The holding period starts the day after you buy and includes the day you sell, so a position held 366 days qualifies. Anything a year or less is short-term and taxed as ordinary income.

Why is my long-term rate 0%?

For 2026 the 0% long-term rate applies to single filers with taxable income up to $49,450 and married couples up to $98,900. If your total taxable income sits below that line, qualified long-term gains are not taxed at the federal level at all.

When does the 20% rate apply?

The 20% long-term rate starts above $533,400 of taxable income for single filers and above $600,050 for married couples filing jointly in 2026. Most investors land in the 15% band, which covers the wide middle of the income scale.

What is the 3.8% net investment income tax?

An extra 3.8% applies to investment income once modified adjusted gross income exceeds $200,000 (single) or $250,000 (married). This calculator leaves it out, so very high earners should add it to the estimate shown here.

Are these rates for collectibles or real estate?

Collectibles such as art and coins are taxed at a maximum 28% long-term rate, and depreciation on real estate can trigger an extra 25% unrecaptured gain. This tool uses the standard 0/15/20 schedule for typical securities and is not built for those special assets.

Does the calculator include state tax?

No. Several states tax capital gains as ordinary income at rates above 10%, and a few have no income tax at all. Check your state rules, because they can change a 15% federal rate into a much higher combined bill.

Free forever No signup No data stored Works offline 2026 figures