Skip to tool
ecech.
💰 Financial & Currency

One Extra Day of Holding Is Worth $1,777 on a $20,000 Gain

Long-term means held more than a year, so selling on the anniversary is short-term. The 0% band is also far wider than most people realise.

Treatment

 

Tax if long-term

Tax if short-term

Cost of selling early

How the gain stacks on your income

Working

Long-term rate bands

Advertisement

How the calculation works

$20,000 gain, single filer with $40,000 of other taxable income held 366 days $1,582.50 long-term held 365 days $3,360 short-term, at ordinary rates One day apart. $1,777.50 of difference. Long-term needs more than one year — the anniversary itself is still short-term.

How to Use This Tool

Enter the gain and your other taxable income. If you have the dates, put those in too and the holding-period question answers itself.

One year and a day

A gain is long-term if the asset was held for more than one year. The counting starts the day after purchase and includes the day of sale, so buying on 15 March and selling on the following 15 March is exactly one year — still short-term. Sell on 16 March and it is long-term.

That single day is worth a great deal. On $20,000 of gain for a single filer with $40,000 of other taxable income:

  • Long-term: $1,582.50 — $9,450 of the gain falls in the 0% band, the rest at 15%.
  • Short-term: $3,360 — taxed as ordinary income at 12% and 22%.
  • Difference: $1,777.50.

It is worth checking the exact date before selling anything close to the boundary. Note also that the trade date governs, not the settlement date.

The 0% band is wider than people think

Long-term gains have their own rate schedule: 0%, 15% and 20%. For 2026 a single filer pays 0% on long-term gains until total taxable income reaches $49,450, and a married couple filing jointly until $98,900.

Because it is total taxable income that matters, a low-income year — a sabbatical, a career break, early retirement before pensions start — can let a substantial gain be realised at no federal tax at all. Deliberately realising gains up to the top of the 0% band, then rebuying, resets your cost basis for free. There is no wash-sale rule on gains, only on losses.

$40,000 of income, then a $20,000 long-term gain on top other income 0% 15% $9,450 at 0% — the room left below $49,450 $10,550 at 15% = $1,582.50 The gain sits on top, so your other income decides which band it lands in.
Which is why the same gain costs different amounts to different people.

The gain stacks on your income

Long-term gains are taxed last, sitting on top of your ordinary income. Your other income therefore determines which band the gain falls into, and a single gain can span two bands.

With $40,000 of other taxable income and a $20,000 gain, $9,450 of the gain fits below the $49,450 threshold and is taxed at 0%, while the remaining $10,550 is taxed at 15%. Neither the whole gain at 0% nor the whole gain at 15% would be right.

The 3.8% that sits on top

The net investment income tax adds 3.8% on the smaller of your net investment income or the amount by which MAGI exceeds $200,000 single, $250,000 married filing jointly, or $125,000 married filing separately.

Those thresholds are written into statute and are not indexed for inflation. They have not moved since 2013, so each year a little more of the population crosses them. It means the real top rate on long-term gains is 23.8%, not 20%.

What this leaves out

  • State tax. Most states tax capital gains as ordinary income with no preferential rate, which can swamp the federal difference entirely.
  • Collectibles at up to 28%, and unrecaptured section 1250 gain on depreciated real estate at up to 25%.
  • Losses. Capital losses offset gains, and up to $3,000 of net loss offsets ordinary income each year, with the rest carried forward.
  • The wash sale rule, which disallows a loss if you rebuy substantially identical securities within 30 days either side. It applies to losses only, not gains.
  • Qualified dividends, taxed on the same schedule as long-term gains.

Figures are for tax year 2026. This is arithmetic, not tax or investment advice — and tax is only one input into whether to sell something.

Advertisement

Frequently Asked Questions

How long do I have to hold an asset for long-term capital gains?
More than one year, which in practice means one year and a day. Counting starts the day after purchase, so selling on the anniversary itself is still short-term. The trade date governs, not the settlement date.
How much does selling one day early cost?
On $20,000 of gain for a single filer with $40,000 of other taxable income, long-term tax is $1,582.50 and short-term is $3,360 — a difference of $1,777.50 for one day of holding.
What is the 0% capital gains bracket for 2026?
Long-term gains are taxed at 0% until total taxable income reaches $49,450 for a single filer or $98,900 married filing jointly. Because it is total taxable income that counts, a low-income year can let a substantial gain be realised at no federal tax.
How is a capital gain taxed if it spans two bands?
It is split. Gains stack on top of ordinary income, so with $40,000 of other taxable income and a $20,000 gain, $9,450 fits below the $49,450 threshold at 0% and the remaining $10,550 is taxed at 15%.
What is the 3.8% net investment income tax?
A surtax on the smaller of your net investment income or the amount MAGI exceeds $200,000 single, $250,000 joint or $125,000 married filing separately. Those thresholds are statutory and have not been indexed since 2013, so the real top long-term rate is 23.8%.
Can I sell and immediately rebuy to reset my cost basis?
For gains, yes — the wash sale rule applies only to losses, so realising a gain inside the 0% band and rebuying resets your basis at no federal cost. State tax may still apply, and this is arithmetic rather than investment advice.

Related tools in Financial & Currency

Browse all Financial & Currency tools
The person who builds ecech., at the desk where the tools are written.

Made by one person

ecech. is not a content farm. Every tool here is written and checked by hand, one at a time, by someone who wanted the tool to exist and could not find a version that showed its working.

No accounts and no sign-in, and nothing you type reaches a server — every calculation on this page runs inside your browser. The ads are served by Google and do set their own cookies, which is set out in full on the privacy page. More about the site.