Capital Gains Tax on Stocks in 2026: How to Calculate What You Owe Before Selling

Selling stocks at a profit can be an exciting milestone for investors, but the amount you earn is not always the amount you keep. Depending on your income, how long you owned the shares, and your overall tax situation, selling an investment may create a federal capital gains tax liability.

Understanding capital gains tax before selling stocks can help you estimate your potential tax bill, compare different selling strategies, and avoid surprises when filing your tax return. It can also help you distinguish between a profitable investment and the actual after-tax amount available for your next financial goal.

In the United States, capital gains generally arise when you sell an investment for more than its adjusted cost basis. The federal tax treatment depends partly on whether the gain is short-term or long-term. For 2026, most long-term capital gains for individual taxpayers fall under the 0%, 15%, or 20% federal rate structure, while short-term gains are generally taxed at ordinary income tax rates. Special rules may apply to certain assets and taxpayers. The IRS explains these rules in its capital gains guidance.

This guide explains how capital gains tax works in 2026, how to estimate your taxable profit, what capital losses can do for your tax bill, and which mistakes investors should avoid before selling stocks.

Stocks

What Is Capital Gains Tax?

Capital gains tax is the tax that may apply when you sell an asset for more than its adjusted cost basis. Capital assets can include stocks, bonds, mutual funds, exchange-traded funds, investment property, and other investments.

For example, suppose you purchase shares for $4,000 and later sell them for $6,500. If your adjusted cost basis is $4,000 and there are no other adjustments, your capital gain is $2,500 before accounting for applicable selling costs or other tax considerations.

You generally do not realize a capital gain merely because the market value of a stock increases while you continue to own it. If your shares rise from $4,000 to $6,500 but you have not sold them, the increase is typically an unrealized gain. Selling the shares generally realizes the gain for tax purposes.

The distinction matters because investors can experience changes in portfolio value without immediately creating a capital gains tax liability from those price movements alone.

However, other investment events, such as certain fund distributions, can create taxable income even if you do not sell your shares. Your brokerage account's performance is therefore not always a complete picture of your annual tax obligations.

Capital gains tax also does not necessarily apply to the entire amount received from a sale. The taxable gain is generally based on the difference between the amount realized and the adjusted basis, subject to applicable rules.

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

One of the most important factors affecting your capital gains tax is how long you held the investment before selling it.

The IRS generally classifies a capital gain as short-term when you held the asset for one year or less. A gain is generally long-term when you held the asset for more than one year. The holding-period calculation has specific rules, so investors should verify acquisition and sale dates rather than relying on a rough estimate. <Cite refs={["turn872039search0","turn872039search4"]}/>

Short-Term Capital Gains

Short-term capital gains are generally taxed at the same graduated federal income tax rates that apply to ordinary income.

For example, if you purchase a stock and sell it several months later for a profit, the gain will generally be short-term. The tax rate that applies depends on your taxable income, filing status, and other relevant details.

Short-term gains can therefore be more expensive from a tax perspective than comparable long-term gains. However, the difference is not identical for every taxpayer because ordinary income tax brackets and long-term capital gains thresholds vary with income and filing status.

Investors should not assume that every short-term gain is taxed at the highest ordinary income rate. Federal income tax is progressive, so different portions of taxable income can be taxed at different rates.

Long-Term Capital Gains

Long-term capital gains may qualify for preferential federal tax rates.

For most individual taxpayers, the main federal long-term capital gains rates are 0%, 15%, and 20%. Which rate applies depends on taxable income, filing status, and the amount of eligible net capital gain.

For tax year 2026, the IRS's inflation-adjusted thresholds include the following maximum taxable-income amounts for the 0% long-term capital gains rate:

Filing status

Maximum taxable income for the 0% rate

Single or other individual filer

$49,450

Married filing jointly

$98,900

Married filing separately

$49,450

Head of household

$66,200

These figures are based on the IRS's 2026 inflation adjustments. They are taxable-income thresholds, not gross-income limits. Other income and deductions can affect whether you qualify. <Cite refs={["turn795688search3","turn795688search22"]}/>

The 15% rate generally applies to qualifying long-term gains above the 0% threshold and within the applicable income range. The 20% rate applies to the portion of eligible gains that exceeds the relevant upper threshold.

Special rules can apply to collectibles, certain real-estate gains, qualified small-business stock, and other specific situations. Higher-income taxpayers may also be subject to the Net Investment Income Tax.

The important lesson is that holding a stock for more than one year may provide a tax advantage, but it does not automatically make the gain tax-free.

How to Calculate Capital Gains Tax on Stocks

Calculating a potential capital gains tax bill starts with determining your gain, identifying the holding period, and estimating which tax rules apply.

A basic calculation follows this structure:

Capital gain = Amount realized from sale − Adjusted cost basis

The amount realized is generally the proceeds from the sale after applicable transaction costs. Adjusted cost basis starts with what you paid for the investment and may be modified by certain adjustments.

Consider a simplified example.

You purchase stock for $5,000 and later sell it for $7,000. Assume the adjusted cost basis remains $5,000 and there are no selling costs.

  • Sale proceeds: $7,000
  • Adjusted cost basis: $5,000
  • Capital gain: $2,000

If the gain is long-term and you qualify for a 15% federal capital gains rate on the entire gain, a simplified estimate would be:

[
$2,000 \times 0.15 = $300
]

Your estimated federal tax on that gain would be $300 under those assumptions.

This is an illustration, not a personalized tax calculation. The actual tax may differ because your gain could fall across multiple rate thresholds, your capital losses may offset gains, or additional taxes and special rules may apply. State and local taxes may also affect the final amount.

For a more reliable estimate, review your entire tax situation rather than multiplying every investment gain by a single assumed percentage.

Capital Gains Tax Calculator: What Information Do You Need?

A capital gains tax calculator can help you estimate the potential tax consequences of selling stocks. A useful calculator should ask for enough information to distinguish between the investment's profit and the amount that may be taxable.

The following details are particularly useful.

1. Purchase Price

Enter the original amount paid for the shares. If you purchased the investment in several transactions, each group of shares may have a different cost basis.

For example, you might buy 10 shares at $50 each and another 10 shares at $65 each. Those purchases have different per-share costs, even though they involve the same stock.

2. Sale Price

Enter the proceeds you expect to receive from selling the shares. If you plan to sell only part of your position, use the proceeds for the shares being sold rather than the total market value of your entire holding.

3. Selling Costs

Applicable commissions and transaction costs may affect the amount realized from a sale. Include relevant costs when estimating your gain, using the tax rules that apply to your transaction.

4. Purchase and Sale Dates

The dates help determine whether the gain is short-term or long-term. A small difference in the holding period can affect which tax treatment applies.

Do not assume that a calendar-year difference automatically makes a gain long-term. Verify the exact dates and applicable holding-period rules.

5. Filing Status and Taxable Income

For a more useful estimate, the calculator should account for your filing status and expected taxable income. Long-term capital gains thresholds depend on these factors.

The calculator may also need information about other capital gains and losses, deductions, and potentially applicable investment taxes.

6. State of Residence

Federal tax is only part of the picture. Some states tax capital gains as ordinary income, while others have different rules or no individual income tax. Local tax treatment can also vary.

A calculator that estimates federal tax alone should clearly identify that limitation.

A good capital gains tax calculator should present an estimate rather than promise an exact final liability. Your filed tax return remains the definitive calculation, subject to applicable law and any later adjustments.

Example: Estimating Tax on a $10,000 Stock Profit

Suppose you sell shares and realize a $10,000 long-term capital gain. For illustration, assume the entire gain is subject to a single applicable federal capital gains rate.

Assumed federal rate

Estimated tax on $10,000

Gain after estimated federal tax

0%

$0

$10,000

15%

$1,500

$8,500

20%

$2,000

$8,000

These figures show how different rates can affect the amount retained from an investment sale.

They do not establish which rate applies to you. Your actual tax calculation depends on your taxable income, filing status, eligible net capital gains, and other factors. Some gains may be taxed at different rates, and additional taxes or state taxes may apply.

The table also excludes any brokerage costs and assumes no offsetting capital losses.

Before selling a profitable investment, consider estimating the potential tax liability alongside the amount you expect to receive. This can help you decide how much of the proceeds to reserve for taxes and how much may be available for other financial goals.

How Capital Losses Can Reduce Your Tax Bill

Not every investment produces a profit. If you sell an investment for less than its adjusted cost basis, you may realize a capital loss.

Capital losses can affect the tax treatment of capital gains. In general, capital gains and losses are netted under IRS rules, with distinctions between short-term and long-term amounts.

For example, suppose you realize a $4,000 capital gain from one investment and a $1,500 capital loss from another. If the applicable netting rules allow the loss to offset that gain, your net capital gain could be reduced to $2,500.

The exact calculation depends on the character of the gains and losses and any applicable carryovers.

Can Capital Losses Offset Ordinary Income?

If your allowable capital losses exceed your capital gains, you may generally deduct up to $3,000 of the excess loss against other income in a tax year, or $1,500 if you are married filing separately. Unused losses may generally be carried forward to future tax years, subject to the applicable rules. <Cite refs={["turn872039search0","turn872039search1"]}/>

This rule can be valuable for investors who experience losses, but it does not mean every investment loss produces an immediate deduction of the full amount.

Losses from personal-use property are generally not deductible. Securities transactions also have reporting requirements, and certain transactions can restrict the loss you are allowed to claim.

Understand the Wash-Sale Rule

Investors should be careful when selling stock at a loss and purchasing the same or a substantially identical security around the same time.

Under the federal wash-sale rule, a loss may be disallowed when you sell stock or securities at a loss and acquire substantially identical securities within the 30 days before or after the sale. Special rules can apply to related accounts and other circumstances.

A wash sale does not necessarily mean the economic loss disappears, but it can affect when the loss is recognized for tax purposes. Investors should review IRS guidance and maintain accurate records before trying to use investment losses to reduce taxes.

Do You Owe Capital Gains Tax If You Do Not Sell Your Stocks?

In general, an increase in a stock's market value does not create a capital gain from a sale until you dispose of the investment in a taxable transaction.

Suppose you purchase shares for $3,000 and their value rises to $5,000. If you continue holding them, the $2,000 increase is generally an unrealized gain.

If you later sell the shares for $5,000, the gain is generally realized at that point, subject to the applicable rules.

However, this principle does not mean that all investment income is tax-free until an asset is sold. Dividends, mutual fund capital gain distributions, interest, and certain other investment-related amounts can be taxable even if you do not sell your shares.

The type of account also matters. Selling investments inside a tax-advantaged retirement account may have different immediate tax consequences from selling the same investment in a regular taxable brokerage account. The rules depend on the account type and transaction.

Before making decisions based on tax timing, identify whether the investment is held in a taxable account, an individual retirement account, an employer-sponsored retirement plan, or another arrangement.

Should You Hold Stocks for More Than One Year to Save on Taxes?

Holding an investment for more than one year may allow qualifying gains to receive long-term capital gains treatment rather than short-term treatment. That can reduce the federal tax rate on the gain for many investors.

However, tax savings should not be the only factor in deciding when to sell.

A stock can lose value while you wait. Your financial goals, need for cash, portfolio concentration, risk tolerance, and investment outlook may matter more than the potential tax difference.

Consider a simplified scenario: you own a stock that has increased substantially, but the investment now represents a large portion of your portfolio. Waiting a few more weeks to cross the long-term holding threshold might offer a potential tax benefit. Yet the stock could decline significantly during that period.

There is no universal answer that makes waiting the correct choice for every investor. Compare the potential tax savings with the market risk and your financial needs.

You should also verify the exact holding period before making a decision. If you are close to the one-year mark, consult your brokerage records and applicable IRS rules rather than relying on an approximate purchase date.

How Selling Stocks Can Affect Your Overall Tax Return

Capital gains do not exist in isolation from the rest of your tax return. Your investment sales can affect taxable income, eligibility for certain tax benefits, and potentially the taxes that apply to other income.

Your Taxable Income Matters

Long-term capital gains rates depend on your overall taxable income and filing status. A large gain may push part of your income into a different capital gains rate range.

This does not mean that every dollar of your gain is necessarily taxed at the highest rate that applies. Different portions of qualifying long-term gains can be subject to different rates.

A calculation that ignores your other income may therefore produce a misleading estimate.

The Net Investment Income Tax May Apply

Some higher-income taxpayers may owe the 3.8% Net Investment Income Tax, commonly called NIIT, in addition to other applicable taxes.

The NIIT generally applies to the lesser of net investment income or the amount by which modified adjusted gross income exceeds the applicable statutory threshold. Those thresholds depend on filing status and are not adjusted annually for inflation in the same way as many other tax figures.

Not every investor who sells stocks owes this additional tax. Whether it applies depends on your income and the nature and amount of your investment income.

If your income is near or above the relevant threshold, include this possibility when estimating the tax consequences of a sale.

State Taxes May Increase the Cost

Your state of residence can affect how much tax you owe on investment gains. Some states generally include capital gains in taxable income, while others have different approaches.

A federal capital gains calculator may not account for state tax. If you want to estimate the amount you will actually retain, check your state's current rules as well.

Tax Planning Before Selling Stocks

A little preparation before selling can make it easier to understand your potential tax bill and organize the proceeds.

Review your cost basis. Confirm what you paid for the shares and check for adjustments, including any relevant corporate actions or reinvested distributions.

Check your holding period. Determine whether the shares qualify for short-term or long-term treatment. Keep records of acquisition and sale dates.

Estimate your full-year income. Include wages, self-employment earnings, interest, dividends, and other relevant income sources. Your overall taxable income can affect the rate applied to capital gains.

Review other gains and losses. Capital losses and carryforwards may affect your net capital gain. Make sure your records distinguish between short-term and long-term transactions.

Account for transaction costs. Use the appropriate sale proceeds and cost basis rather than assuming the entire cash received is taxable profit.

Consider taxes beyond the federal capital gains rate. State taxes and the Net Investment Income Tax may apply in some circumstances.

Keep enough cash available. If you expect to owe tax, consider reserving an appropriate amount of the sale proceeds. This can help prevent a tax payment from disrupting your budget.

Avoid trading solely for a tax benefit. A potential deduction or lower rate should not automatically outweigh investment risk, transaction costs, or your long-term financial objectives.

If you have a large gain, complex investment holdings, or significant income from multiple sources, consider consulting a qualified tax professional before making a major transaction.

What Records Should You Keep After Selling Stocks?

Accurate records help you calculate gains and losses and support the figures reported on your tax return.

Keep your brokerage statements, trade confirmations, purchase dates, sale dates, cost-basis information, and documentation of applicable transaction costs. If you received stock through a gift, inheritance, employee compensation, or another special arrangement, additional basis rules may apply.

Your broker may provide Form 1099-B or other tax documents showing proceeds and, for certain covered securities, cost-basis information. However, you should not assume that every transaction's basis is automatically complete or correct.

Compare the tax documents with your own records, particularly if you transferred investments between brokers, acquired shares long ago, reinvested dividends, or participated in a corporate action.

Stock sales are generally reported using Form 8949 and Schedule D when required. The precise reporting depends on the transaction and your circumstances. Follow the current IRS instructions for the applicable tax year.

Good recordkeeping can help you avoid reporting errors and make it easier to calculate your net capital gain or loss accurately.

Conclusions

Capital gains tax is an important part of investment planning because the profit from selling stocks is not always the amount you ultimately keep. Your tax treatment depends on your adjusted cost basis, holding period, taxable income, filing status, and any applicable deductions, losses, or additional taxes.

For 2026, most qualifying long-term capital gains for individual taxpayers fall under federal rates of 0%, 15%, or 20%, while short-term gains are generally taxed at ordinary income rates. The correct rate depends on your specific situation, and state taxes or the Net Investment Income Tax may increase your overall liability.

Before selling shares, calculate your estimated gain, confirm how long you have held the investment, review any capital losses, and consider your full-year income. A capital gains tax calculator can provide a useful starting point, but it should not replace accurate records or a complete tax assessment.

Ultimately, good tax planning is about more than minimizing taxes. It means understanding the after-tax result of an investment decision, maintaining appropriate cash reserves, and making choices that support your broader financial goals.

Selling stocks at a profit can be an exciting milestone for investors, but the amount you earn is not always the amount you keep. Depending on your income, how long you owned the shares, and your overall tax situation, selling an investment may create a federal capital gains tax liability.

Understanding capital gains tax before selling stocks can help you estimate your potential tax bill, compare different selling strategies, and avoid surprises when filing your tax return. It can also help you distinguish between a profitable investment and the actual after-tax amount available for your next financial goal.

In the United States, capital gains generally arise when you sell an investment for more than its adjusted cost basis. The federal tax treatment depends partly on whether the gain is short-term or long-term. For 2026, most long-term capital gains for individual taxpayers fall under the 0%, 15%, or 20% federal rate structure, while short-term gains are generally taxed at ordinary income tax rates. Special rules may apply to certain assets and taxpayers. The IRS explains these rules in its capital gains guidance.

This guide explains how capital gains tax works in 2026, how to estimate your taxable profit, what capital losses can do for your tax bill, and which mistakes investors should avoid before selling stocks.

What Is Capital Gains Tax?

Capital gains tax is the tax that may apply when you sell an asset for more than its adjusted cost basis. Capital assets can include stocks, bonds, mutual funds, exchange-traded funds, investment property, and other investments.

For example, suppose you purchase shares for $4,000 and later sell them for $6,500. If your adjusted cost basis is $4,000 and there are no other adjustments, your capital gain is $2,500 before accounting for applicable selling costs or other tax considerations.

You generally do not realize a capital gain merely because the market value of a stock increases while you continue to own it. If your shares rise from $4,000 to $6,500 but you have not sold them, the increase is typically an unrealized gain. Selling the shares generally realizes the gain for tax purposes.

The distinction matters because investors can experience changes in portfolio value without immediately creating a capital gains tax liability from those price movements alone.

However, other investment events, such as certain fund distributions, can create taxable income even if you do not sell your shares. Your brokerage account's performance is therefore not always a complete picture of your annual tax obligations.

Capital gains tax also does not necessarily apply to the entire amount received from a sale. The taxable gain is generally based on the difference between the amount realized and the adjusted basis, subject to applicable rules.

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

One of the most important factors affecting your capital gains tax is how long you held the investment before selling it.

The IRS generally classifies a capital gain as short-term when you held the asset for one year or less. A gain is generally long-term when you held the asset for more than one year. The holding-period calculation has specific rules, so investors should verify acquisition and sale dates rather than relying on a rough estimate. <Cite refs={["turn872039search0","turn872039search4"]}/>

Short-Term Capital Gains

Short-term capital gains are generally taxed at the same graduated federal income tax rates that apply to ordinary income.

For example, if you purchase a stock and sell it several months later for a profit, the gain will generally be short-term. The tax rate that applies depends on your taxable income, filing status, and other relevant details.

Short-term gains can therefore be more expensive from a tax perspective than comparable long-term gains. However, the difference is not identical for every taxpayer because ordinary income tax brackets and long-term capital gains thresholds vary with income and filing status.

Investors should not assume that every short-term gain is taxed at the highest ordinary income rate. Federal income tax is progressive, so different portions of taxable income can be taxed at different rates.

Long-Term Capital Gains

Long-term capital gains may qualify for preferential federal tax rates.

For most individual taxpayers, the main federal long-term capital gains rates are 0%, 15%, and 20%. Which rate applies depends on taxable income, filing status, and the amount of eligible net capital gain.

For tax year 2026, the IRS's inflation-adjusted thresholds include the following maximum taxable-income amounts for the 0% long-term capital gains rate:

Filing status

Maximum taxable income for the 0% rate

Single or other individual filer

$49,450

Married filing jointly

$98,900

Married filing separately

$49,450

Head of household

$66,200

These figures are based on the IRS's 2026 inflation adjustments. They are taxable-income thresholds, not gross-income limits. Other income and deductions can affect whether you qualify. <Cite refs={["turn795688search3","turn795688search22"]}/>

The 15% rate generally applies to qualifying long-term gains above the 0% threshold and within the applicable income range. The 20% rate applies to the portion of eligible gains that exceeds the relevant upper threshold.

Special rules can apply to collectibles, certain real-estate gains, qualified small-business stock, and other specific situations. Higher-income taxpayers may also be subject to the Net Investment Income Tax.

The important lesson is that holding a stock for more than one year may provide a tax advantage, but it does not automatically make the gain tax-free.

How to Calculate Capital Gains Tax on Stocks

Calculating a potential capital gains tax bill starts with determining your gain, identifying the holding period, and estimating which tax rules apply.

A basic calculation follows this structure:

Capital gain = Amount realized from sale − Adjusted cost basis

The amount realized is generally the proceeds from the sale after applicable transaction costs. Adjusted cost basis starts with what you paid for the investment and may be modified by certain adjustments.

Consider a simplified example.

You purchase stock for $5,000 and later sell it for $7,000. Assume the adjusted cost basis remains $5,000 and there are no selling costs.

  • Sale proceeds: $7,000
  • Adjusted cost basis: $5,000
  • Capital gain: $2,000

If the gain is long-term and you qualify for a 15% federal capital gains rate on the entire gain, a simplified estimate would be:

[
$2,000 \times 0.15 = $300
]

Your estimated federal tax on that gain would be $300 under those assumptions.

This is an illustration, not a personalized tax calculation. The actual tax may differ because your gain could fall across multiple rate thresholds, your capital losses may offset gains, or additional taxes and special rules may apply. State and local taxes may also affect the final amount.

For a more reliable estimate, review your entire tax situation rather than multiplying every investment gain by a single assumed percentage.

Capital Gains Tax Calculator: What Information Do You Need?

A capital gains tax calculator can help you estimate the potential tax consequences of selling stocks. A useful calculator should ask for enough information to distinguish between the investment's profit and the amount that may be taxable.

The following details are particularly useful.

1. Purchase Price

Enter the original amount paid for the shares. If you purchased the investment in several transactions, each group of shares may have a different cost basis.

For example, you might buy 10 shares at $50 each and another 10 shares at $65 each. Those purchases have different per-share costs, even though they involve the same stock.

2. Sale Price

Enter the proceeds you expect to receive from selling the shares. If you plan to sell only part of your position, use the proceeds for the shares being sold rather than the total market value of your entire holding.

3. Selling Costs

Applicable commissions and transaction costs may affect the amount realized from a sale. Include relevant costs when estimating your gain, using the tax rules that apply to your transaction.

4. Purchase and Sale Dates

The dates help determine whether the gain is short-term or long-term. A small difference in the holding period can affect which tax treatment applies.

Do not assume that a calendar-year difference automatically makes a gain long-term. Verify the exact dates and applicable holding-period rules.

5. Filing Status and Taxable Income

For a more useful estimate, the calculator should account for your filing status and expected taxable income. Long-term capital gains thresholds depend on these factors.

The calculator may also need information about other capital gains and losses, deductions, and potentially applicable investment taxes.

6. State of Residence

Federal tax is only part of the picture. Some states tax capital gains as ordinary income, while others have different rules or no individual income tax. Local tax treatment can also vary.

A calculator that estimates federal tax alone should clearly identify that limitation.

A good capital gains tax calculator should present an estimate rather than promise an exact final liability. Your filed tax return remains the definitive calculation, subject to applicable law and any later adjustments.

Example: Estimating Tax on a $10,000 Stock Profit

Suppose you sell shares and realize a $10,000 long-term capital gain. For illustration, assume the entire gain is subject to a single applicable federal capital gains rate.

Assumed federal rate

Estimated tax on $10,000

Gain after estimated federal tax

0%

$0

$10,000

15%

$1,500

$8,500

20%

$2,000

$8,000

These figures show how different rates can affect the amount retained from an investment sale.

They do not establish which rate applies to you. Your actual tax calculation depends on your taxable income, filing status, eligible net capital gains, and other factors. Some gains may be taxed at different rates, and additional taxes or state taxes may apply.

The table also excludes any brokerage costs and assumes no offsetting capital losses.

Before selling a profitable investment, consider estimating the potential tax liability alongside the amount you expect to receive. This can help you decide how much of the proceeds to reserve for taxes and how much may be available for other financial goals.

How Capital Losses Can Reduce Your Tax Bill

Not every investment produces a profit. If you sell an investment for less than its adjusted cost basis, you may realize a capital loss.

Capital losses can affect the tax treatment of capital gains. In general, capital gains and losses are netted under IRS rules, with distinctions between short-term and long-term amounts.

For example, suppose you realize a $4,000 capital gain from one investment and a $1,500 capital loss from another. If the applicable netting rules allow the loss to offset that gain, your net capital gain could be reduced to $2,500.

The exact calculation depends on the character of the gains and losses and any applicable carryovers.

Conclusions

Capital gains tax is an important part of investment planning because the profit from selling stocks is not always the amount you ultimately keep. Your tax treatment depends on your adjusted cost basis, holding period, taxable income, filing status, and any applicable deductions, losses, or additional taxes.

For 2026, most qualifying long-term capital gains for individual taxpayers fall under federal rates of 0%, 15%, or 20%, while short-term gains are generally taxed at ordinary income rates. The correct rate depends on your specific situation, and state taxes or the Net Investment Income Tax may increase your overall liability.

Before selling shares, calculate your estimated gain, confirm how long you have held the investment, review any capital losses, and consider your full-year income. A capital gains tax calculator can provide a useful starting point, but it should not replace accurate records or a complete tax assessment.

Ultimately, good tax planning is about more than minimizing taxes. It means understanding the after-tax result of an investment decision, maintaining appropriate cash reserves, and making choices that support your broader financial goals.