Home / Helpful Guides / 1040 Guide / Form 1040 — Line 7
Form 1040 — Line 7

Form 1040 Line 7 Explained: Capital Gains and Preferential Rates

Learn how Form 1040 line 7 works, including capital gains, losses, basis and preferential tax treatment.

Line 7 is where capital gain or loss comes into the Form 1040. For investors, business owners selling assets, and anyone with brokerage activity, this line can dramatically shape the tax calculation. It is also where taxpayers first see the difference between ordinary income and capital income matter in a visible way.

At The Reed Corporation, line 7 is often one of the most strategic lines on the return for high-income households, investors and business owners. Capital gains and losses do not just reflect whether money was made or lost. They reflect basis, timing, holding period, and asset selection.

What line 7 includes

  • stock sales,
  • ETF or mutual fund sales,
  • investment-property sales,
  • capital gain distributions,
  • and other capital transactions.

Why this line matters

For New York City taxpayers with taxable portfolios, concentrated positions, business-sale proceeds, or large year-end gains, this line deserves more attention than the average summary article gives it. The result may differ dramatically depending on whether a gain is short-term or long-term, whether losses were harvested, and whether basis was tracked properly.

Examples

  • A founder selling appreciated shares.
  • A high-income household harvesting losses against gains.
  • A retiree or HNWI client with capital-gain distributions from funds.

Related Forms and Schedules

Capital gains and losses on Line 7 are computed on Schedule D, which separates short-term and long-term transactions, applies netting rules, and determines whether preferential rates apply.

Final takeaway

Line 7 is where the return shows readers that selling assets is not just a cash event. It is a basis and timing event.

Frequently Asked Questions

What does Form 1040 Line 7 actually report?

Line 7 of Form 1040 is one number: your total capital gain or loss for the year. It does not come out of thin air. It carries straight from Schedule D, which is the form that adds up every sale of a capital asset you made and nets the results together. So when people ask about form 1040 line 7 capital gains and losses, they are really asking about everything that happened on Schedule D before that final figure landed on the return. The line is the destination, not the work. All the real detail lives on the forms behind it.

A capital asset is most of the property you own for personal use or investment. Stocks, bonds, mutual funds, exchange-traded funds, cryptocurrency, a second home, raw land you held to flip, and investment real estate all qualify. When you sell one of those for more than your basis, you have a gain. When you sell for less, you have a loss. Basis is usually what you paid plus any costs to acquire it, like commissions, though gifts and inherited property follow their own rules that we get into below. The point is that nearly anything you can sell at a profit or a loss runs through this part of the return, which is why so many people end up filling it in.

Here is the flow that ends on line 7. Each individual sale gets reported on Form 8949 with the description of the property, the date you acquired it, the date you sold it, the proceeds, and the cost basis. Form 8949 feeds Schedule D. Schedule D separates short-term transactions from long-term transactions, totals each bucket, nets the two against each other, and produces a single result. That result is what shows up on line 7 of your 1040. If the year was a net loss, line 7 can be a negative number, which surprises people who assume the line only holds gains. It holds whatever the math produces, positive or negative.

One detail that trips up a lot of filers: not every sale needs its own line on Form 8949. If your broker already reported the basis to the IRS and there are no adjustments, certain transactions can be summarized directly on Schedule D without listing each one. But the moment you have a wash sale, a basis correction, or property the broker did not track, you are back on Form 8949 entering each line by hand. We see this constantly with clients who moved between brokerages mid-year and got a 1099-B with blank basis columns. The transfer breaks the basis chain, and the new broker has no record of what you originally paid.

Why does any of this matter beyond filling in a box? Because the character of the income on line 7 changes how much tax you pay. A short-term gain is taxed like your paycheck. A long-term gain gets the preferential rate. The line itself does not show that breakdown, but Schedule D and the tax computation behind it do, and getting the holding periods right is where real money is won or lost. A single misclassified sale can cost hundreds of dollars in tax that you never owed. If you want a person to walk through your brokerage statements before you file, our individual tax return service handles exactly this kind of reconciliation. Get the supporting forms right and line 7 takes care of itself, every single time.

It also helps to know what does not run through this line. Interest, dividends, and wages each have their own home on the return, so do not try to force them onto Schedule D. Ordinary dividends and most interest are taxed as regular income elsewhere on the 1040, and only qualified dividends get the long-term rate, reported on a different line. Capital gains are strictly about selling property you owned, not about income the property paid you while you held it. Keeping that boundary clear stops a surprising amount of confusion when people first read their own return and wonder why their dividend income sits nowhere near line 7.

How does the holding period change my tax rate on Line 7?

The single biggest factor behind your capital gains tax is how long you held the asset before selling. The split is simple to state and easy to get wrong. If you held the asset one year or less, the gain is short-term and gets taxed at your ordinary income rate, the same brackets that apply to wages. If you held it more than one year, the gain is long-term and qualifies for the favorable rates of 0, 15, or 20 percent depending on your taxable income. That gap is the whole reason form 1040 line 7 capital gains and losses deserves planning attention rather than a shrug at filing time. The difference between the two rates can be more than half the tax.

Count the days carefully. The holding period starts the day after you acquired the asset and runs through the day you sold it. One year and one day clears the long-term bar. One year exactly does not. People sell a position at the eleven-month mark, pocket what feels like a win, and then learn their gain is taxed at 32 or 35 percent instead of 15. Waiting a few more weeks would have changed the rate. That is not a rounding error, it is real cash, and it is a mistake we watch people make every year when they sell on impulse instead of checking the purchase date first.

Here is how the rates actually stack for most filers. The 0 percent long-term rate applies when your taxable income stays under the lower threshold, which catches a fair number of retirees and people in a low-earning year between jobs. The 15 percent rate covers the broad middle, which is where most clients land. The 20 percent rate kicks in only at the high end of income. Short-term gains get no such break. They ride your marginal bracket, which for a high earner in New York City can stack federal, state, and city tax into a number that makes you wish you had waited a few weeks before selling.

The net investment income tax is the part people forget. On top of the capital gains rate, an extra 3.8 percent applies to net investment income once your modified adjusted gross income crosses the threshold for your filing status. So a high earner selling a long-term position is not paying 20 percent. They are paying 23.8 percent once you add the surtax. That surtax catches people by surprise because it does not show up in the basic capital gains tables. Publication 550 lays out the investment income rules in detail, and the IRS guidance on Schedule D walks through how the rates get applied to the totals.

Short-term and long-term also interact when you net them. A short-term loss first offsets short-term gains. A long-term loss first offsets long-term gains. Only after each bucket is settled do the two sides meet. That ordering can shift how much of your gain keeps the preferential rate, which is why timing a sale near year-end is worth a real conversation rather than a guess. Selling one extra position before December 31 can change which bracket your whole year falls into. If you are sitting on appreciated positions and want to model the rate before you pull the trigger, our tax strategy consulting runs those numbers so the holding period works for you instead of against you.

Mutual funds add one more wrinkle worth knowing. A fund can hand you a long-term capital gain distribution even in a year you never sold a single share, because the fund itself sold holdings inside the portfolio and passed the gains through to you. That distribution shows up on a 1099-DIV, gets the long-term rate, and flows to Schedule D and then to line 7. People who buy a fund late in the year are sometimes annoyed to owe tax on gains they never personally captured. It is one of the reasons we tell clients to check a fund’s distribution schedule before buying a large position in December.

What happens when I have a net capital loss on Line 7?

A losing year is not wasted on your tax return, but the benefit comes with a cap that catches a lot of people off guard. When your capital losses outweigh your capital gains, you have a net capital loss, and Line 7 of your 1040 shows a negative number. The good news is that a net loss can offset other income, like wages or interest. The catch is the limit. You can deduct only 3,000 dollars of net capital loss against ordinary income in a single year, or 1,500 dollars if you are married filing separately. Past that, the deduction stops for the year no matter how large the loss was.

What happens to the rest? It does not vanish. Any net loss beyond the 3,000 dollar limit carries forward to future years, and the carryforward has no expiration. You keep deducting 3,000 dollars a year against ordinary income, or using the loss to offset future capital gains, until it is fully absorbed. A big loss can ride along on your returns for many years, slowly working itself off. The carryforward also keeps its character, so a long-term loss stays long-term when it lands on next year’s Schedule D, and a short-term loss stays short-term. That distinction matters because of how losses net against gains in each bucket.

Run the math on a real example. Say you had a brutal year in the market and ended with a 9,000 dollar net capital loss. On this year’s return you deduct 3,000 dollars against your other income, which lowers your taxable income by that amount. The remaining 6,000 dollars carries forward. Next year, if you have no offsetting gains, you deduct another 3,000 dollars, and the year after that the final 3,000 dollars. Three years to use a 9,000 dollar loss, all because of the annual cap. If you have gains in a later year, the carryforward can wipe those out faster, because losses offset gains dollar for dollar with no 3,000 dollar limit in play.

The most common mistake we see is people forgetting the carryover entirely. Someone has a loss year, switches preparers or software, and the carryforward never makes it onto the next return. That is money left on the table, and it can be a lot of it. The IRS does not remind you. The loss sits in your prior-year Schedule D and the Capital Loss Carryover Worksheet, and it is on you to bring it forward each year. We pull every prior return when we onboard a client specifically to catch carryovers that earlier preparers dropped. It is one of the first things we look for, because the dollars are real and the fix is simple once you know the loss is there.

One more point on what counts. Losses on personal-use property, like selling your own car or a vacation home you used yourself, are not deductible at all, even though gains on the same property would be taxable. That asymmetry feels unfair, and it is, but it is the rule, and it surprises people who assume any loss helps them. Publication 550 spells out which losses you can claim and which you cannot, and the Form 1040 instructions point to the carryover worksheet. If you took a hit this year, the right move is to document it cleanly now so the carryforward is sitting there ready when you need it in a future year.

Worth a quick word on married couples. The 3,000 dollar limit is a joint figure on a joint return, not 3,000 dollars each, so two spouses with separate losing accounts still share one cap. Drop to married filing separately and the limit splits to 1,500 dollars apiece, which is one more reason that filing status deserves a real look rather than a default choice. The carryforward follows the same return it started on, so if your filing status changes between years, the loss has to be tracked carefully to land in the right place. We sort that out for clients whose situations shift, because a mistracked carryover is easy to lose.

How do brokerage 1099-B forms and basis adjustments feed Line 7?

Most of the raw data behind Line 7 arrives on a Form 1099-B from your brokerage. The broker reports each sale, the proceeds, and in many cases the cost basis, then sends a copy to you and to the IRS. Those numbers flow onto Form 8949, get totaled on Schedule D, and end up on line 7. When the basis is already reported to the IRS and there is nothing to adjust, the process is clean and the numbers match. The trouble starts when the basis on the 1099-B is wrong, missing, or needs a correction you have to make yourself, and that happens more often than people expect.

Wash sales are the classic adjustment. If you sell a security at a loss and buy the same or a substantially identical security within 30 days before or after the sale, the loss is disallowed for now. You cannot claim it. Instead, the disallowed loss gets added to the basis of the replacement shares, so you recover it later when you finally sell those. Brokers track wash sales within a single account, but they do not see across your accounts or your spouse’s accounts. So if you sold at a loss in one account and rebought in another, the 1099-B may show a deductible loss that is not actually allowed. Reporting it anyway overstates your loss and is exactly the kind of error that draws an IRS notice months later.

Gifted and inherited property carry their own basis rules. For inherited property, your basis is generally the fair market value on the date the person died, the stepped-up basis, and the holding period is automatically long-term regardless of how long you actually held it. For a gift, you usually take the giver’s original basis, and the holding period carries over too. Brokers often have no idea what that basis is, so the 1099-B may show zero or blank, and it is on you to establish the real number with records. Get this wrong on inherited stock and you can pay tax on decades of appreciation that the step-up should have erased entirely.

Cryptocurrency is the messiest category right now. Every sale, trade, or use of crypto to buy something is a taxable disposition reported on Form 8949. Even swapping one coin for another counts, which catches people who never converted back to dollars. Exchanges have only recently started reporting basis consistently, so for older holdings or coins moved between wallets you often have to reconstruct what you paid and when. That reconstruction work is real, and skipping it usually means either overpaying because you assumed zero basis or filing a number you cannot defend if the IRS asks.

Walk through the columns once. Form 8949 wants the description, date acquired, date sold, proceeds, cost basis, any adjustment code, the adjustment amount, and the resulting gain or loss. The adjustment column is where wash sales, corrected basis, and inherited-property figures get fixed before they hit Schedule D. Publication 550 covers the wash sale rule and basis adjustments in depth, and it is the reference we reach for on the hard cases. Clean books make all of this faster, which is why our bookkeeping service keeps purchase records organized so basis is never a guessing game at filing time. Reconcile the 1099-B against your own records before you file, not after the notice arrives.

A practical tip on documentation. Hold onto your year-end brokerage statements and any cost-basis detail the broker provides, even after you file, because basis questions can surface years later when you finally sell a long-held position. For inherited assets, get the date-of-death value in writing while the estate is still being settled, since reconstructing it a decade later is painful and sometimes impossible. The IRS expects you to be able to prove your basis if asked, and a clean paper trail is the difference between a quick answer and a stressful scramble. Good records now save real headaches later, and they make next year’s return faster too.

Can you show a worked example of how Line 7 comes together?

Numbers make this concrete, so here is a full walk-through. Imagine you made two sales this year. First, you sold a stock you had held for three years at a gain of 8,000 dollars. Because you held it more than a year, that is a long-term gain, and it qualifies for the preferential rate, say 15 percent for your income level. Second, you sold a position you bought four months ago at a loss of 2,000 dollars. Held under a year, that is a short-term loss. Two sales, two different holding periods, two different tax characters that have to be sorted before anything reaches line 7.

Now net them on Schedule D. The short-term side is a 2,000 dollar loss. The long-term side is an 8,000 dollar gain. After the short-term loss reduces the gain, you are left with a 6,000 dollar net capital gain. That 6,000 dollars lands on Form 1040 line 7. The tax on it, at the 15 percent long-term rate, comes to roughly 900 dollars. Compare that to what you would owe if both had been short-term and taxed at, say, a 32 percent ordinary rate. The holding period on that first sale saved you real money, and that is the entire point of tracking it carefully.

Contrast that with a loss year. Suppose instead your sales netted to a 9,000 dollar net capital loss. Line 7 shows negative 9,000. You deduct 3,000 dollars against your other income this year, and 6,000 dollars carries forward. Next year you deduct another 3,000 dollars, and the year after the final 3,000 dollars, unless you have capital gains in those years that the carryforward can offset faster. Same loss, but the annual cap stretches the benefit across three returns. The loss is never lost, it just takes patience to use the whole thing when there are no gains to soak it up.

The mistake that costs people the most is dropping a prior-year carryover. We see it every season. A client had a loss two years ago, changed software or preparers, and the carryforward simply did not make the jump to the new return. They lose a 3,000 dollar deduction they were entitled to, and sometimes more if they had gains the carryover should have erased. Right behind that is the wash sale trap, where someone claims a loss the rules disallow and overstates the deduction on line 7, which is the kind of thing the IRS matches against the 1099-B and flags automatically.

A few habits keep line 7 clean. Hold the brokerage statements and confirm the basis before you file, not in April when you are rushed and tempted to trust whatever the software imported. Check whether any sale within 30 days of a loss triggered a wash sale. Pull last year’s Schedule D and Capital Loss Carryover Worksheet so nothing gets stranded. For the technical questions on basis, holding periods, and adjustments, Publication 550 is the reference to keep open. Going into next year, the smartest move is to decide on the timing of any big sale before December 31, because once the year closes the holding period and the rate are locked. Plan the sale and line 7 becomes a number you chose rather than one that surprised you.

If your situation is busier than these examples, the same logic still holds, it just runs across more lines. A year with twenty trades, a crypto sale, an inherited stock position, and a loss carryover from two years back all funnels through Form 8949 and Schedule D to that one line. The volume does not change the rules, it just raises the odds of a small error compounding into a real one. That is the moment to stop doing it by hand. A second set of eyes on the holding periods, the wash sales, and the carryover is cheap insurance against an IRS notice, and it usually finds at least one number worth fixing.

Contact Us