CCalculate.Studio

🏦 Capital Gains Tax Calculator

This capital gains tax calculator estimates the US federal tax on the profit from selling an asset. For long-term holdings (held more than one year) it applies the 2025 long-term capital gains brackets for a single filer — 0%, 15% and 20% — by stacking the gain on top of taxable income. For short-term holdings it applies the ordinary-income rate you enter. Figures are an educational reference (2025, single filer, updated annually), not tax advice.

Ultima revisione: 2026-07-07

I tuoi dati

EUR
EUR
EUR
%

Risultati

Estimated capital gains tax2250 €
Capital gain15.000 €
After-tax gain12.750 €
Effective tax rate on gain15 %

Understanding your capital gains estimate

US 2025 long-term capital gains brackets, single filer (educational reference, updated annually by the IRS). The bracket is determined by taxable income including the stacked gain.

Taxable income (single, 2025)Long-term rate
Up to $48,3500%
$48,351 – $533,40015%
Above $533,40020%
Short-term (≤ 1 year)Ordinary income rates (10–37% in 2025)
  • Thresholds shown are for single filers in tax year 2025 and are adjusted annually for inflation; married-filing-jointly and head-of-household thresholds differ.
  • Excluded from this estimate: the 3.8% Net Investment Income Tax (modified AGI above $200,000 single), state taxes, collectibles' 28% rate, depreciation recapture, the primary-home exclusion (up to $250,000 single), and capital-loss offsetting.
  • This is an educational model of published IRS brackets, not tax advice; individual filing situations belong with a qualified tax professional or the IRS's own resources.

What is capital gains tax?

Capital gains tax is the tax on the profit realized when a capital asset — stocks, funds, property, cryptocurrency — is sold for more than its cost basis (generally the purchase price plus certain costs). In the United States, the Internal Revenue Service distinguishes two regimes by holding period: assets held more than one year produce long-term gains taxed at preferential rates of 0%, 15% or 20%, while assets held one year or less produce short-term gains taxed as ordinary income at regular bracket rates.

Long-term rates depend on total taxable income, and the gain itself stacks on top of other income when determining which bracket applies. For 2025, a single filer pays 0% on long-term gains to the extent total taxable income stays at or below $48,350, 15% on the portion up to $533,400, and 20% above that. This calculator performs that stacking calculation. The thresholds are indexed for inflation and updated annually by the IRS; the figures here are a 2025 single-filer educational reference.

The full picture includes items this calculator omits: the 3.8% Net Investment Income Tax on higher incomes, state income taxes on gains, special rates for collectibles and certain real-estate depreciation recapture, the home-sale exclusion, and loss offsetting (capital losses reduce taxable gains, and up to $3,000 of net losses can offset ordinary income per year). Married filers and heads of household have different bracket thresholds.

How to use this capital gains tax calculator

  1. Enter the purchase price (cost basis) and the sale price of the asset. If the sale price is lower, the result is a capital loss and no tax is shown.
  2. Enter your taxable income for the year excluding this gain — the gain is stacked on top of it to find the applicable brackets.
  3. Select the holding period: long-term for assets held more than one year, short-term for one year or less.
  4. For short-term gains, enter your marginal ordinary tax rate, since short-term gains are taxed as ordinary income.
  5. Read the estimated tax, the gain, the after-tax gain, and the effective rate actually paid on the gain.

How the tax is calculated

Gain = sale price − purchase price
Long-term (2025, single): 0% ≤ $48,350; 15% ≤ $533,400; 20% above — applied to income + gain slices
Short-term: tax = gain × marginal ordinary rate
Effective rate = tax / gain × 100%

The gain is sale price minus cost basis. For long-term holdings the gain is stacked on taxable income and each slice is taxed at the bracket rate covering it; for short-term holdings the whole gain is multiplied by the entered ordinary rate.

Worked example: an asset bought for $10,000 and sold for $25,000 produces a $15,000 gain. With $60,000 of other taxable income (already above the $48,350 0% threshold for 2025 single filers), the entire gain falls in the 15% bracket: tax ≈ $2,250, after-tax gain $12,750, effective rate 15%. If instead taxable income were $40,000, the first $8,350 of gain would be taxed at 0% and only the remainder at 15%.

Common mistakes

  • Selling at 11 months and paying ordinary rates when waiting past one year would have qualified for long-term rates.
  • Forgetting that the gain stacks on top of income — a large gain can push part of itself into a higher bracket.
  • Using gross income instead of taxable income (after deductions), which overstates the bracket position.
  • Ignoring cost-basis adjustments such as reinvested dividends, which reduce the taxable gain when properly counted.
  • Overlooking state taxes and the 3.8% NIIT, which can add materially to the federal figures shown here.

Domande frequenti

What are the long-term capital gains rates for 2025?

For a single filer in tax year 2025, long-term capital gains are taxed at 0% to the extent taxable income (including the gain) stays at or below $48,350, 15% on the portion up to $533,400, and 20% above that. These thresholds are inflation-indexed and published annually by the IRS; other filing statuses have different thresholds. This calculator uses the single-filer figures as an educational reference.

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

The dividing line is a holding period of one year. Assets held more than one year generate long-term gains taxed at the preferential 0/15/20% rates; assets held one year or less generate short-term gains taxed as ordinary income at regular bracket rates of 10–37% (2025). For most taxpayers the long-term rate is substantially lower, which is why the holding period matters so much.

How does the 0% capital gains bracket work?

Long-term gains are taxed at 0% to the extent total taxable income — ordinary income plus the gain — stays at or below the threshold ($48,350 for single filers in 2025). The gain stacks on top of other income, so a filer with $40,000 of taxable income realizing a $15,000 long-term gain pays 0% on the first $8,350 of the gain and 15% only on the remaining $6,650.

Do capital losses reduce capital gains tax?

Yes. Under IRS rules, capital losses first offset capital gains of the same type, then the other type; up to $3,000 of net remaining losses can offset ordinary income each year, with the excess carried forward to future years. This calculator models a single sale and does not include loss offsetting, so actual tax with losses available would be lower.

Is selling my home subject to capital gains tax?

Often not fully. Under IRS Section 121, a taxpayer who owned and used a home as a primary residence for at least two of the previous five years can generally exclude up to $250,000 of gain ($500,000 married filing jointly) from tax. Gains beyond the exclusion, second homes and rental property follow the normal capital gains rules, with depreciation recapture applying to rentals.

Does this calculator give tax advice?

No. It applies published 2025 IRS brackets for a single filer as an educational illustration and omits the Net Investment Income Tax, state taxes, loss offsetting and many special rules. Actual tax depends on a complete filing picture. The IRS website and a qualified tax professional are the appropriate sources for decisions about a specific situation.

Fonti

  1. Internal Revenue Service (IRS). Topic No. 409, Capital gains and losses. irs.gov.
  2. Internal Revenue Service (IRS). Rev. Proc. 2024-40 — 2025 inflation-adjusted tax parameters including capital gains thresholds. irs.gov.
  3. Internal Revenue Service (IRS). Publication 550, Investment income and expenses. irs.gov.
  4. Internal Revenue Service (IRS). Topic No. 559, Net Investment Income Tax. irs.gov.
  5. Internal Revenue Service (IRS). Topic No. 701, Sale of your home (Section 121 exclusion). irs.gov.

Tasse · Tutti i calcolatori

Calcolatori correlati