Skip to content
Independent money guidance
Clear Money Guide
Start here
Menu

Schedule D Lines 16 and 17: Combined Result (2025)

Updated October 18, 2026. Quick answer: Line 16 combines the short-term result from line 7 with the long-term result from line 15. What you do next depends on whether line 16 is a gain, a loss or zero. Line 17 then asks whether lines 15 and 16 are both gains, and the answer decides whether you go on to the rate worksheets or skip to line 22.

Read box by box from the IRS form text: Form 2439 box 2.

Line 16: the combined result

Line 16 opens Part III of the schedule, the summary. It says “Combine lines 7 and 15 and enter the result”. Line 7 is the net short-term figure and line 15 is the net long-term figure, so line 16 is the overall result of your capital gains and losses for the year. The earlier pages in this series cover lines 13 to 15 and Schedule D (Form 1040) has the whole form.

What to do when line 16 is a gain, a loss or zero

The form gives three separate paths. For a gain: “If line 16 is a gain, enter the amount from line 16 on Form 1040, 1040-SR, or 1040-NR, line 7a.” “Then, go to line 17 below.”

For a loss: “If line 16 is a loss, skip lines 17 through 20 below.” “Then, go to line 21.” “Also be sure to complete line 22.”

For zero: “If line 16 is zero, skip lines 17 through 21 below and enter” a zero on line 7a of your Form 1040, 1040-SR or 1040-NR. “Then, go to line 22.” The Form 1040 line 7 page shows where that entry lands on the return.

Line 17: are lines 15 and 16 both gains

Line 17 is a yes or no question: “Are lines 15 and 16 both gains?” “Yes. Go to line 18.” “No. Skip lines 18 through 21, and go to line 22.”

In plain terms, the question is only asked when line 16 is a gain, and you answer Yes only if the long-term result on line 15 is also a gain. A long-term loss offset by a larger short-term gain makes line 16 a gain but line 15 a loss, so the answer is No.

Why the answer matters

A Yes answer sends you to the rate worksheets. Line 18 asks for the “28% Rate Gain Worksheet” amount, covered on the line 18 page, and line 19 asks for the “Unrecaptured Section 1250 Gain Worksheet” amount, covered on the line 19 page. Line 20 then picks the tax worksheet, explained on the line 20 page.

Where the number comes from

Line 16 comes only from lines 7 and 15 of the same schedule. Line 17 comes from looking at lines 15 and 16. If you are planning around gains and losses, the capital gains tax calculator lets you test different results.

Where it goes next

A gain on line 16 goes to Form 1040, line 7a. After the gains test, the form sends you either to line 18 or to line 22. A loss moves to lines 21 and 22, where the loss limit and the qualified dividends question are handled. The instructions tie a carryover to this line: you have a capital loss carryover from 2025 to 2026 if you have a loss on line 16 and either that loss is more than the loss on line 21, or the amount on Form 1040, 1040-SR, or 1040-NR, line 15, would be less than zero if you could enter a negative amount on that line.

Edition and line numbers

This page reads the 2025 Schedule D (Form 1040) and its 2025 instructions, the current files irs.gov served on 2026-10-18 (byte-identical to the archived copies). They are the files for the tax year 2025 return, filed in 2026. The schedule says “Attach to Form 1040, 1040-SR, or 1040-NR.” Check the tax year printed on the schedule you are filling in and use the line numbers on that year’s schedule, because a different year’s schedule can number or word its lines differently.

Common mistakes

  • Continuing to line 17 when line 16 is a loss. The form says “If line 16 is a loss, skip lines 17 through 20 below.”
  • Answering Yes on line 17 when only one of the two lines is a gain. The test is “Are lines 15 and 16 both gains?” and the No answer says “Skip lines 18 through 21, and go to line 22.”
  • Skipping line 22 after a loss. The form says “Also be sure to complete line 22.”

Related: Schedule D (Form 1040), Form 1040 line 7 page, the capital gains tax calculator, and Form 1040.

Find the right next step for your situation

About how much do you have invested? Pick the range that fits; your next step appears immediately below.

About how much do you have invested?

Sources

Read from the IRS documents linked above on October 18, 2026. General information, not tax advice. Your own facts decide the outcome, and a preparer, the account provider or the IRS is the right place to confirm anything consequential.

See the adviser match on this page