How do you calculate capital gains tax?

Editorial team Published on

To calculate capital gains tax, find the difference between your asset's sale price and its cost basis (what you paid plus fees) to get your gain or loss; then, apply the appropriate rate (short-term, taxed as ordinary income, if held 1 year or less, or long-term, taxed at preferential rates, if held over a year) based on your income and holding period, remembering to account for any deductions or exclusions, like the primary residence rule, to get your final tax liability.

What is the formula to calculate capital gains?

Subtract your basis (what you paid) from the realized amount (how much you sold it for) to determine the difference. If you sold your assets for more than you paid, you have realized capital gains amount. If you sold your assets for less than you paid, you have a capital loss.

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%). 

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%). 

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.
 

Capital Gains Tax - How do you calculate it? An Example Calculation

35 related questions found

How much capital gains do you have to pay on $300,000?

Capital gains tax on $300,000 depends on your filing status and total income, but for most, it will be taxed at the 15% federal rate, meaning around $45,000 in tax, potentially rising to 20% if your total income is very high, and you'll also need to account for state taxes and potentially a 3.8% Medicare surtax. A $300,000 gain usually falls into the 15% bracket for single filers (above $48,350) and married filing jointly (above $96,700), while for married filing separately, it hits the 20% bracket (over $300,000).

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.

How to calculate capital gain on sale of property?

To calculate capital gain on property, find the difference between the net sales price (sale price minus selling expenses) and the adjusted cost basis (original cost plus improvements minus depreciation), which reveals your profit or loss; if positive, it's a gain, classified as short-term (held 1 year or less) or long-term (held over a year), impacting your tax rate.

What assets are exempt from capital gains tax?

As already mentioned, some assets are specifically exempt from CGT. Some of the most common examples are: private motor cars, including vintage cars. gifts to UK registered charities.

How much amount of 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. 

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 much capital gains do I have to 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 to calculate capital gains tax on sale of property?

To calculate capital gains tax on property, find your adjusted cost basis (purchase price + improvements - depreciation), subtract it and selling expenses (commissions, fees) from the sale price, then apply the relevant tax rate (long-term rates 0-20%, short-term taxed as income) to the resulting gain, remembering to check for primary residence exclusions.

How do you avoid the 22% tax bracket?

To avoid the 22% tax bracket (or any higher bracket), focus on reducing your taxable income through strategies like maxing out 401(k)s and HSAs, deferring bonuses, tax-loss harvesting, smart charitable giving, and strategic asset location, understanding that higher rates only apply to income within that bracket, not your entire income.

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. 

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 to avoid capital gains tax previous years?

Offset gains by making use of allowable losses

If your total taxable gains are still above the CGT allowance after using your current year's losses, you can also use losses from previous years. If they reduce your gain to the tax-free allowance, you can carry forward the remaining losses to a future tax year.

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.
 

Can I deduct home improvements to avoid capital gains?

Capital improvements: Improvements that add value to your home or prolong its useful life can reduce the amount of capital gains tax you owe when you sell your home, but won't be immediately deductible.