Capital Gains Tax 101 (2024)

Long-Term Capital Gains Tax Rates for 2024
Filing Status0%15%20%
SingleUp to $47,025$47,026to $518,900Over $518,900
Head of householdUp to $63,000$63,001to $551, 350Over $551,350
Married filing jointly or surviving spouseUp to $94,050$94,051 to $583,750Over $583,750
Married filing separatelyUp to $47,025$47,026to $291,850Over $291, 850

Although marginal tax brackets have changed over the years, historically the maximum tax on ordinary income has almost always been significantly higher than the maximum rate on capital gains.

Not all capital gains are taxed according to the standard 0%/15%/20% schedule. Here are some exceptions where capital gains may be taxed at higher rates than 20%:

  • Gains on collectibles, such as artworks and stamp collections, are taxed at a maximum 28% rate. Currently, it is unclear whether the IRS could ultimately treat some NFTs as collectibles for tax purposes.
  • The taxable portion of gain on the sale of qualified small business stock (Section 1202 stock) is also taxed at a maximum 28% rate.
  • The portion of any unrecaptured Section 1250 gain from selling Section 1250 real property is taxed at a maximum25%rate.

How Do You Calculate Capital Gains on the Sale of Property?

The amount of capital gains you pay on the sale of property depends on whether the property is your principal residence (and how long you lived there) or a rental or investment property.

Due to a special exclusion, capital gains on the sale of a principal residence are taxed differently than other types of real estate. Basically, if you sell your main home and have a capital gain, you can exclude up to $250,000 of that gain from your income, provided you owned and lived in the home for two years or more out of the last five years. (The years don't have to be consecutive.) For married couples filing jointly, the exclusion is $500,000.

Let's say you and your spouse purchased your home for $400,000 and lived in it for seven years. If you now sell it for $675,000, your profit is $275,000, which means that you won't owe the IRS any capital gains taxes on the sale, given the $500,000 exclusion for married couples.

However, a rental property doesn't qualify for the same exclusion on capital gains taxes as a primary residence does. If you sell a rental property that you've owned for more than a year and for a higher price than you paid for it, the IRS requires that you pay a 25% depreciation recapture on the portion of your profit that you previously deducted as depreciation. You'll also have to pay long-term capital gains on the profit balance at a rate of 0%, 15%, or 20%, depending on your income—assuming you have owned the property for more than a year. If you've owned if for less time than that, any profit you make will be taxed at your ordinary income tax rate.

It is possible to reduce your capital gains tax on the sale of a rental property if you plan ahead—for example, by establishing it as your primary residence for at least two years prior to any sale. Consult a tax expert for advice on other methods.

Net Investment Income Tax

In addition to regular capital gains tax, some taxpayers are subject to the net investment income (NII) tax. It imposes an additional 3.8% tax on your investment income, including your capital gains, if your modified adjusted gross income (MAGI) is greater than:

  • $250,000 if married filing jointly or a qualifying widow(er) with a child
  • $200,000 if single or a head of household
  • $125,000 if married filing separately

How to Calculate Long-Term Capital Gains Tax

Most individuals figure their tax (or have pros do it for them) using software that automatically makes the computations. You can also use a capital gains calculator to get a rough idea. Several free calculators are available online. Still, if you want to crunch the numbers yourself, here's the basic method for calculating capital gains tax:

  1. Determine your basis. The basis is generally the purchase price plus any commissions or fees you paid. The basis can be adjusted up or down for stock splits and dividends.
  2. Determine your realized amount. This is the sale price minus any commissions or fees you paid.
  3. Subtract the basis (what you paid) from the realized amount (what you sold it for) to determine the difference. This is the capital gain (or loss).
  4. Determine your tax. If you have a capital gain, multiply the amount by the appropriate tax rate to determine your capital gains tax for the asset (remember that tax rates differ depending on your taxable income and how long you held the asset before you sold it). If you have a capital loss, you may be able to use the loss to offset capital gains.

How to Minimize or Avoid Capital Gains Tax

There are a number of ways to minimize or even avoid capital gains taxes. Here's a look at five of the more common strategies:

1. Invest for the Long Term

You will pay the lowest capital gains tax rate if you find great companies and hold their stock long-term. Of course, this is easier said than done. A company’s fortunes can change over the years, and there are many reasons why you might want or need to sell earlier than you originally anticipated.

2. Take Advantage of Tax-Deferred Retirement Plans

When you invest your money through a retirement plan, such as a 401(k),403(b), or individual retirement account (IRA), it will grow without being subject to immediate taxes. You can also buy and sell investments within your retirement account without triggering capital gains tax.

In the case of traditional retirement accounts, your gains will be taxed as ordinary income when you withdraw money, but by then, you may be in a lower tax bracket than when you were working. With Roth IRA accounts. However, the money you withdraw will be tax-free—as long as you follow the relevant rules.

For investments outside of these accounts, it might behoove investors nearretirementto wait until they stop working to sell. If their retirement income is low enough, their capital gains tax bill might be reduced, or they may be able to avoid paying any capital gains tax. But if they’re already in one of the “no-pay” brackets, there’s a key factor to keep in mind: If the capital gain is large enough, it could increase their total taxable income to a level where they would incur a tax bill on their gains.

Capital losses can offset your capital gains as well as a portion of your regular income. Any amount left over after what you are allowed to claim for one year can be carried over to future years.

3. Use Capital Losses to Offset Gains

If you experience an investment loss, you can take advantage of it by decreasing the tax on your gains on other investments. Say you own two stocks, one worth 10% more than you paid for it, while the other is worth 5% less. If you sold both stocks, the loss on the one would reduce the capital gains tax that you would owe on the other. Obviously, in an ideal situation, all of your investments would appreciate, but losses do happen, and this is one way to get some benefit from them.

If your capital losses exceed your capital gains, you can use up to $3,000 of it to offset ordinary income for the year. After that, you can carry over the loss to future tax years until it is exhausted.

4. Watch Your Holding Periods

If you are selling a security that you bought about a year ago, be sure to find out the trade date of the purchase. Waiting a few days or weeks to qualify for long-term capital gains treatment might be a wise move as long as the investment's price is holding relatively steady.

5. Pick Your Cost Basis

When you’ve acquired shares in the same company or mutual fund at different times and prices, you’ll need to determine your cost basis for the shares you sell. Although investors typically use thefirst in, first out (FIFO)method to calculate cost basis, there are four other methods available:last in, first out (LIFO),dollar-value LIFO,specific share identification, and average cost(only for mutual fund shares).

If you’re selling a substantial holding, it could be worth consulting a tax advisor to determine which method makes the most sense.

Will I Owe Capital Gains Tax if I Sell My Home?

If you have less than a $250,000 gain on the sale of your home (or $500,000 if you’re married filing jointly), you will not have to pay capital gains tax on the sale of your home. You must have lived in the home for at least two of the previous five years to qualify for the exemption (which is allowable once every two years). If your gain exceeds the exemption amount, you will have to pay capital gains tax on the excess.

How do I Calculate My Basis in a Capital Asset?

For most assets, your basis is your capital investment in the asset. For example, it is your purchase price plus additional costs that you incurred, such as commissions, recording fees, or transfer fees. Your adjusted basis can then be calculated by adding to your basis any costs that you’ve incurred for additional improvements and subtracting depreciation that you’ve deducted in the past and any insurance reimbursem*nts that have been paid out to you.

Will Capital Gains Tax Rates Change for 2024?

Capital gains tax rates are the same in 2024 as they were in 2023: 0%, 15%, or 20%, depending on your income. The higher your income, the higher your rate. While the tax rates remain unchanged for 2024, the income required to qualify for each bracket goes up to adjust for inflation. The maximum zero-rate taxable income amount is $94,050 for married filing jointly and surviving spouses, $63,000 for heads of household, and $47,025 for single or married filing separately taxpayers.

The Bottom Line

Although the tax tail should not wag the entire financial dog, it’s important to take taxes into account as part of your investing strategy. Minimizing the capital gains taxes you have to pay—for example, by holding investments for more than a year before you sell them—is one easy way to boost your after-tax returns.

Capital Gains Tax 101 (2024)

FAQs

What is a simple trick for avoiding capital gains tax? ›

Hold onto taxable assets for the long term.

The easiest way to lower capital gains taxes is to simply hold taxable assets for one year or longer to benefit from the long-term capital gains tax rate.

Are there any loopholes for capital gains tax? ›

A few options to legally avoid paying capital gains tax on investment property include buying your property with a retirement account, converting the property from an investment property to a primary residence, utilizing tax harvesting, and using Section 1031 of the IRS code for deferring taxes.

What is the easiest way 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 a capital gain.

What is the capital gains tax for dummies? ›

What Are Capital Gain Taxes? Capital gain taxes are taxes imposed on the profit of the sale of an asset. The capital gains tax rate will vary by taxpayer based on the holding period of the asset, the taxpayer's income level, and the nature of the asset that was sold.

At what age do you not pay capital gains? ›

Capital Gains Tax for People Over 65. For individuals over 65, capital gains tax applies at 0% for long-term gains on assets held over a year and 15% for short-term gains under a year. Despite age, the IRS determines tax based on asset sale profits, with no special breaks for those 65 and older.

What expenses can I offset against capital gains tax? ›

Incidental costs of acquisition
  • Estate agents's commission - where there is a property sale.
  • Legal costs.
  • Costs of transfer - e.g. stamp duty land tax.

What excludes you from paying capital gains tax? ›

When does capital gains tax not apply? If you have lived in a home as your primary residence for two out of the five years preceding the home's sale, the IRS lets you exempt $250,000 in profit, or $500,000 if married and filing jointly, from capital gains taxes.

How to avoid capital gains when selling a house? ›

Yes. Home sales can be tax free as long as the condition of the sale meets certain criteria: The seller must have owned the home and used it as their principal residence for two out of the last five years (up to the date of closing). The two years do not have to be consecutive to qualify.

What is the 2 of 5 rule for capital gains? ›

When selling a primary residence property, capital gains from the sale can be deducted from the seller's owed taxes if the seller has lived in the property themselves for at least 2 of the previous 5 years leading up to the sale. That is the 2-out-of-5-years rule, in short.

Do I have to pay capital gains tax immediately? ›

It is generally paid when your taxes are filed for the given tax year, not immediately upon selling an asset. Working with a financial advisor can help optimize your investment portfolio to minimize capital gains tax.

What income determines capital gains tax rate? ›

Long-term capital gains tax rate 2024
Capital gains tax rateSingle (taxable income)Married filing jointly (taxable income)
0%Up to $47,025Up to $94,050
15%$47,026 to $518,900$94,051 to $583,750
20%Over $518,900Over $583,750
Dec 21, 2023

What is the formula for capital gains? ›

Long-term capital gain = Final Sale Price – (indexed cost of acquisition + indexed cost of improvement + cost of transfer), where: Indexed cost of acquisition = cost of acquisition x cost inflation index of the year of transfer/cost inflation index of the year of acquisition.

How do you explain capital gains on a house? ›

Capital gains are the profits received when selling an asset, such as real estate, which can include your home, as well as commercial and rental property. Taxpayers pay capital gains tax based on the period of ownership and, when selling a personal residence, the length of time lived in the home.

What is the difference between capital gains and capital gains tax? ›

So, if you sell an asset for more than you paid for it, that's a capital gain. And if you sell it for less, that is considered a capital loss. Capital gains tax applies to capital gains made when you dispose of any asset, except for specific exemptions (the most common exemption being the family home).

How do I get zero capital gains tax? ›

A capital gains rate of 0% applies if your taxable income is less than or equal to:
  1. $44,625 for single and married filing separately;
  2. $89,250 for married filing jointly and qualifying surviving spouse; and.
  3. $59,750 for head of household.
Jan 30, 2024

How to reduce taxes on capital gains? ›

Long-term investing offers a significant advantage in minimizing capital gains taxes due to the favorable tax treatment for investments for longer durations. When investors hold assets for more than a year before selling, they qualify for long-term capital gains tax rates, typically lower than short-term rates.

How do I bypass capital gains? ›

The like-kind (aka "1031") exchange is a popular way to bypass capital gains taxes on investment property sales. With this transaction, you sell an investment property and buy another one of similar value. By doing so, you can defer owing capital gains taxes on the first property.

Is there a way to avoid capital gains tax on the selling of a house? ›

Is there a way to avoid capital gains tax on the selling of a house? You will avoid capital gains tax if your profit on the sale is less than $250,000 (for single filers) or $500,000 (if you're married and filing jointly), provided it has been your primary residence for at least two of the past five years.

Top Articles
Latest Posts
Article information

Author: Nathanael Baumbach

Last Updated:

Views: 6109

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Nathanael Baumbach

Birthday: 1998-12-02

Address: Apt. 829 751 Glover View, West Orlando, IN 22436

Phone: +901025288581

Job: Internal IT Coordinator

Hobby: Gunsmithing, Motor sports, Flying, Skiing, Hooping, Lego building, Ice skating

Introduction: My name is Nathanael Baumbach, I am a fantastic, nice, victorious, brave, healthy, cute, glorious person who loves writing and wants to share my knowledge and understanding with you.