Download the Schwab app from iTunes®Get the AppClose

  • Find a branch
To expand the menu panel use the down arrow key. Use Tab to navigate through submenu items.

Save on Taxes

Save on Taxes: Know Your Cost Basis

Many people dislike thinking about taxes so much that they ignore the topic until filing season rolls around. Unfortunately, waiting until the last minute to deal with tax matters can lead to missed opportunities to potentially reduce your tax bill. 

Investors who include tax planning as part of their investing strategy could potentially see significant tax benefits over the long run, says Hayden Adams, director of tax and financial planning at the Schwab Center for Financial Research.

You shouldn’t just be thinking about capital gains and losses. Savvy investors know how to manage the so-called “cost basis” and holding periods of their investments to help reduce gains that are subject to taxes. Knowing your cost basis can be a valuable tool.

What is cost basis?

Simply put, your cost basis is what you paid for an investment, including brokerage fees, “loads” and any other trading cost—and it can be adjusted for corporate actions such as mergers, stock splits and dividend payments. This matters because your capital gain (or loss) will be the difference between the cost basis and the price at which you sell your securities. This cost is pretty easy to calculate—if you don’t reinvest dividends or dollar-cost average when you invest.

But if you buy over time—even automatically through a dividend reinvestment plan—each block of shares purchased is likely to have a different cost and holding period. Thus, you can pick and choose among the high- or low-cost and long- or short-term shares when you sell, and make the sale work to your best tax advantage.

Alternatively, you can go with the automatic default method, which requires zero effort or calculation on your part—but could cost you more in taxes. (Determining the cost basis for bonds can be more complicated, particularly if you bought them between 1993 and 2013, in which case you’d have to consider whether you bought them at “par”—or face value—paid a premium, or got a discount.)

The rules

Federal tax rules require brokerage firms to report your cost basis to the IRS when you sell an investment only if that investment was purchased after one of the following dates:

  • Equities acquired on or after January 1, 2011.
  • Mutual funds, ETFs and dividend reinvestment plans acquired on or after January 1, 2012.
  • Other specified securities, including most fixed income securities and options acquired on or after January 1, 2014.

Whether or not a brokerage reports your cost basis to the IRS, you’re responsible for reporting the correct amount when you file your taxes. And the accounting method you choose to identify the shares you sell can make a big difference in the amount you end up paying. To understand why, you have to know a little about how the IRS looks at cost basis accounting.

First in, first out

The cost basis of your shares doesn’t matter much until you sell. But when you do, the IRS gives you two ways to calculate the cost basis with individual stocks and four ways to figure it with mutual funds.

The default method—the accounting method the IRS will assume for both stock and mutual fund sales if you don’t provide instructions to the contrary—is called FIFO, or “first in, first out.” That means that if you sold 100 shares of a 1,000-share holding, the IRS will assume that the shares you sold were the first, or oldest, ones you bought. Those, of course, are likely to have the lowest cost and the highest tax obligation, assuming a rising market.

Specific identification

The other option with individual shares is called “specific identification.” Specific identification is the method likely to give you the most flexibility and potentially the best tax result.

Let’s say you bought 500 shares of XYZ Corp. 10 years ago for $10 a share, or $5,000; you also paid a $50 brokerage commission for a total cost of $5,050, or $10.10 a share. Several years later you bought a second group of 500 shares for $60 a share, or $30,000; you also paid a commission of $10, for a total of $30,010, or $60.02 a share.

Now, let’s say this stock has continued to appreciate in value, and each share is now worth $100. You want to liquidate 100 shares (assuming a $10 commission on the sale). Depending on which method you use, you could owe taxes on $8,980 in gains—or on just $3,988 in gains. (See the table below for details.)

Chart 1: Calculate cost with care to pay less tax

Identifying shares

How do you identify the specific shares you want to sell? If you’re placing the order by phone, you can tell your broker which shares you’re selling (for example, “the shares I bought on July 5, 2012, for $11 each”).

If you’re online, the approach will vary by brokerage. At Schwab, you’ll see your cost basis method on the order entry screen; if you opt for the Specified Lots method, you’ll be able to select which lots you want to sell.

Your brokerage will confirm the sale of those specific shares, which allows you to report the higher cost and the lower capital gain on your tax return.

Options for mutual fund investments

Investors in mutual funds have two additional options: “average cost, single category” and “average cost, double category.” The “average cost, double category” method allows you to calculate an average cost for long-term and short-term gains in separate buckets. But this method is rarely used because it’s extremely complex from an accounting standpoint.

The simpler “average cost, single category” method allows you to figure the cost of the entire holding, divide by the number of shares owned and come to an average cost before making your first sale. You then subtract this average cost from the sales proceeds to determine your gain or loss. This method provides the simplest way to handle mutual fund sales when you’re reinvesting dividends and/or regularly adding to your holdings.

There’s one major downside to using this method: If you choose it for your first sale, you must continue to use that method for every subsequent sale until you completely liquidate the holding. Additionally, opting for specific identification might save you money.

Let’s say, for example, that you buy mutual fund shares each month through an automatic investment plan. One month the shares might be up; the next month they might be down. You pay little mind and just invest the same amount each month, a process called “dollar-cost averaging.”

To keep it simple, assume your lowest-cost shares were the first purchased at $10, your highest-cost shares were purchased at $100 and your average cost was $50. We won’t factor in commissions here. You have 1,000 shares.

Now the market value of these fund shares is $60 and you want to sell 100 shares. Let’s compare three ways your sale could play out. You could use the first in, first out tactic and sell your lowest-cost fund shares. You could go with average cost, single category, which would simply use the average per-share price. Or you could use specific ID and sell your highest-cost shares.

As you can see in the table below, depending on the accounting method you choose, you can book a modest capital gain—or it might be more advantageous to take a loss.

Chart 2: Your cost basis can help you book a gain or a loss

Choosing a method

The best accounting method to choose depends on you. If you have modest holdings and don’t want to keep close track of when you bought and sold shares, using the average cost method with fund-share sales and the FIFO method with the sale of individual stock shares is probably fine.

But if you’re a tax-sensitive investor, specific identification can potentially save you lots of tax money—especially if you use other tax-wise strategies, such as giving appreciated shares (rather than cash) to charity. You get credit for a charitable donation for the full market value of donated long-term shares, subject to certain income limitations, but because the charity is tax exempt, no one pays the capital gains taxes.

For more information about cost basis reporting, including a schedule of when you can expect to receive your most recent tax forms from Schwab, log in to your account here.

What you can do next

Important Disclosures

The information provided here is for general informational purposes only and should not be considered an individualized recommendation or personalized investment or tax advice. The investment strategies mentioned here may not be suitable for everyone. Each investor needs to review an investment strategy for his or her own particular situation before making any investment decision. 

All expressions of opinion are subject to change without notice in reaction to shifting market conditions. Data contained herein from third-party providers is obtained from what are considered reliable sources. However, its accuracy, completeness or reliability cannot be guaranteed. 

Examples provided are for illustrative purposes only and not intended to be reflective of results you can expect to achieve.

This information is not intended to be a substitute for specific individualized tax, legal or investment planning advice. Where specific advice is necessary or appropriate, Schwab recommends consultation with a qualified tax advisor, CPA, financial planner or investment manager.

The Schwab Center for Financial Research is a division of Charles Schwab & Co., Inc.

(1017-7VXN)

Thumbs up / down votes are submitted voluntarily by readers and are not meant to suggest the future performance or suitability of any account type, product or service for any particular reader and may not be representative of the experience of other readers. When displayed, thumbs up / down vote counts represent whether people found the content helpful or not helpful and are not intended as a testimonial. Any written feedback or comments collected on this page will not be published. Charles Schwab & Co., Inc. may in its sole discretion re-set the vote count to zero, remove votes appearing to be generated by robots or scripts, or remove the modules used to collect feedback and votes.