How do I calculate what my capital gains tax will be?

Asked by: Chadd Kreiger  |  Last update: June 28, 2026
Score: 4.2/5 (26 votes)

To calculate capital gains tax, subtract your cost basis (original purchase price + fees) from the net sales price (sale price - selling costs) to find your total gain. Long-term gains ( > 1 > 1 year) are taxed at 0%, 15%, or 20% based on income, while short-term gains ( ≤ 1 ≤ 1 year) are taxed as ordinary income.

How do I figure out what my capital gains tax will be?

How to calculate capital gains tax—step-by-step

  1. Determine your basis. ...
  2. Determine your net proceeds. ...
  3. Subtract your basis (what you paid) from the realized amount (how much you sold it for) to determine the difference. ...
  4. Review the descriptions in the section below to know which tax rate may apply to your capital gains.

What is the 20% rule for capital gains?

The 20% rule for capital gains refers to the highest federal tax rate for long-term capital gains, applying to higher income brackets when you sell investments (stocks, real estate) held for over a year, with lower rates of 0% and 15% for lower incomes, and even higher rates for special assets like collectibles. This rate kicks in for single filers earning over approximately $492,300 (2024) or $533,401 (2025), and higher for joint filers, making holding assets over a year a key tax strategy.

What is the formula for calculating capital gains tax?

To calculate capital gains tax, find the difference between your asset's sale price (minus selling costs) and its cost basis (purchase price plus fees) to get your gain or loss; then, determine if it's short-term (held ≤ 1 year, taxed as ordinary income) or long-term (held > 1 year, taxed at lower 0%, 15%, or 20% rates). Apply the correct rate to your gain to find the tax owed, using IRS tax brackets and forms like Schedule D. 

How much capital gains tax on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

Can Capital Gains Push Me Into a Higher Tax Bracket?

45 related questions found

How much capital gains do I pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

What is the 6 year rule for capital gains tax?

The "6-year rule" for Capital Gains Tax (CGT) in Australia allows you to treat a former main residence as tax-exempt for up to six years after you move out, even if you rent it out, enabling you to avoid CGT on any growth during that period. You qualify by moving out, choosing to treat it as your main home for tax, and can reset the rule by moving back in. If you rent it out for longer than six years, only the portion of the gain after the six-year mark becomes taxable.
 

What is the simple formula for capital gains tax?

To calculate your capital gain or loss, you need to subtract the original cost of the asset and any associated expenses from the selling price. The remaining amount is your capital gain (if positive) or capital loss (if negative).

How long will $500,000 last using the 4% rule?

Your $500,000 can give you about $20,000 each year using the 4% rule, and it could last over 30 years. The Bureau of Labor Statistics shows retirees spend around $54,000 yearly. Smart investments can make your savings last longer.

How to pay 0 capital gains tax?

Capital gains tax rates

A capital gains rate of 0% applies if your taxable income is less than or equal to: $48,350 for single and married filing separately; $96,700 for married filing jointly and qualifying surviving spouse; and. $64,750 for head of household.

How much is capital gains tax on $300,000?

Capital gains tax on $300,000 depends on your filing status and other income, but for 2025, it's mostly 15%, with some portions potentially taxed at 0% or 20%, plus a potential 3.8% Net Investment Income Tax (NIIT) if your income is high enough; for example, a single filer might pay 0% on the first ~$48k, 15% on the next portion, and 20% on amounts above ~$533k, while married filing separately would hit the 20% bracket after $300k. 

What is the 36 month rule for capital gains tax?

The "36-month rule" for capital gains tax (CGT) primarily refers to the UK's Principal Private Residence (PPR) Relief, where the final 36 months (or 9 months for most) of a property's ownership period are tax-exempt, even if not lived in, provided it was a main home at some point. In the US, the relevant rule for home sales is the "2-out-of-5-year rule" for the Section 121 exclusion, allowing up to $250k/$500k profit tax-free if owned and used as a main home for 2 of the 5 years before sale, with exceptions for unforeseen circumstances.

Are capital gains calculated on gross or net income?

While capital gains may be taxed at a different rate, they're still included in your adjusted gross income (AGI) and can affect your tax bracket and your eligibility for some income-based investment opportunities.

How much capital gains will I pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

How much capital gain is tax free?

The amount of tax-free capital gain depends on the asset, but the most common exemption is for your primary home, allowing single filers to exclude up to $250,000 (or $500,000 for married couples) of profit if you've lived there 2 of the last 5 years. Additionally, certain long-term investments in qualified small businesses or Opportunity Funds, plus gains on inherited assets (due to stepped-up basis at death), can also be tax-free, while lower income levels may qualify for a 0% long-term capital gains tax rate. 

At what age does capital gains tax stop?

The capital gains tax over 65 is a tax that applies to taxable capital gains realized by individuals over the age of 65. The tax rate starts at 0% for long-term capital gains on assets held for more than one year and 15% for short-term capital gains on assets held for less than one year.

How do I calculate my capital gains tax?

To calculate capital gains tax, find the difference between your asset's sale price (minus selling costs) and its cost basis (purchase price plus fees) to get your gain or loss; then, determine if it's short-term (held ≤ 1 year, taxed as ordinary income) or long-term (held > 1 year, taxed at lower 0%, 15%, or 20% rates). Apply the correct rate to your gain to find the tax owed, using IRS tax brackets and forms like Schedule D. 

How much capital gains will I pay?

How much capital gains tax you pay depends on how long you held the asset and your total taxable income, with long-term gains (over a year) taxed at 0%, 15%, or 20%, while short-term gains (a year or less) are taxed at your higher ordinary income tax rate (10-37%); you'll also need to factor in potential Net Investment Income Tax (NIIT) and state taxes, so check your income against the brackets. 

Who qualifies for 0% capital gains?

To qualify for 0% capital gains tax, you must have long-term capital gains (assets held over a year) and your taxable income (after deductions) must fall below specific IRS thresholds, which change annually but are roughly <$48,350 for single filers and <$96,700 for married filing jointly for the 2025 tax year, allowing for higher total income when combined with deductions like the standard deduction. The key is keeping your adjusted gross income (AGI) low enough so that after subtracting deductions, your taxable income remains within these limits. 

How do the rich not pay capital gains?

Billionaires often employ the “buy, borrow, die” strategy to avoid income and capital gains taxes. First, they acquire appreciating assets like stocks or real estate. Instead of selling these assets when they need cash (which would trigger capital gains tax), they borrow against them at favorable interest rates.

What is the one-time capital gains exemption?

The primary "one-time" capital gains exemption in the U.S. allows single filers to exclude up to $250,000 (or $500,000 for married couples filing jointly) of profit from selling their main home, provided they've owned and lived in it for at least two of the last five years before the sale. While it's often called a one-time exclusion, you can use it multiple times, but you must wait two years before claiming it again on another property.