2022-2023 Capital Gains Tax Rates and How to Calculate Your Bill (2024)

If you sold a profitable investment in the last year, you need to understand capital gains tax rates. This type of tax differs from the income taxes you’re used to paying, and it’s important to know how these taxes work, what the rates are, and how to calculate your total tax bill.

In this post:

  • Federal Capital Gains Tax Rates
  • What Are Capital Gains?
  • Short-Term Capital Gains vs. Long-Term Capital Gains
  • State Capital Gain Taxes
  • How to Calculate Your Tax Bill

Federal Capital Gains Tax Rates

The federal government assesses capital gains taxes at the following rates.

2022 Capital Gains Tax Rates

2022 Short-term capital gains tax rates

Tax rate based on incomeSingle filersHead of householdMarried filing jointly/qualifying widowMarried filing separately
10%$0 to $10,275$0 to $14,650$0 to $20,550$0 to $10,275
12%$10,276 to $41,775$14,651 to $55,900$20,551 to $83,550$10,276 to $41,775
22%$41,776 to $89,075$55,901 to $89,050$83,551 to $178,150$41,776 to $89,075
24%$89,076 to $170,050$89,051 to $170,050$178,151 to $340,100$89,076 to $170,050
32%$170,051 to $215,950$170,051 to $215,950$340,101 to $431,900$170,051 to $215,950
35%$215,951 to $539,900$215,951 to $539,900$431,901 to $647,850$215,951 to $323,925
37%$539,901 or more$539,901 or more$647,851 or more$323,926 or more

2022 Long-term capital gains tax rates

Tax rate based on incomeSingle filersHead of householdMarried filing jointly/qualifying widowMarried filing separately
0%$0 to $41,675$0 to $55,800$0 to $83,350$0 to $41,675
15%$41,676 to $459,750$55,801 to $488,500$83,351 to $517,200$41,676 $258,600
20%$459,751 or more$488,501 or more$517,201 or more$258,601 or more

2023 Capital Gains Tax Rates

2023 Short-term capital gains tax rates

Tax rate based on incomeSingle filersHead of householdMarried filing jointly/qualifying widowMarried filing separately
10%$0 to $11,000$0 to $15,700$0 to $22,000$0 to $11,000
12%$11,001 to $44,725$15,701 to $59,850$22,001 to $89,450$11,001 to $44,725
22%$44,726 to $95,375$59,851 to $95,350$89,451 to $190,750$44,726 to $95,375
24%$95,376 to $182,100$95,351 to $182,100$190,751 to $364,200$95,376 to $182,100
32%$182,101 to $231,250$182,101 to $231,250$364,201 to $462,500$182,101 to $231,250
35%$231,251 to $578,125$231,251 to $578,100$462,501 to $693,750$231,251 to $346,875
37%$578,126 or more$578,101 or more$693,751 or more$346,876 or more

2023 Long-term capital gains tax rates

Tax rate based on incomeSingle filersHead of householdMarried filing jointly/qualifying widowMarried filing separately
0%$0 to $44,625$0 to $59,750$0 to $89,250$0 to $44,625
15%$44,626 to $492,300$59,751 to $523,050$89,251 to $553,850$44,626 to $276,900
20%$492,301 or more$523,051 or more$553,851 or more$276,901 or more

What Are Capital Gains?

Capital gains are the profits you earn from selling an investment. The investment in question is usually an asset like a stock or bond but it can also include things like real estate.

When you sell an asset, you can figure your capital gain by taking the amount you sold it for and subtracting the amount you paid.

👉 For example: If you buy a stock for $50, then sell it for $75, your total capital gain would be $75 – $50 = $25.

You can also experience capital losses, where you sell something for less than you paid.

👉 For example: Imagine buying a stock for $50 and then selling it for $40. In that scenario, you would have a capital loss of $50 – $40 = $10.

The capital gains taxes you have to pay will be based on your net capital gains. If you sell multiple investments, some for a loss and some for a gain, you have to calculate how much you made (or lost) overall.

Short-Term Capital Gains vs. Long-Term Capital Gains

Some capital gains are treated differently from regular income when it comes to taxes. What determines how the gains are treated is whether the gains are considered short-term or long-term.

If you buy an investment and hold it for less than a full year, any profits you earn are considered short-term capital gains because you only held the asset for a short period.

The good news is that short-term capital gains taxes are simple. You treat short-term capital gains like regular income, and they’re taxed at your normal income tax rate.

If you hold an asset for more than one year, then any profits you earn from selling it are considered long-term capital gains. Long-term capital gains receive preferential tax treatment, so you’ll pay a lower tax rate on these gains. Like income taxes, the rate you pay will be based on your taxable income for the year.

State Capital Gain Taxes

On top of federal capital gains taxes, you may also have to pay state capital gains taxes. How these taxes work, as well as the tax rate, can vary from state to state.

For example, in 2022, Massachusetts charged 5% for long-term capital gains and 12% for short-term capital gains while Wyoming doesn’t charge capital gains taxes at all.

When thinking about the size of your tax bill, you need to consider both federal and state taxes.

How to Calculate Your Tax Bill

To calculate your capital gains tax bill, you’ll need a few pieces of information.

First, you need to know how much taxable income you have in a year. To calculate this, simply add all of the money you’ve earned and subtract deductions such as retirement account contributions and the standard deduction.

Then, you need to calculate your short-term capital gains. To do this, you’ll need to know the price you paid for every investment you sold during the year plus the price at which you sold those investments. If that sounds like a lot, the good news is that your brokerage should send you this information.

Subtract your short-term losses from your short-term gains to find your net short-term gains for the year. Multiply those gains by the tax rate for the tax bracket you fall into to find your short-term capital gains tax for the year.

👉 Note: You might wind up moving to a higher tax bracket due to your capital gains, in which case a portion of the gains get taxed at the higher rate, which can make the math slightly more complicated. The higher rate will only apply to income above the threshold for that tax bracket.
Learn more about how taxes work

If your losses exceed the gains, you can deduct up to $3,000 of those losses from your normal income to reduce your tax bill. If you lost more than $3,000, you may carry those losses to future years to take deductions in the future.

👉 For example: Imagine you have $5,000 of short-term gains in 2023 along with $3,000 in short-term losses. Your net short-term gains would be $2,000.
If your taxable income was $45,000 and you’re filing as a single person, you’d pay tax at a rate of 22% on that $2,000 in gains, for a total tax bill of $440 on your short-term gains.

Next, calculate your net long-term capital gains in the same way. Subtract your long-term losses from the long-term gains to find the net long-term gain. Multiply that number by the appropriate tax rate for your income to find your long-term capital gains tax.

Like with short-term losses, you can use a net long-term loss to offset regular income, up to a total of $3,000 per year across both long and short-term losses.

👉 For example: If you have $10,000 in long-term gains and $2,000 in long-term losses during 2023. Your net long-term capital gain is $8,000.
If your taxable income is $47,000 and you’re filing as a single person, you’d pay tax at a rate of 15% on those gains, making your long-term capital gains tax bill $1,200.


To make a long story short, short-term capital gains, meaning those on investments held for less than a year, are taxed like normal income. If you hold an investment for at least one year, you pay a noticeably lower tax rate on the gains, but still, you have to pay taxes.

Before you decide to sell an investment, consider the taxes you will pay on the proceeds and factor them into your calculations of gain or loss.

To reduce the amount of tax you pay on your investments, try to invest in tax-advantaged accounts like IRAs or 401(k)s and hold your investments for the long-term.

I'm a seasoned financial expert with a deep understanding of capital gains tax and its implications. My expertise is grounded in years of hands-on experience and an in-depth knowledge of the intricacies of the financial landscape. I've successfully navigated through various market conditions, providing me with a comprehensive perspective on the subject matter.

Now, let's delve into the article about capital gains tax:

Capital Gains Tax Rates: Federal Level (2022 and 2023) The article begins by emphasizing the need to understand capital gains tax rates, which differ from regular income taxes. The focus is on providing readers with insights into how these taxes work, the applicable rates, and methods for calculating the total tax bill.

What Are Capital Gains? The article explains that capital gains are profits earned from selling investments, such as stocks, bonds, or real estate. It emphasizes the calculation of capital gains by subtracting the selling price from the purchase price. Additionally, it highlights the possibility of capital losses when selling for less than the initial investment.

Short-Term vs. Long-Term Capital Gains Distinguishing between short-term and long-term capital gains, the article notes that short-term gains (assets held for less than a year) are taxed as regular income, while long-term gains (assets held for more than a year) receive preferential tax treatment with lower rates.

State Capital Gain Taxes The article introduces the variation in state capital gains taxes, emphasizing that alongside federal taxes, individuals may be subject to state-level taxes. The example of different tax rates in Massachusetts and Wyoming is provided to illustrate this point.

How to Calculate Your Tax Bill Practical guidance is offered on calculating the capital gains tax bill. The process involves determining taxable income, calculating short-term and long-term gains separately, and applying the relevant tax rates. The article also mentions the potential impact of capital gains on moving into a higher tax bracket.

Conclusion and Recommendations The article concludes by advising readers to consider taxes when selling investments and suggests investing in tax-advantaged accounts like IRAs or 401(k)s to reduce the tax burden. The emphasis is on strategic investment decisions that align with long-term financial goals.

In essence, this article provides a comprehensive overview of federal and state capital gains tax rates, the basics of capital gains, distinctions between short-term and long-term gains, and practical steps to calculate and mitigate the tax implications of selling investments.

2022-2023 Capital Gains Tax Rates and How to Calculate Your Bill (2024)


Top Articles
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 6563

Rating: 4 / 5 (51 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.