Capital Gains Tax Calculator

Estimate 2025 US federal capital gains tax on a single asset sale using sale price, cost basis, selling costs, taxable income, and holding period.

Share this calculator

Capital gains tax estimator Estimate 2025 US federal tax on a taxable asset sale using cost basis, sale price, taxable income before the sale, and short-term versus long-term treatment.

Holding period

Display currency

Switch displayed amounts without changing the US federal tax rules behind the estimate.

Result

$8,550.00

Estimated 2025 US federal long-term capital gains tax on a net taxable gain of $57,000.00.

Net taxable gain
$57,000.00
After-tax proceeds
$138,450.00
Effective tax rate on gain
15%
Top federal rate used
15%

Transaction summary

Sale price $150,000.00 minus selling costs of $3,000.00 leaves $147,000.00 in net sale proceeds before federal tax. Cost basis used: $90,000.00. Other taxable income entered: $70,000.00.

Federal tax breakdown

BandGain taxedTax
15% long-term capital gains band$57,000.00$8,550.00

Scope note

This is a US federal estimate for a standard taxable asset sale. Review special rules separately for primary-home exclusions, collectibles, depreciation recapture, the net investment income tax, wash-sale limits, and state taxation.

Also in Income Tax

Investment Tax Basics

Capital gains tax calculator guide: basis, holding period, and federal rate bands

A capital gains tax calculator estimates US federal tax on a taxable asset sale once you know the sale price, cost basis, selling costs, holding period, and filing context. This version is designed for a single standard capital-asset transaction, showing how proceeds, gain, loss carryovers, and the 2025 federal rate bands interact before state tax and special-case rules are layered in.

What creates a capital gain

A capital gain usually starts with the amount you realize from the sale, reduced by selling costs such as commissions or certain transaction fees. From that net proceeds figure, you subtract the asset’s cost basis to determine whether you have a gain or a loss.

Cost basis is not always just the original purchase price. Depending on the asset, basis can be adjusted by reinvested amounts, certain improvements, splits, or prior tax adjustments. That is why calculators in this category work best when you already know the basis figure you need to test rather than when you are still trying to reconstruct it from account history.

Net proceeds = Sale price - Selling costs

The sale amount that matters for capital-gains tax is what remains after allowable selling costs are deducted from the gross selling price.

Realized gain (or loss) = Net proceeds - Cost basis

Comparing net proceeds with basis determines whether the transaction produces a gain or a capital loss.

Short-term versus long-term treatment

Holding period matters because federal capital gains tax does not treat all gains the same way. In broad terms, gains on assets held for more than one year can qualify for long-term capital-gains rates, while shorter holding periods generally push the gain into ordinary-income brackets.

That difference can materially change the tax result. A long-term gain may be split across 0%, 15%, and 20% federal bands depending on your taxable income, whereas a short-term gain is generally taxed using ordinary marginal brackets. The calculator models that distinction directly.

How taxable income changes long-term rates

Long-term capital gains are not taxed in isolation. Your other taxable income determines how much room remains in the 0% and 15% bands before any part of the gain reaches the next federal rate tier.

That is why this calculator asks for other taxable income excluding the transaction being modeled. A gain can be split across multiple rate bands in the same year, so the result should be read as a layered estimate rather than as one single flat rate applied to the whole gain.

Worked example: a 14,000 long-term taxable gain

Suppose an asset sells for 50,000, the cost basis is 35,000, and selling costs are 1,000. Net proceeds are 49,000 and the realized gain is 14,000. If the filer already has 40,000 of other taxable income and the gain qualifies for long-term treatment, part of the gain can still fit inside the 0% federal band before the remainder reaches 15%.

That split-rate treatment is why a capital gains calculator is more useful than simply multiplying the gain by 15% or 20%. The correct federal result depends on filing status, taxable-income stacking, and whether any loss carryovers offset the gain first.

Further reading

What this estimate does not cover

This tool is intentionally scoped to a standard federal planning estimate. It does not apply the primary-home exclusion, collectibles rates, Section 1250 recapture, net investment income tax, wash-sale rules, opportunity-zone adjustments, or state income-tax treatment.

Those omissions matter because capital gains rules vary substantially by asset type. If the transaction involves a home sale, real-estate depreciation recapture, employee stock compensation, or a large investment portfolio with multiple offsetting positions, you should treat the calculator as a first-pass planning check rather than as a filing answer.

Frequently asked questions

What is the difference between short-term and long-term capital gains?

Short-term gains are generally taxed using ordinary-income rates, while long-term gains may qualify for preferential 0%, 15%, or 20% federal rates. The holding period is a major driver of the result.

Why does the calculator ask for other taxable income?

Because long-term capital-gains rates depend on how much taxable income you already have before the gain is added. The gain can be split across multiple federal rate bands in the same year.

Do capital loss carryovers reduce capital gains tax?

Yes. Capital loss carryovers can offset gains first. If losses still remain after offsetting gains, only a limited amount can usually reduce ordinary income in the current year, with the rest carried forward.

Does this estimate cover home-sale exclusions or state tax?

No. This version is a US federal estimate for a standard taxable asset sale only. Home-sale exclusions, depreciation recapture, NIIT, and state tax need separate review.

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.