Capital Gains Tax Calculator

Estimate your federal capital gains tax on investments and assets. Compares short-term vs. long-term rates to show how holding period impacts your tax bill.

$
$
$

Estimated Tax Owed

Purchase Price
Sale Price
Capital Gain
Tax Rate
Net Proceeds After Tax

Short-Term vs. Long-Term Capital Gains: The Difference

The IRS taxes capital gains differently depending on how long you held the asset before selling. Assets held for one year or less are considered short-term and are taxed as ordinary income — the same as your regular wages, using rates from 10% to 37%. Assets held for more than one year qualify for long-term capital gains rates, which are significantly lower: 0%, 15%, or 20% depending on your income.

This difference in tax treatment is a powerful incentive to hold investments longer. A high earner in the 32% ordinary income bracket would pay only 15% on long-term gains, saving nearly half the tax bill simply by waiting past the one-year mark. For this reason, timing the sale of appreciated assets is one of the most impactful tax planning decisions investors can make.

How to Reduce Capital Gains Tax

Several legal strategies can minimize your capital gains tax liability. Tax-loss harvesting involves selling losing positions to offset your gains — up to $3,000 of losses beyond your gains can even offset ordinary income annually, with unlimited carryforward. Holding assets for more than a year to qualify for lower long-term rates is the most straightforward strategy for most investors.

Other approaches include using tax-advantaged accounts (IRAs, 401(k)s) where gains grow tax-deferred or tax-free, gifting appreciated assets to charity (avoiding the gain entirely), or timing sales to years when your income is lower — which can push you into the 0% long-term capital gains bracket. The 0% bracket applies to single filers with taxable income up to $47,025 and joint filers up to $94,050 in 2025.