Personal taxes


Complete Guide to Reporting Capital Gains and Losses on 2024 IRS Tax Form 1040 Schedule D

14 minute read

2024 IRS Tax Form 1040 Schedule D Capital Gains and Losses: Your Guide to Form 1040 and Schedule D Tax Forms



Understanding how to report capital gains and losses on your tax forms is crucial for anyone dealing with investments or asset sales. This article will guide you through the essentials of managing these financial matters using Form 1040, Schedule D, and other relevant IRS forms. Whether you're a seasoned investor or just starting out, you'll find valuable insights here to navigate the complexities of tax filings related to capital gains and losses.

What Are Capital Gains and Losses?

Capital gains and losses are vital elements of your financial portfolio, primarily resulting from the sale of assets such as stocks, bonds, real estate, and even valuable collectibles. A capital gain is realized when you sell an asset for more than its original purchase price, essentially making a profit. For instance, if you buy stock at $100 and sell it later for $150, you've made a capital gain of $50. On the other hand, a capital loss occurs when you sell an asset for less than its purchase price, incurring a loss. An example would be purchasing a property for $200,000 and selling it later for $180,000, resulting in a $20,000 capital loss.

Both capital gains and losses can be classified as either short-term or long-term, based on the duration you held the asset before selling it. This distinction is crucial for tax purposes. Capital gains and losses must be reported to the Internal Revenue Service (IRS) using specific forms, and they can significantly impact your tax obligations. Correct reporting ensures tax law compliance and can influence investment strategies and decisions.

How Does Tax Form 1040 Schedule D Relate to Tax Loss Harvesting?

Schedule D is used to calculate the net capital gain or loss from all capital transactions reported on Form 8949. The net capital gain or loss is then reported on Form 1040. If the net capital gain is positive, it is taxed at the capital gains tax rate, which is typically lower than the ordinary income tax rate. If the net capital loss is negative, it can be deducted from ordinary income, up to $3,000 ($1,500 for married filing separately). Any excess capital losses can be carried forward to future years.

Tax loss harvesting can be used to offset both short-term and long-term capital gains. Short-term capital gains are gains on investments held for one year or less, and they are taxed at the ordinary income tax rate. Long-term capital gains are gains on investments held for more than one year, and they are taxed at a lower rate.

Term Definition

Additional Information on Tax Loss Harvesting

  • Tax loss harvesting can be an effective strategy for investors who have a combination of capital gains and losses.
  • To be effective, the losses generated from tax loss harvesting should exceed the transaction costs associated with selling and repurchasing assets.
  • It is important to consider the wash-sale rule when implementing tax loss harvesting. The wash-sale rule prohibits investors from deducting capital losses if they repurchase the same or substantially identical asset within 30 days of selling it at a loss.

Example of Tax Loss Harvesting

An investor purchases 100 shares of XYZ stock for $50 per share, totaling $5,000. The stock price later declines to $40 per share. The investor sells 50 shares of XYZ stock, generating a capital loss of $500. The investor then repurchases 50 shares of XYZ stock at the current market price of $40 per share.

By selling the shares at a loss, the investor is able to offset a portion of their capital gains from other investments. This can help to reduce their overall tax liability.

Understanding Form 1040 for Capital Gains and Losses

Form 1040, the standard IRS form for individual tax filers, is critical for reporting your total income, including capital gains and losses. These gains and losses are factored into your overall income, affecting your adjusted gross income (AGI). Your AGI is pivotal in determining your tax bracket and the rates at which you are taxed.

On Form 1040, you must declare the net total of your capital gains and losses. This net figure is the sum of all your gains minus any losses. The resulting number can either lower your taxable income (in the case of net losses) or increase it (in the case of net gains). Understanding how to calculate and report these figures accurately is essential, as they directly influence your tax liabilities and potential refunds.

The Role of Form 8949 in Reporting Capital Assets

Form 8949 is essential for detailing each capital asset transaction you've made during the tax year. This form requires specific details about each sale, including the dates of purchase and sale, the cost basis (original purchase price), sale proceeds, and the nature of the gain or loss (short-term or long-term).

This detailed reporting is crucial for the IRS to understand the context of each transaction, ensuring that capital gains and losses are accurately reflected in your tax calculations. The completion of Form 8949 is a prerequisite for filling out Schedule D, as it provides all the necessary information to summarize your capital transactions.

How to use the IRS Tax Form 1040 Schedule D Tax Form Effectively

Schedule D is integral to your tax return if you have capital gains or losses. This form consolidates the information from Form 8949 and helps you calculate the total capital gains tax owed or identify deductible losses. Understanding how to use Schedule D effectively involves summarizing the short-term and long-term transactions separately, as they are taxed differently.

By accurately completing Schedule D, you provide the IRS with a clear picture of your investment activity over the tax year, ensuring that your capital gains taxes are calculated correctly. This form also plays a significant role in identifying carryover losses, which can be used to offset gains in future tax years.

Reporting Cryptocurrency Gains and Losses 

Cryptocurrency, a relatively new but increasingly popular asset class, is subject to capital gains tax, just like traditional assets. The IRS treats cryptocurrency as property for tax purposes. Therefore, gains or losses from cryptocurrency transactions must be reported using Form 8949 and Schedule D.

Given the volatile nature of cryptocurrency markets, it's essential to keep detailed records of your transactions, including dates, values in USD at the time of the transaction, and the gain or loss realized. This meticulous record-keeping is crucial for accurate tax reporting and compliance.

Long-Term vs. Short-Term Capital Gains: What's the Difference?

The duration you hold an asset before selling it determines whether the gain or loss is considered short-term or long-term. Short-term capital gains or losses arise from assets held for one year or less and are taxed as ordinary income at your regular income tax rates. In contrast, long-term capital gains or losses result from assets held for more than one year and are taxed at preferential rates, generally lower than the ordinary income tax rates.

This distinction is important for tax planning, as the timing of asset sales can significantly impact your tax liability. Long-term capital gains tax rates are often more favorable, providing an incentive to hold assets for more than a year.

Calculating Your Tax Due on Capital Gains

Start by calculating your net short-term and long-term gains or losses to determine the tax due on capital gains. Net short-term gains are taxed at your ordinary income tax rates, while net long-term gains are taxed at lower capital gains rates, which vary based on your income level.

Your total tax due is the sum of the taxes on both short-term and long-term gains. Remember to consider state-level capital gains taxes, as these can vary depending on your residence. Proper calculation of these taxes is vital to avoid underpayment and potential penalties.

Example 1: Calculating a Capital Gain


  • You bought 100 shares of a company at $20 per share.
  • Later, you sold all shares at $30 per share.


  • Purchase Price (Cost Basis): 100 shares x $20/share = $2,000
  • Selling Price: 100 shares x $30/share = $3,000
  • Capital Gain: Selling Price - Purchase Price = $3,000 - $2,000 = $1,000

In this example, your capital gain is $1,000. This is the amount that will be subject to capital gains tax. If you held the shares for over a year, this gain would be taxed at the long-term capital gains rate. It would be taxed at your regular income tax rate if held for a year or less.

Example 2: Calculating a Capital Loss


  • You invested $5,000 in a technology company.
  • Due to market downturns, you sold your investment for $3,500.


  • Purchase Price (Cost Basis): $5,000
  • Selling Price: $3,500
  • Capital Loss: Purchase Price - Selling Price = $5,000 - $3,500 = $1,500

In this example, you incurred a capital loss of $1,500. This loss can be used to offset capital gains from other investments. If your losses exceed your gains, you can deduct up to $3,000 of the net loss from your other taxable income. If your net capital loss exceeds $3,000, you can carry over the remaining loss to future tax years.

Example 3: Short-Term vs. Long-Term Capital Gain

Scenario for Short-Term Gain:

  • Buy 50 shares at $10 each ($500 total).
  • Sell shares after 11 months at $15 each ($750 total).

Calculation for Short-Term Gain:

  • Gain: $750 - $500 = $250
  • This gain is taxed as ordinary income since the shares were held for less than a year.

Scenario for Long-Term Gain:

  • Buy 50 shares at $10 each ($500 total).
  • Sell shares after 13 months at $15 each ($750 total).

Calculation for Long-Term Gain:

  • Gain: $750 - $500 = $250
  • This gain qualifies for lower long-term capital gains tax rates as the shares were held for over a year.

Key Points to Remember:

  • Holding Period: It's crucial to note the holding period of an asset, as it determines whether the capital gain or loss is short-term or long-term.
  • Netting Gains and Losses: You can net your short-term gains and losses separately from your long-term gains and losses. This netting process helps determine your overall capital gains tax liability.
  • Carryover Losses: If your capital losses exceed your capital gains, you can carry over the loss to future years, subject to certain limitations.

Filing Tips for Capital Gain or Loss on Your Tax Return

Accuracy and thoroughness are key when filing your tax return with capital gains or losses. Ensure all transactions are reported, use the correct forms, and adhere to IRS guidelines. Online tax filing systems can be helpful, but it's important to understand the underlying principles and requirements.

Double-check your calculations and the information provided on forms like 8949 and Schedule D. Misreporting or omitting transactions can lead to errors in tax calculation and potentially trigger IRS audits.

Common Mistakes to Avoid on Capital Gains and Losses Filings

Common errors in filing for capital gains and losses include incorrect calculation of the cost basis, failing to report all transactions, and misclassifying the type of gain or loss. These mistakes can result in inaccuracies in your tax return, leading to potential penalties and interest charges from the IRS. Regularly reviewing your transactions and maintaining organized records can help avoid these pitfalls.

Seeking Professional Tax Advice for Complex Situations

Consulting with tax professionals is advisable for individuals with complex portfolios, significant investment activity, or unique tax situations. Tax experts can offer personalized advice, ensuring compliance and optimizing tax strategies. They can help navigate complex scenarios like large volumes of transactions, dealing with unusual types of assets, or managing significant capital losses. Professional guidance can be invaluable in these situations, providing peace of mind and potentially saving money in the long term.

Key Takeaways

  • Capital Gains and Losses Defined:

  • Capital gains occur when an asset is sold for more than its purchase price.
  • Capital losses happen when an asset is sold for less than its purchase price.
  • These financial changes must be reported to the IRS and can affect tax obligations.
  • Form 1040 for Reporting Gains and Losses:

  • Essential for reporting total income, including capital gains and losses.
  • Affects your adjusted gross income and consequently your tax bracket and rates.
  • Importance of Form 8949:

  • Lists all capital asset transactions for the tax year.
  • Details each sale, including dates, costs, proceeds, and type of gain or loss.
  • Using Schedule D Tax Form:

  • Summarizes data from Form 8949.
  • Essential for calculating total capital gains and losses for tax reporting.
  • Cryptocurrency Gains and Losses:

  • Treated as capital assets for tax purposes.
  • Must be reported using Form 8949 and Schedule D.
  • Short-Term vs. Long-Term Gains:

  • Short-term gains (assets held for one year or less) are taxed as ordinary income.
  • Long-term gains (held for more than one year) are taxed at lower rates.
  • Calculating Tax on Capital Gains:

  • Determine the net short-term and long-term gains or losses.
  • Apply these figures to your tax bracket to calculate tax due.
  • Filing Tips for Capital Gains/Losses:

  • Ensure accuracy in reporting all transactions.
  • Use the correct forms and follow IRS guidelines.
  • Common Filing Mistakes to Avoid:

  • Incorrect calculations and failing to report all transactions.
  • Misunderstanding the type of gain or loss can lead to penalties.
  • Seeking Professional Tax Advice:

  • Recommended for complex situations with large transactions or unusual assets.
  • Tax professionals provide tailored advice and help avoid costly mistakes.


Understanding the concept of capital loss carryover is crucial for individuals when filing their income tax returns. It is important to take advantage of this tax strategy which allows taxpayers to offset their capital gains with any capital losses from previous years. By utilizing the capital loss carryover, individuals can reduce their taxable income and potentially lower their federal tax liability. Additionally, it is essential for taxpayers to be aware of capital gain distributions and qualified dividends, as they will impact their individual tax returns. Gains and losses that result from these distributions and dividends must be accurately reported to the IRS. Overall, being knowledgeable about how capital gains and losses can affect an individual's tax situation is key to optimizing their tax liability and maximizing any potential savings.

How can Taxfyle help?

Finding an accountant to file your taxes is a big decision. Luckily, you don't have to handle the search on your own. 

At Taxfyle, we connect individuals and small businesses with licensed, experienced CPAs or EAs in the US. We handle the hard part of finding the right tax professional by matching you with a Pro who has the right experience to meet your unique needs and will handle filing taxes for you.

Get started with Taxfyle today, and see how filing taxes can be simplified. 

Legal Disclaimer

Tickmark, Inc. and its affiliates do not provide legal, tax or accounting advice. The information provided on this website does not, and is not intended to, constitute legal, tax or accounting advice or recommendations. All information prepared on this site is for informational purposes only, and should not be relied on for legal, tax or accounting advice. You should consult your own legal, tax or accounting advisors before engaging in any transaction. The content on this website is provided “as is;” no representations are made that the content is error-free.

We recommend a Pro file your taxes. Click here to file today.Leave your books to professionals. Click to connect with a Pro.Leave your books to professionals. Click to connect with a Pro.Leave your books to professionals. Click to connect with a Pro.
Was this post helpful?
Yes, thanks!
Not really
Thank you for your feedback
Oops! Something went wrong while submitting the form.
Did you know business owners can spend over 100 hours filing taxes?
Is this article answering your questions?
Do you do your own bookkeeping?
Are you filing your own taxes?
How is your work-life balance?
Is your firm falling behind during the busy season?


November 14, 2023


Luis Rivero, CPA

Luis Rivero, CPA


by this author

Share this article