Tax Form Calculator
AD AA

Schedule D (Form 1040): Capital Gains and Losses

Last reviewed: 2025-10-27

Use the Schedule D (Form 1040) — Capital Gains and Losses (Tax Year 2024) Tax Form Calculator Schedule D (Form 1040) — Capital Gains and Losses (Tax Year 2024) as a stand alone tax form calculator to quickly calculate specific amounts for your 2026 Schedule D state tax return. Alternatively, you can use one of our Combined Federal and State Tax Estimators to quickly calculate your salary, tax, and take-home pay.

Schedule D (Form 1040) is used when a taxpayer has capital asset transactions during the year, including the sale or exchange of stocks, bonds, real estate, mutual funds, or other investment property. The schedule distinguishes between assets held one year or less (short-term) and those held more than one year (long-term), and it aggregates gains or losses, carry-forwards, and often links to calculations affecting the net investment income tax under IRC § 1411.

  1. When you must file: Use Schedule D if you sold or exchanged a capital asset not reported elsewhere, received capital gain distributions, disposed of an interest in a qualified opportunity fund (QOF), or have a capital-loss carry-over from a prior year. The instructions confirm that you complete Form 8949 first where required, then Schedule D.
  2. Key definitions:
    • Short-term transactions: Assets held one year or less; gains taxed at ordinary income rates.
    • Long-term transactions: Assets held more than one year; gains generally taxed at preferential rates.
    • Capital-loss carryover: If losses exceed gains in a year, you may carry the excess over to future years (up to $3,000 annual deduction for individuals) and report on Schedule D.
    • Qualified Opportunity Fund (QOF) disposal: If you disposed of an investment in a QOF, check the box on Schedule D and follow related reporting rules.
  3. Deadlines & attachment: Attach Schedule D to your Form 1040 or Form 1040-SR by the filing deadline (typically 15 April of the following year, unless extended). Maintain supporting brokerage statements, Forms 1099-B, Form 8949 detailing each transaction, and basis documentation.
  4. Accuracy tips: Ensure proceeds and basis from Forms 1099-B match entries on Form 8949 and Schedule D lines; reconcile total gains/losses to your investment statements. For transactions where basis was reported and no adjustments are required you may summarise directly on Schedule D rather than listing individually on Form 8949. Avoid wash-sale misclassification, missing adjustments, or incorrect basis reporting.
Schedule D: Part I Short-Term Capital Gains and Losses—Assets Held One Year or Less
See instructions for how to figure the amounts to enter on the lines below.
This form may be easier to complete if you round off cents to whole dollars.
(d)
Proceeds
(sales price)
(e)
Cost
(or other basis)
(g)
Adjustments to gain or loss from Form(s) 8949 🖩, Part I, line 2, column (g)
(h) Gain or (loss)
Subtract column (e) from column (d) and combine the result with column (g)
1a
1b
2
3
4 4
5 5
6 6
7 7
Schedule D: Part II Long-Term Capital Gains and Losses—Assets Held More Than One Year
See instructions for how to figure the amounts to enter on the lines below.
This form may be easier to complete if you round off cents to whole dollars.
(d)
Proceeds
(sales price)
(e)
Cost
(or other basis)
(g)
Adjustments to gain or loss from Form(s) 8949 🖩, Part I, line 2, column (g)
(h) Gain or (loss)
Subtract column (e) from column (d) and combine the result with column (g)
8a
8b
9
10
11 11
12 12
13 13
14 14
15 15
16 16
17 Are lines 15 and 16 both gains?
18 18
19 19
20 Are lines 18 and 19 both zero or blank?

21
• The loss on line 16 or
• ($3000), or if married filing separately, ($1,500)
Note: When figuring which amount is smaller, treat both amounts as positive numbers.
21
22

Short-term gains and losses (Part I): Covering assets held one year or less, this section captures gains or losses that are taxed at ordinary income rates. Enter totals for transactions where basis was reported to the IRS (Box A of Form 8949) or where adjustments or basis not reported require use of Form 8949 (Box B or C) and then flow to Schedule D lines 1a-3. Losses and carry-forwards feed into line 6. The net amount (line 7) then moves to Part III or further computation. If only short-term asset sales occurred, you may skip Part II.

Long-term gains and losses (Part II): Applies to assets held more than one year. Similar structure to Part I but gains may qualify for reduced tax rates. Include collectibles, section 1250 recapture, section 1202 gains, and unrecaptured section 1250 gain on line 19. Failure to capture these taxpayer-specific categories properly often invites IRS review. The net of Part II lines flows into line 15 and then into Part III.

Summary (Part III): Combines short- and long-term items to determine overall gain or loss. A net gain may transfer to Form 1040 line 7, and if certain boxes are checked (lines 18 or 19 items), you may need to use the Schedule D Tax Worksheet or Qualified Dividends & Capital Gain Tax Worksheet. A net loss may be deductible ($3,000 max for individuals unless amount carried over) and any unused loss carries forward; use the Capital Loss Carryover Worksheet in the Schedule D instructions for future years.

Net Investment Income Tax (NIIT) effect: Gains and losses reported on Schedule D may feed into Form 8960 if you are subject to the 3.8% NIIT on net investment income. Maintain a separate worksheet of investment income and gains to assess if you cross the NIIT threshold. Many high-net-worth taxpayers overlook the link between Schedule D totals and Form 8960 calculations.

Common audit triggers and avoidance tips: Red flags include:\n

Maintain audit-ready documentation (purchase/sale dates, basis calculations, wash-sale worksheets, 1099-B copies) and reconcile totals across all forms.

Last reviewed: 2025-10-27: If you believe this form requires an update, please contact us.

Tips for Efficient Filing

Download all Forms 1099-B early (most by February/March) and create a detailed worksheet: date acquired, date sold, sales price, cost basis, adjustment codes, wash-sale indicators. Group transactions by holding period and check for any basis not reported to IRS (Box C) to prepare Form 8949 correctly.

If using software, ensure it imports your brokerage CSV/1099-B data and flags Box A-eligible transactions for direct summary on Schedule D lines 1a or 8a rather than listing each item on Form 8949; this reduces filing bulk but requires correct payer codes and basis reporting. Check that carryover losses from previous years were properly entered and that your software calculates the Capital Loss Carryover Worksheet automatically.

Best Practices & IRS Compliance Strategy

Establish a year-end “transaction close” process for taxable accounts: after final statements, confirm each sale is entered, reconcile basis and acquisition dates, handle wash sales within the 30-day rule, and review large single-lot sales for section 1250 or micro-cap section 1202 classifications. Document all QOF dispositions, including Form 8997 filings if required.

Build a tracking system for capital loss carryovers: maintain a schedule of unused losses from prior years, monitor their progress through annual returns, and update your carryover statement before each filing. A loss-carryover lost track is a missed deduction and increases audit risk. Perform a pre-file cross-check of Schedule D, Form 8949, Form 1040 line 7 and Form 8960 to catch inconsistencies early.

Frequently Asked Questions

Can I estimate the General Business Credit?

Start with Form 3800 and then reflect the credit here.

How much would a 401(k) contribution change my net?

Model it with the 401(k) Calculator then rerun this page with your pre-tax amount.

Considering an IRS Offer in Compromise?

Read through Form 656-B to understand eligibility and steps.

What does FICA include?

FICA includes Social Security and Medicare payroll taxes withheld from employee wages.

Is there a quick pay-frequency comparison?

Yes—switch frequency on this page; for employer filings see 941 vs 944.

Important Notes

All calculations are estimates for guidance only. Always review your return and consider professional advice when submitting official filings.