Skip to content
CalcularYa
Ingresar

Data from official sources · Made in Argentina

Capital gains tax calculator

When you sell an investment for more than you paid, the profit is a capital gain. How it's taxed depends on how long you held it and on the rest of your income.

Enter the gain, your other taxable income and your filing status to see the federal tax.

Sale price minus what you paid, including fees.

How long you held it

Your taxable income for the year without this gain, after deductions.

Optional. Used for the 3.8% net investment income tax.

How it's calculated

  1. Assets held more than a year get long-term rates. The gain stacks on top of your other taxable income.
  2. The part that fits under $49,450 of total taxable income ($98,900 on a joint return, $66,200 for heads of household) pays 0%.
  3. The part up to $545,500 ($613,700 jointly, $579,600 for heads of household, $306,850 filing separately) pays 15%. The rest pays 20%.
  4. Short-term gains are taxed at your ordinary rates: the calculator figures the tax on your income with and without the gain.
  5. If your modified AGI is above $200,000 ($250,000 jointly), the net investment income tax adds 3.8% on the gain or on the excess income, whichever is smaller.

An example

A single filer with $40,000 of other taxable income sells stock held for three years with a $20,000 gain. $9,450 falls in the 0% band and $10,550 pays 15%. The tax is $1,582.50.

Frequently asked questions

What are the capital gains tax rates for 2026?

0%, 15% or 20% for long-term gains, depending on your taxable income. Short-term gains pay your regular rates from 10% to 37%.

Do I pay capital gains tax when I sell my house?

Often not. If you owned and lived in the home for two of the last five years, up to $250,000 of gain is excluded, or $500,000 for married couples filing jointly. Only the gain above that is taxed.

Can losses lower my capital gains tax?

Yes. Capital losses offset gains first. If losses are larger, up to $3,000 a year ($1,500 if married filing separately) can offset other income and the rest carries forward.

Key terms

Cost basis
What you paid for an investment, plus fees and improvements. Your gain is the sale price minus this.
Holding period
How long you owned the asset. More than one year makes the gain long term.

Up-to-date official data

Data checked against the official source on .

We check the official sources automatically, every day.

See all sources
Embed on your site