Capital Gains Tax 101 (2024)

Long-Term Capital Gains Tax Rates for 2023
Filing Status0%15%20%
SingleUp to $44,625$44,626to $492,300Over $492,300
Head of householdUp to $59,750$59,751to $523,050Over $523,050
Married filing jointly or surviving spouseUp to $89,250$89,251 to $553,850Over $553,850
Married filing separatelyUp to $44,625$44,626to $276,900Over $276,900

Although marginal tax brackets have changed over the years, historically (as this chart from the Tax Policy Center shows), the maximum tax on ordinary income has almost always been significantly higher than the maximum rate on capital gains.

Capital Gains Tax 101 (1)

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.

Home Sale Exclusion

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. For married couples filing jointly, the exclusion is $500,000.

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.

If you manage to find great companies and hold their stock for the long term, you will pay the lowest capital gains tax rate. 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 2023?

Capital gains tax rates are the same in 2023 as they were in 2022: 0%, 15%, or 20%, depending on your income. The higher your income, the higher your rate. While the tax rates remain unchanged for 2023, the income required to qualify for each bracket goes up to adjust for inflation. The maximum zero-rate taxable income amount is $89,250 for married filing jointly and surviving spouses, $59,750 for heads of household, and $44,625 for 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

How do I calculate my capital gains tax? ›

Capital gain calculation in four steps
  1. Determine your basis. ...
  2. Determine your realized amount. ...
  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 are the rules for capital gains tax? ›

At the federal level, capital gains are taxed based on the several factors including the type of asset, how long you held the asset, and your overall income level. If you only held the investment for a year or less, then the short-term capital gains tax rates will apply.

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.

How do I avoid paying capital gains tax? ›

Use tax-advantaged accounts

Retirement accounts such as 401(k) plans, and individual retirement accounts offer tax-deferred investment. You don't pay income or capital gains taxes at all on the assets in the account. You'll just pay income taxes when you withdraw money from the account.

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 is the 6 year rule for capital gains tax? ›

Here's how it works: Taxpayers can claim a full capital gains tax exemption for their principal place of residence (PPOR). They also can claim this exemption for up to six years if they move out of their PPOR and then rent it out. There are some qualifying conditions for leaving your principal place of residence.

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.

How much capital gains is not taxable? ›

Long-term capital gains tax rates 2023
Capital gains tax rateSingle (taxable income)Married filing jointly (taxable income)
0%Up to $44,625Up to $89,250
15%$44,626 to $492,300$89,251 to $553,850
20%Over $492,300Over $553,850
Dec 21, 2023

What excludes you from paying capital gains tax? ›

This means that if you sell your home for a gain of less than $250,000 (or $500,000 if married, filing jointly), you will not be obligated to pay capital gains tax on that amount. However, there are certain criteria you must meet to qualify for the home sale exclusion.

How do capital gains work when selling a house? ›

In California, capital gains from the sale of a house are taxed by both the state and federal governments. The state tax rate varies from 1% to 13.3% based on your tax bracket. The federal tax rate depends on whether the gains are short-term (taxed as ordinary income) or long-term (based on the tax bracket).

What is an example of a capital gain? ›

For example, if you bought an asset (e.g. a share of stock) for $100 ten years ago, and it's worth $300 now and you sell it, your taxable capital gain would be $200 in the current year, and zero in the previous years.

Does selling stock count as income? ›

If you sell stocks for a profit, your earnings are known as capital gains and are subject to capital gains tax. Generally, any profit you make on the sale of an asset is taxable at either 0%, 15% or 20% if you held the shares for more than a year, or at your ordinary tax rate if you held the shares for a year or less.

How to reduce capital gains tax on sale of property? ›

You can avoid capital gains tax when you sell your primary residence by buying another house and using the 121 home sale exclusion. In addition, the 1031 like-kind exchange allows investors to defer taxes when they reinvest the proceeds from the sale of an investment property into another investment property.

Do you have to pay capital gains after age 70? ›

Whether you're 65 or 95, seniors must pay capital gains tax where it's due. This can be on the sale of real estate or other investments that have increased in value over their original purchase price, which is known as the “tax basis.”

Can I reinvest capital gains to avoid taxes? ›

Reinvest in new property

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 capital gains tax calculated on gross or net income? ›

Net capital gains are taxed at different rates depending on overall taxable income, although some or all net capital gain may be taxed at 0%. For taxable years beginning in 2023, the tax rate on most net capital gain is no higher than 15% for most individuals.

Is there a way to avoid capital gains tax on the selling of 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.

Do capital gains count as income when calculating capital gains tax? ›

Capital gains are generally included in taxable income, but in most cases, are taxed at a lower rate. A capital gain is realized when a capital asset is sold or exchanged at a price higher than its basis. Basis is an asset's purchase price, plus commissions and the cost of improvements less depreciation.

Top Articles
Latest Posts
Article information

Author: Geoffrey Lueilwitz

Last Updated:

Views: 6089

Rating: 5 / 5 (80 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Geoffrey Lueilwitz

Birthday: 1997-03-23

Address: 74183 Thomas Course, Port Micheal, OK 55446-1529

Phone: +13408645881558

Job: Global Representative

Hobby: Sailing, Vehicle restoration, Rowing, Ghost hunting, Scrapbooking, Rugby, Board sports

Introduction: My name is Geoffrey Lueilwitz, I am a zealous, encouraging, sparkling, enchanting, graceful, faithful, nice person who loves writing and wants to share my knowledge and understanding with you.