Where a loss goes, in order
A capital loss is never deducted in one step. It is spent against capital gains first, and only what survives reaches the rest of your income. Section 1211(b) of the Internal Revenue Code sets the sequence for individuals: losses are allowed in full against gains, and any excess comes off other income up to $3,000 a year, or $1,500 for a married person filing a separate return.
The remainder is the carryover. Section 1212(b) moves it into the next tax year, where it counts as a capital loss of that year and goes through the same sequence again. For an individual it never expires: it rolls forward until it is used up, and only the taxpayer's death ends it early.
The $3,000 figure is written into the statute as a plain number. Unlike the brackets and the 0% ceiling, it is not adjusted for inflation, so it covers a little less of a typical income every year.
Netting comes before the offset
Before any loss touches your wages, gains and losses are paired off. Short-term results are netted together, long-term results together, and then a net loss on one side is set against a net gain on the other. The calculation guide walks through that order step by step.
Which side a result lands on depends only on how long you held the asset. More than a year is long-term, counting from the day after you bought it up to and including the day you sold (IRS Topic 409), and a loss keeps that label for as long as it is carried.
Only a net loss for the whole year creates a deduction and a carryover. Lose $20,000 on one fund and make $25,000 on another and there is nothing to carry: the loss has already been used against the gain, which is where a loss does the most good, because it cancels income that would otherwise be taxed.
When the year does end in a net loss, the offset against other income comes out of the short-term side first. Section 1212(b)(2) treats the amount you deducted as a short-term gain when the carryover is worked out, so a mixed loss carries forward with less short-term loss and the same long-term loss. The calculator's engine follows that order, which is also the order of the Capital Loss Carryover Worksheet in IRS Publication 550.
The carryover keeps its character
A short-term carryover arrives in the new year as a short-term loss, and a long-term carryover as a long-term loss (section 1212(b)(1)). Each is netted first against gains of its own kind. The distinction matters because the two kinds of gain are taxed so differently: a short-term carryover that meets a short-term gain cancels income taxed at ordinary rates of up to 37%, while a long-term carryover meeting a long-term gain cancels income taxed at 0%, 15% or 20%.
None of it is optional. The carryover is applied to the first gains that arrive, including gains that would otherwise have been taxed at nothing. A retiree whose gains sit inside the 0% band spends the carryover on gain that was never going to cost anything, and the second example below shows exactly that. There is no election to hold a carryover back for a year when it would be worth more.
The offset against other income works the same way. Every year that ends in a net capital loss takes up to $3,000 of it against wages, pension or interest, whether or not that is the best use of it.
The adjustment for a low-income year
There is one exception, and it protects people with little other income. When the carryover is worked out, section 1212(b)(2) counts the offset as used only up to your adjusted taxable income: broadly, taxable income with the capital loss deduction added back, a negative figure counting as negative. If your income was already too low for the offset to reduce anything, the unused part stays in the carryover.
This calculator does not make that adjustment. It deducts the full offset and carries forward the rest, which understates the carryover for a year in which taxable income before the loss was under $3,000. In that situation the worksheet in the Schedule D instructions gives the right figure.
Married couples share one limit
The limit belongs to the return, not the person. A married couple filing jointly gets one $3,000 offset between them, and filing separately does not double it: each spouse gets $1,500, so the pair reaches $3,000 only if both have a net loss to use.
On a joint return the couple's gains and losses are netted together, so one spouse's loss offsets the other's gain before any limit applies. A capital loss is rarely, on its own, a reason to file separately.
Stock that became worthless
A share that becomes worthless does not have to be sold for its loss to count. Section 165(g) treats a security that becomes worthless during the year as sold on the last day of that tax year, so the loss belongs to that year and, for a calendar-year filer, its holding period runs to 31 December.
The hard part is the year. The loss belongs to the year the security actually became worthless, not the year you noticed, and a claim in the wrong year is a claim that can be refused. Once taken, the loss nets and carries forward like any other.
When a loss is lost for good
Four situations end a loss instead of carrying it. A loss on property you used personally, such as your home or your car, is not deductible at all, so it never becomes a carryover (section 165(c); IRS Topic 409). A capital loss, carryovers included, can be deducted only on the final return of the person who died; IRS Publication 559 is explicit that it cannot pass to the estate.
A sale to a relative is the third. Section 267 disallows a loss on a sale between members of a family, meaning brothers and sisters, a spouse, ancestors and lineal descendants, and between you and a corporation you own more than half of. Selling a losing stock to your daughter produces no deduction, whatever price she pays.
The fourth is a repurchase inside an IRA. Sell shares at a loss and buy the same shares in your IRA or Roth IRA within 30 days, and Rev. Rul. 2008-5 disallows the loss without adding it to any basis. In an ordinary account the same repurchase only postpones the loss, as the wash sale guide explains.
Recording it and carrying it forward
Each sale goes on Form 8949 and the totals on Schedule D, which produces the net figure and the deduction for the year (IRS Topic 409). Nobody sends you the carryover as a number. You work it out from last year's return, using the Capital Loss Carryover Worksheet in Publication 550 or the Schedule D instructions, and enter it on this year's Schedule D.
Keep that worksheet with the return. A large carryover can outlive the records of the sales that created it by many years, and the worksheet is the only document that shows how the short-term and long-term amounts were split.
To see what a loss is worth against a particular sale, use the comparison panel under the calculator's results, which has a field for a realized loss. The calculator takes one sale at a time and has no field for a carryover from an earlier year, so keep that total in your own records.
Worked example
Computed by the calculator's own engine when this page was built. Open the derivation for every rule and citation.
A year that ends in a net loss
A single filer with $72,000 of wages sells two positions at a loss: $9,000 short-term and $5,000 long-term, with no gains in the year.
- Taxable income after deduction
- $52,900
- Taxable gain
- $0
- Tax owed without the sale
- $7,010
- Tax the sale added
- -$660
- Total federal tax
- $6,350
- Effective rate on the gain
- —
$3,000 comes off wages, saving $660 of federal tax. The other $11,000 carries into next year as $6,000 short-term and $5,000 long-term: the offset came out of the short-term side first.
Show the working — 12 steps, each with its citation
- Net short-term capital gain or loss for the year-$9,000
Assets held one year or less. Taxed at ordinary rates if a net gain.
- Net long-term capital gain or loss for the year-$5,000
Assets held more than one year. Eligible for the 0/15/20% rates.
- Net capital loss deducted against ordinary income-$3,000
Net capital loss of $14,000 is deductible only up to $3,000. $3,000 came from short-term loss and $0 from long-term loss.
- Capital loss carried forward to next year$11,000
$6,000 short-term and $5,000 long-term. Individuals carry capital losses forward indefinitely; there is no expiry and no carryback.
- Standard deduction-$16,100
Adjusted gross income of $69,000 less $16,100.
- Taxable income$52,900
The figure the rate tables and the capital gain ceilings are both measured against.
- Ordinary income taxed at 10%$1,240
$12,400 of taxable income between $0 and $12,400.
- Ordinary income taxed at 12%$4,560
$38,000 of taxable income between $12,400 and $50,400.
- Ordinary income taxed at 22%$550
$2,500 of taxable income between $50,400 and $52,900.
- Net investment income tax threshold$200,000
Modified AGI of $69,000 against the $200,000 threshold for a single filer. This threshold is statutory and is not adjusted for inflation.
- Net investment income tax does not apply$0
Modified AGI is $131,000 below the threshold.
- Total tax$6,350
$6,350 on $72,000 of total income, an effective rate of 8.82%.
The next year: the carryover meets a 0% gain
Now retired on a $32,000 pension, the same person sells fund shares at a long-term gain of $11,000 and carries in last year's $6,000 short-term and $5,000 long-term losses. Computed on 2026 figures.
- Taxable income after deduction
- $15,900
- Taxable gain
- $11,000
- Tax owed without the sale
- $1,300
- Tax the sale added
- $360
- Total federal tax
- $1,660
- Effective rate on the gain
- 3.27%
The carryover absorbs the whole gain and is used up, yet the federal bill is $1,660 with or without it: the gain sat inside the 0% band and would have cost nothing. Had they not sold, the carryover would have taken $3,000 off the pension instead, worth $360 that year, with $8,000 still to come.
Show the working — 11 steps, each with its citation
- Net short-term capital gain or loss for the year$0
Assets held one year or less. Taxed at ordinary rates if a net gain.
- Net long-term capital gain or loss for the year$11,000
Assets held more than one year. Eligible for the 0/15/20% rates.
- Prior-year capital loss carryforward applied-$11,000
$6,000 short-term and $5,000 long-term. Carryforwards keep their original character indefinitely.
- Short-term loss applied against long-term gain-$6,000
A net loss of one character offsets a net gain of the other.
- Standard deduction-$16,100
Adjusted gross income of $32,000 less $16,100.
- Taxable income$15,900
The figure the rate tables and the capital gain ceilings are both measured against.
- Ordinary income taxed at 10%$1,240
$12,400 of taxable income between $0 and $12,400.
- Ordinary income taxed at 12%$420
$3,500 of taxable income between $12,400 and $15,900.
- Net investment income tax threshold$200,000
Modified AGI of $32,000 against the $200,000 threshold for a single filer. This threshold is statutory and is not adjusted for inflation.
- Net investment income tax does not apply$0
Modified AGI is $168,000 below the threshold.
- Total tax$1,660
$1,660 on $32,000 of total income, an effective rate of 5.19%.
Run your own figures
Nothing you enter leaves your browser.