Blog
Wild & Free Tools

Short-Term vs Long-Term Capital Gains: How Taxes Eat Your Stock Profit

Last updated: April 2026 6 min read

Table of Contents

  1. The Basic Rule
  2. A Worked Example
  3. When Waiting Is Risky
  4. The 2026 LTCG Tax Brackets
  5. State Taxes Complicate Things
  6. Frequently Asked Questions

The single biggest variable in stock investing that nobody warns beginners about: how long you hold the stock determines how much tax you pay. Sell after 11 months and you pay your full ordinary income tax rate (often 22-32%). Sell after 13 months and you pay the long-term capital gains rate (0%, 15%, or 20% depending on income). The same exact trade can produce wildly different after-tax profits based on a calendar quirk.

This article uses free stock profit calculator to show the pre-tax profit and then walks through how to calculate after-tax profit for both holding periods. The lesson: patience is taxed less than impatience.

The Basic Rule

US tax law splits stock gains into two categories based on how long you held the stock:

The dividing line is exactly 366 days (one year plus a day). If you bought a stock on March 15, 2025, you can sell it on March 16, 2026 to qualify for long-term treatment. Sell on March 14, 2026 (one day shy) and you pay short-term rates. The IRS does not give partial credit.

For most investors in the 22-24% federal bracket, this rule means STCG taxes are roughly 22-24% on profits while LTCG taxes are 15%. The difference is 7-9 percentage points, which on a meaningful trade adds up to real money.

A Worked Example

You bought 200 shares of TSLA at $180 in March 2025. The price has run up to $260 in February 2026 — 11 months later. Your trade in our stock profit calculator:

Now the tax math. You are in the 24% federal bracket (about $100k-200k income for a single filer in 2026).

Option A: Sell in February (11 months held — STCG)

Option B: Wait until April (13 months held — LTCG)

By waiting two extra months for the holding period to flip from short-term to long-term, you save $1,440 in taxes. That is 9% more profit, with zero additional risk (assuming the stock does not crash). This is the most uncontroversial "free money" trick in personal investing — and most retail traders ignore it.

Sell Custom Apparel — We Handle Printing & Free Shipping

When Waiting Is Risky

The catch: you cannot lock in gains by waiting. The stock might drop. If TSLA falls from $260 back to $200 during the two months you waited, your profit drops from $16,000 to $4,000 — and the tax savings are now irrelevant compared to the lost gains.

So the "wait for LTCG" strategy is a calculated bet:

Rule of thumb: if waiting will save you 5-10% in taxes and you think the stock has less than a 5-10% chance of dropping significantly, wait. If the math is closer or the risk is higher, take the short-term hit.

The 2026 LTCG Tax Brackets

Long-term capital gains are taxed at one of three rates based on your total income. For 2026 (single filers):

Income RangeLTCG Rate
$0 - $48,3500%
$48,351 - $533,40015%
$533,401+20%

The 0% bracket is interesting. If your total taxable income (including the capital gain) is under $48,350, you pay ZERO federal tax on long-term gains. This is sometimes called "tax gain harvesting" — selling stocks at a profit during low-income years to lock in gains tax-free, then immediately rebuying them to reset your cost basis.

For someone in a high-income year (say $200k), LTCG is 15%. For someone in retirement living on $40k from Social Security, LTCG can be 0%. Same gain, dramatically different tax. Timing your sales relative to your income years is one of the highest-leverage moves in retirement planning.

State Taxes Complicate Things

The federal LTCG rates above are only the federal portion. Most states also tax capital gains, and some states do not distinguish between short-term and long-term — they tax both at full income tax rates.

So for a California resident in the 24% federal bracket, a short-term capital gain might effectively be taxed at 24% (federal) + 9.3% (state) = 33.3% total. Long-term in the same situation is 15% federal + 9.3% state = 24.3%. The state portion does not benefit from the long-term holding rule in California.

Always run your post-tax math with both federal AND state rates applied. The calculator gives you pre-tax profit; you have to apply the appropriate combined rate yourself based on your state and bracket.

Calculate Your Trade Profit Free

Get net profit, percentage return, and ROI in seconds. No signup, no ads, runs in your browser.

Open Stock Profit Calculator

Frequently Asked Questions

How do I know my exact holding period?

Count from the day AFTER you bought to the day you sold. If you bought March 15, 2025, the long-term threshold starts March 16, 2026. Most brokers display the holding period for each lot in your trade history.

Does dividend reinvestment affect the holding period?

Yes — each reinvested dividend creates a new tax lot with its own holding period. So shares from a January reinvestment have a different holding period than shares from a July reinvestment, even if they are the same stock.

What about losses?

You can use capital losses to offset capital gains. Short-term losses offset short-term gains first; long-term losses offset long-term gains first. Excess losses (up to $3,000 per year) can offset ordinary income. Anything beyond $3,000 carries forward to future years.

Are there any ways to avoid capital gains tax entirely?

A few. Hold stocks inside a Roth IRA (no tax on gains, ever). Donate appreciated stocks to charity (no capital gains tax, plus you get a charitable deduction). Use the 0% LTCG bracket if your income is low. Or never sell — you can pass appreciated stocks to heirs with a stepped-up cost basis.

Launch Your Own Clothing Brand — No Inventory, No Risk