How to calculate capital gains tax?
Check out the Public.com capital gains calculator to quickly figure out how much you’ll owe off your short- and long-term profits.
Our calculator is available to you, regardless of whether you participate in commission-free trading on Public. We’ll simply ask a few questions, such as:
- What’s the value of your purchase (AKA your cost basis),
- the sale value,
- length of ownership,
- state of residence,
- tax year,
- tax filing status,
- and your taxable income?
Quick Tip: To get a more accurate estimate, use the calculator for all of your short-term gains and then again for all of your long-term gains.
Did you know? Calculating capital gains can be done manually, too. To calculate how much you owe for capital gains on any given asset, you need to collect three pieces of information:
- The length of time for each asset held, which helps you determine whether they are short-term or long-term capital gains
- The net capital gain for each type of gain (long- or short-term), which is the difference between your capital losses and capital gains
- Your ordinary income tax rate, which depends on how much you made for the year, will affect the rate at which your short-term capital gains are taxed.
Example of calculating federal capital gains tax
Learn how federal capital gains tax is applied with these simple examples, making it easier to understand what you might owe when selling investments.
Scenario 1: Long-term capital gains tax
Imagine you bought an investment for $2,000 and held it for five years. After selling it for $5,000, your capital gain is the difference:
$5,000 (sale price) – $2,000 (purchase price) = $3,000 (capital gain).
Since you held the investment for more than a year, it qualifies as a long-term capital gain. Long-term gains are taxed at favorable rates of 0%, 15%, or 20%, depending on your income. At the highest bracket, you’d owe up to $600 in taxes on the $3,000 gain.
Scenario 2: Short-term capital gains tax
Now, let’s say you sold the same investment after holding it for less than a year. This would be classified as a short-term capital gain. Short-term gains are taxed at your ordinary income tax rate, which can range from 0% to 35%. At the highest bracket, you’d owe up to $1,050 in taxes on the $3,000 gain.
Holding investments for over a year can significantly lower your tax bill due to the reduced tax rates on long-term capital gains.
Strategies to manage capital gains taxes
Here’s how you can minimize your tax burden:
- Hold investments for more than a year: Long-term investments often lead to significant tax savings compared to short-term trades.
- Harvest tax losses: If you have investments that lost value, you can sell them to offset your gains. This is known as tax-loss harvesting.
- Contribute to tax-advantaged accounts: Using accounts like IRAs or 401(k)s can help you defer or avoid capital gains taxes.
- Watch out for the wash-sale rule: If you sell a stock at a loss and repurchase it within 30 days, the IRS disallows the loss deduction.
The bottom line
Understanding capital gains taxes is an important part of making informed investment decisions and keeping more of your returns. Public.com offers tools and resources to help you stay on top of your investments and manage your tax obligations. Whether you’re trading stocks, ETFs, or crypto, Public makes it easier to track your investments and stay organized.
It takes just two minutes to join Public and start investing with confidence. Transfer your existing portfolio or build a new one with tools designed to support your financial goals. Start your journey with Public today and take charge of your financial future.
Frequently asked questions
1. How much do states tax capital gains?
Most states tax capital gains at rates ranging from 2.9% to 13.3%, in addition to the federal capital gains tax rate.
2. Are there any states that don’t tax capital gains?
Yes, nine states do not have state capital gains taxes: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, Washington, and Wyoming.
3. What is the tax difference between short-term and long-term gains?
The difference between short-term and long-term capital gains lies in the tax rate investors must pay. Short-term capital gains are taxed at 1037% while long-term capital gains are taxed at 020%.
4. What is the maximum capital gains rate?
The maximum federal capital gains tax rate is 37%.
5. When do you have to pay taxes on your stock market profits?
Tax filers must pay stock market profits when they file their taxes.
6. What are the benefits to investing long-term?
Investing long-term with capital gains in mind may lower your tax burden on sale of an asset.
7. How can I minimize capital gains taxes?
Minimize capital gains taxes by holding investments for more than a year before selling. This brings you from higher short-term capital gains to lower long-term capital gains. Talk to a tax professional for tailored advice.
8. When do you need to pay capital gains taxes?
You pay capital gains taxes only when you sell an asset, not while holding it. Report gains on Schedule D when filing taxes, and use losses to offset gains if applicable.