Selling Stock This Year? What You Owe Depends on One Date
The difference between selling a stock on day 364 versus day 366 can cost you thousands, and most people only find out after they've already clicked sell.
The One-Year Line That Splits Your Tax Rate in Half
Capital gains tax has two tiers, and the boundary between them is brutally simple: hold an asset for 365 days or fewer and you pay short-term rates, which are taxed exactly like ordinary income. That means a single investor earning $80,000 a year could pay 22% on a quick stock flip. Hold that same asset for 366 days and the rate drops to 15% for most earners.
That gap adds up fast. Say you bought shares for $10,000 and sold them for $18,000. A $8,000 gain at 22% costs $1,760. At 15%, it's $1,200. Waiting two more days before selling saves $560 on a single trade, with zero change in market exposure.
Why the 0% Rate Is More Common Than People Think
A lot of investors assume capital gains taxes are unavoidable, but the 0% long-term rate applies to single filers with taxable income up to $47,025 in 2024, and up to $94,050 for married couples filing jointly. That threshold is taxable income, not gross income, so after your standard deduction and retirement contributions, many moderate earners qualify without realizing it. Try the capital gains tax calculator to see your own numbers.
A couple with $120,000 in gross earnings, contributing $23,000 to a 401(k) and taking the $29,200 standard deduction, lands at roughly $67,800 in taxable income. They still clear the 0% threshold, but just barely. Selling $20,000 worth of appreciated stock could push some of that gain into the 15% bracket. Knowing exactly where you sit before you sell is the whole game.
A capital gains tax estimator lets you punch in your filing status, income, purchase price, and sale price to see the actual tax bill before you pull the trigger. That kind of preview changes the timing decisions most people make purely on instinct.
Losses Are Not Just Bad News, They Are a Tax Tool
Tax-loss harvesting sounds complicated, but the core idea is straightforward. If you sell a losing position, that loss offsets your gains dollar for dollar. Sell $5,000 worth of gains and $5,000 worth of losses in the same tax year and your net taxable gain is zero. If your losses exceed your gains, you can deduct up to $3,000 against ordinary income, with the rest carrying forward to future years.
The catch is the wash-sale rule. You cannot buy the same or a substantially identical security within 30 days before or after the sale and still claim the loss. Plenty of investors have harvested a loss in December, bought the same ETF back the next week, and discovered in April that the IRS disallowed the deduction entirely.
Running your numbers through a capital gains tax calculator before year-end gives you a clear view of where you stand on gains and losses, and whether harvesting a specific position is actually worth the hassle.
Real Estate and Inherited Assets Behave Differently
Stock investors often assume the same rules apply to property and inherited assets, but they do not. If you inherit stock or real estate, the cost basis resets to the fair market value on the date of the original owner's death. That is called a stepped-up basis. Sell immediately after inheriting and you may owe nothing, even if the original owner bought the asset decades ago at a fraction of the current price.
Primary residence sales have their own carve-out. Single homeowners can exclude up to $250,000 in gains; married couples can exclude $500,000, provided they have lived in the home for at least two of the last five years. Sell a house that appreciated $400,000 as a married couple and you pay no capital gains tax at all on the first $500,000. Go over that threshold, though, and the long-term rate kicks in on the excess.