How much tax on stock trading gains offset by losses with low income?

Trying to figure out how much tax on stock trading gains offset by losses with low income actually means for my situation. I had a decent year trading — maybe $18k in realized gains — but I also took some losses that bring the net down significantly. My other income is just part-time work, so my total income is pretty modest. I filed with TurboTax last year and it just kind of calculated everything automatically and I didn't really understand what was happening under the hood. This year I want to actually understand it before I file. Do the losses fully cancel out the gains before the rate is applied? And does having low total income actually reduce what I owe on the net gains, or does it not matter? I'm trying to decide if I need to do anything before year-end.

37 comments

Yes, losses offset gains before any rate applies. Short-term losses offset short-term gains first, then you can use excess short-term losses against long-term gains (and vice versa). The net number is what gets taxed. What rate depends on whether the remaining gain is short-term or long-term AND on your total taxable income for the year. For long-term gains specifically, the rate — 0%, 15%, or higher — is determined by where your taxable income falls. If your income is low enough, you could actually owe nothing on long-term gains. The IRS lays out the netting order in the Schedule D instructions.

Ben T.

Author

That's the part I wasn't sure about — whether income level could actually bring it to zero. So I need to figure out total taxable income, not just the gains themselves, to know the rate.

Short-term gains are taxed as ordinary income, same as your wages. No special rate. So if most of your profitable trades were held under a year, the low-income angle helps less — it just means you're in a lower ordinary income bracket. Long-term is where the favorable rates kick in and where low total income really matters.

Worth adding: the holding period starts the day AFTER you buy and ends on the trade date you sell, not the settlement date. More than 1 year is long-term. Exactly 1 year or less is short-term. A lot of people get this slightly wrong and think 365 days exactly is long-term.

Ben T.

Author

Most of my gains are from positions I held over a year, so sounds like I'm in the better situation for rates.

The netting process goes on Form 8949 first (every sale listed with date acquired, date sold, proceeds, basis, and any adjustments), then those totals flow to Schedule D. Schedule D does the netting across short-term and long-term buckets. Your broker's 1099-B should have most of the numbers you need for Form 8949.

If your broker reported basis to the IRS (covered securities), you check box A or D on 8949 depending on whether the gain is short or long term. Box A for short-term with basis reported, D for long-term with basis reported. Only use B/E if basis wasn't reported, C/F if no 1099-B at all.

Ben T.

Author

My 1099-B shows basis so I think I'd be on A and D. Good to know there are different boxes for each situation.

I uploaded my 1099-B and Schedule D draft to taxr.ai and it walked through the netting order on my actual numbers — showed me exactly which losses were absorbing which gains and what was left over in each bucket. Really helped me see that most of my remaining gain was long-term. For the rate question specifically: once you have net long-term gain, whether you owe anything depends on your total taxable income. The IRS threshold for the 0% long-term rate is published in the Schedule D instructions each year — I'd check there rather than relying on any number someone quotes online since it adjusts annually.

Ben T.

Author

Checking the Schedule D instructions for the current threshold makes sense. I'll pull those after I get my numbers together.

One scenario people miss: if losses exceed gains entirely, you can deduct up to $3,000 of net capital loss against other income (like your wages). The rest carries forward. So even a losing year isn't a total wash — you recover some through the deduction. This is on Schedule D line 16 and then flows to Form 1040 line 7a.

The $3,000 limit is $1,500 if you file married filing separately. Just flagging since the original poster didn't mention filing status.

Ben T.

Author

Single filer here, so $3,000 applies. But sounds like I'll net positive so probably moot for this year.

Wash sales can mess up your loss numbers if you bought back into any position within 30 days before or after selling it at a loss. The disallowed loss gets added to the cost basis of the replacement shares instead of being deductible now. Your 1099-B box 1g shows wash sale loss disallowed if the trades were in the same account with the same CUSIP — but if you rebought in a different account or through an IRA, the broker won't catch it and you have to adjust yourself. Code W in column (f) on Form 8949, positive number in column (g).

Also IRA repurchases count as wash sales but the disallowed loss is permanently lost — it doesn't add to IRA basis. That's the worst case version of this rule.

Ben T.

Author

I did rebuy one position pretty quickly. Need to check the dates. Didn't realize the IRA version was even worse.

To actually compute the tax owed on net long-term gain: Schedule D has a Qualified Dividends and Capital Gain Tax Worksheet (or the Schedule D Tax Worksheet if certain conditions apply). You don't just multiply the net gain by a rate — the worksheet stacks your ordinary income first, then layers the preferentially-taxed income on top to figure out how much of it falls in the 0% band versus the 15% band. So two people with the same net gain but different ordinary income levels can owe very different amounts.

This is exactly why the "what rate applies" question can't be answered without knowing total taxable income. The worksheet does the stacking automatically but you have to have all the other income figured out first.

Are you using tax software this year or doing it by hand? If software, it handles the netting and the worksheet automatically. If by hand, Form 8949 instructions on irs.gov walk through every column. Either way you need the 1099-B in front of you before you can know where you land.

Ben T.

Author

Probably software again but I wanted to understand what the software is actually doing before I just accept the number it spits out.

That's honestly the right instinct. At minimum trace through Schedule D lines 15 and 16 to confirm the net is what you expect.

Had a similar low-income year with mixed gains and losses. I pasted my 1099-B into Taxr and it mapped each trade to the right row on Form 8949 and flagged two positions where the holding period I had recorded was off by a day — which would have changed them from long-term to short-term. Worth doing that check before you finalize anything. The netting on Schedule D fell out correctly once the 8949 rows were right.

Day-off errors on holding period are really common with stock splits and dividend reinvestments too. The trade confirmation is the authoritative source, not the brokerage's summary page.

For the year-end planning angle you mentioned: if you have unrealized losses sitting in your portfolio, harvesting them before December 31 lets them offset gains in the same tax year. Just watch the 30-day wash sale window if you want to stay invested in the same position.

And the 30 days runs both directions — 30 days before the sale counts too. So if you bought more shares in late November and then sell at a loss in December, the November purchase can trigger a wash sale on part of the December loss.

Something to keep in mind: inherited stock is automatically long-term regardless of how long you actually held it. And gifted stock uses the donor's basis and potentially the donor's holding period. If any of your positions came from either of those, the basis and holding period calculations are different from a standard purchase.

For gifted stock the gain basis is the donor's adjusted basis. The loss basis is the lower of the donor's adjusted basis or the fair market value at the date of the gift. It's one of those rules that matters a lot if the stock dropped in value before you got it.

Low income really can mean zero tax on long-term gains if your taxable income stays below the threshold. I had Taxr pull together a projection worksheet on my documents showing how different year-end income scenarios affected how much of my long-term gain would sit in the 0% band versus spill into 15%. The thresholds are in the Schedule D instructions — look for the tax rate worksheets for capital gains. Worth running the numbers at a few different income levels before year-end if you still have flexibility.

Ben T.

Author

This is what I was hoping to hear. So there's real planning value in keeping total income low if most of my gains are long-term. I'll check the Schedule D instructions for the current year thresholds.

Correct — and remember it's taxable income after deductions, not gross income. If you take the standard deduction that reduces the number further, which could keep more of your gain in the 0% band.

The IRS has a plain-language overview at irs.gov/taxtopics/tc409 that covers the netting rules, the rate brackets, and the carryover. Good starting point before you get into the worksheets.

Don't forget that some dividends qualify for the same preferential rates as long-term gains and go through the same worksheet. If your 1099-B comes with a 1099-DIV showing qualified dividends, those stack in with the long-term gain bucket when figuring the tax. Doesn't change the netting of gains and losses but it affects how the worksheet runs.

Ben T.

Author

I do have some qualified dividends on my 1099-DIV. Good to know they're part of the same calculation and I shouldn't treat them separately.

To verify your software's output: after it runs, check Schedule D line 15 (net long-term gain or loss) and line 16 (combined net). Then look at whether it used the Qualified Dividends and Capital Gain Tax Worksheet or the Schedule D Tax Worksheet — the latter is used in certain situations involving 28% rate gain or unrecaptured section 1250 gain. For most straight stock trading it'll be the former. If the numbers on those lines don't match your own tally from the 1099-B, something's off.

The 28% rate situation comes up with collectibles and certain small business stock — not typical brokerage trades. So unless you traded something unusual, the standard Qualified Dividends worksheet is the right one to expect.

If you want the netting rules and holding period rules straight from the source, the capital gains and losses chapter of Publication 550 covers them in detail. It's dense but it's the authoritative source if you want to verify anything you read here.

Publication 551 is the one for basis of assets if you need to figure out cost basis for anything that wasn't a straightforward cash purchase — gifts, inherited shares, stock splits, etc.