Skip to content
  • Home
  • Essentials
        • ESSENTIALS
        • Goals and Budgeting
          • Overview
          • Organizing Your Financial Life
          • Budgeting
          • Your Personal Net Worth
          • Setting Goals
          • Financial Planning
          • Planning Your Charitable Giving
          • 30-Day Financial Cleanse
        • Credit and Debit
          • Overview
          • Good Debt versus Bad Debt
          • How Credit Can Help—and Hurt
          • Understanding Your Credit Score
          • Preventing Identity Theft
          • Paying Off Student Debt
        • Estate Planning
          • Overview
          • Estate Plan Basics
          • Creating an Estate Plan
        • Types of Accounts
          • Overview
          • Choosing the Right Accounts
          • Individual Retirement Accounts
          • Employer Sponsored Retirement Accounts
          • Small Business Retirement Accounts
          • College Savings Accounts
          • Custodial Accounts
          • Understanding FDIC and SIPC Insurance
        • Saving
          • Overview
          • Why You Should Save and How Much
          • Making the Most of Your Paycheck
          • Saving for an Emergency
          • Eight Savings Fundamentals
        • Investing
          • Overview
          • Getting Started with Investing
          • Stocks, Bonds, and Cash
          • Fractional Shares
          • Socially Responsible Investing
          • Understanding Mutual Funds and ETFs
          • Creating an Investment Plan
          • Finding the Right Asset Allocation
          • The Advantages of Diversification
          • Benefits of Compound Growth
          • Tax-Smart Investing
          • The Importance of Monitoring and Rebalancing
        • Taxes
          • Overview
          • Income Taxes
          • Income Taxes for Children
          • Calculate Taxes
          • Payroll Taxes
        • Insurance
          • Overview
          • Insurance You Need
          • Individual Health Insurance
          • Group Health Insurance
          • Understanding Medicare
          • Disability Insurance
          • Life Insurance
          • Long-Term Care Insurance
          • Auto Insurance
  • My Life
        • MY LIFE
        • STARTING OUT
        • BUYING A CAR
        • MILITARY COMMUNITY
        • Buying a Home
          • Overview
          • Buy or Rent?
          • How Much House Can You Afford?
          • Mortgage Basics
          • Beyond Mortgage Costs
        • Jobs
          • Overview
          • Changing Jobs
          • What to Do If You Lose Your Job
          • Managing Your Finances as You Change Jobs
          • Protecting Your 401(k)
        • Getting Married
          • Overview
          • Marrying Your Finances
          • Prenups: Do You Need One?
        • Starting a Family
          • Overview
          • Budgeting for a Child
          • Insurance and Estate Planning Needs
          • Planning for a Child's Education
        • Divorce
          • Overview
          • Preparing Your Finances for Divorce
          • Protecting Yourself During a Divorce
          • Managing Money After a Divorce
        • Helping Aging Parents
          • Overview
          • Talking Money with Aging Parents
          • Insurance Needs
          • Managing Income and Investments
          • Knowing Their Wishes
          • Social Services
        • Losing a Loved One
          • Overview
          • Handling Finances After Loss
          • Special Guidelines for Loss of a Spouse
        • Retirement
          • Overview
          • Starting Retirement
          • Nearing Retirement
          • Enjoying Retirement
  • Ask Carrie
        • ASK CARRIE
        • Planning & Goals
        • Investing Basics
        • Insurance
        • Education Savings
        • Couples & Families
        • Kids & Teens
        • Estate
        • Retirement
        • Major Purchases
        • Banking, Credit & Debt
        • Budgeting & Saving
        • Taxes
        • About Carrie
  • Teaching Kids
        • TEACHING KIDS
        • Basics
          • Overview
          • Rules of the Road at Every Age
          • Budgeting
        • Saving
          • Overview
          • Starting the Savings Habit
          • Motivating Your Kids to Save
          • Tips for Parents with Kids and Teens
        • Investing
          • Overview
          • Introducing Kids to Investing
          • Important Investing Concepts
          • Benefits of Early Investing
          • Investment Accounts for Kids
        • Giving Back
        • Life Lessons
          • Overview
          • Tips for Financial Success
          • Managing an Allowance
          • Help Teens use Credit Wisely
        • Buying a Car
          • Overview
          • Your Teen's First Car
          • Assessing Your Teens Needs and Budget
          • Cash or Financing?
          • Auto Insurance
        • First Job
          • Overview
          • Your Teen's First Job
          • Income Tax Basics
          • Payroll Tax Basics
          • Getting Serious About Saving
        • Going to College
          • Overview
          • Costs Beyond Tuition
          • Life Away from Home
        • Leaving the Nest
          • Overview
          • A Checklist for Leaving Home
        • Activities and Resources
          • Overview
          • Overview
        • Categories
          • Overview
          • Classroom Curriculum
          • Personal Finance Activities
          • Financial Literacy Programs
        • Age Groups
          • Overview
          • Elementary School
          • Middle School
          • High School
  • Tools & Resources
        • TOOLS AND RESOURCES
        • Worksheets
        • Calculators
          • Overview
          • Savings Calculator
          • Credit Card Payoff Calculator
          • Cost of Debt Calculator
          • College Savings Calculator
          • Rent versus Buy Calculator
          • Mortgage Affordability Calculator
          • Retirement Calculator
        • Spending Tracker
        • Monthly Budget Planner
        • Financial Fitness Quiz
        • Documents and Forms
          • Overview
          • Form W-4
          • Form W-2
          • Form 1099
        • Research
          • Overview
          • Studies and Findings
          • Ariel-Schwab Black Investor Survey (2022)
          • Ariel-Schwab Black Investor Survey (2020)
          • Charles Schwab Financial Literacy Survey
          • Young Adult Financial Literacy Survey
          • Older Workers and Money Survey
        • Financial Glossary
        • COVID-19 Resources
  • Foundation
      • FOUNDATION
      • Moneywise America
Search
Portfolio Management | October 19, 2021

Save on Taxes: Know Your Cost Basis

Many people dislike thinking about taxes—so much that they ignore the topic until filing season is upon them. Unfortunately, waiting until the last minute to deal with tax matters can lead them to miss opportunities to potentially reduce their 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, CPA, CFP®, 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 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 less effort on your part, but could cost you more in taxes. 

It’s also important to note that determining the cost basis for bonds can be a bit more complicated, based on whether you bought them at “par” (face value), paid a premium, or got a discount. Fortunately, bonds that are purchased from 2014 onward are now required to have the brokerage firm provide each investor with tax documents that contain the cost basis for the asset.  

Reporting 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 (stocks, including real estate investment trusts, or REITs) 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 (generally bonds) 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 cost basis 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 method

The “first in, first out” (FIFO) cost basis method is Schwab’s default method for determining which assets were sold, for all investments other than mutual funds, if you don’t provide instructions to the contrary. 

If you purchased 1,000 shares over a number of years and you sold 100 of those shares, the FIFO method assumes that the shares you sold were the first ones purchased (the oldest shares). Generally, the shares you’ve held the longest are the ones you purchased at the lowest cost, which means the FIFO method could result in the largest gain recognized and the highest tax obligation. 

Specific identification method

The other option with individual shares is called the “specific identification” method. The specific identification method takes a bit more effort, but it allows you to select the shares that are sold and gives you the most flexibility and potentially the lowest tax liability. Let’s look at an example of how specific identification works.

Say you bought 500 shares of XYZ Corp. 10 years ago for $10 a share ($5,000 total), and you paid a $50 brokerage commission for a total cost of $5,050 ($10.10 a share). Several years later, you bought a second group of 500 shares for $60 a share ($30,000 total) and paid a commission of $10, for a total of $30,010 ($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.)

Calculate cost with care to pay less tax

By specifically identifying the shares you want to sell, in this hypothetical example, you would owe much less in capital gains tax. 

Method Cost Proceeds Capital gain
FIFO $1,010
(100 shares x $10.10/share)
$9,990 $8,980
Specific ID $6,002
(100 shares x $60.02/share
$9,990 $3,988

Source: Schwab Center for Financial Research

The example is hypothetical and provided for illustrative purposes only.

Identifying shares

How do you identify the specific shares you want to sell? 

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

At Schwab, if you place the order online, you’ll see your cost basis method on the order entry screen. If you select the “specified lots” method, you’ll be able to specifically identify which lots you want to sell.

Cost basis options for mutual funds

Mutual fund investors have one additional cost basis method they can use called “average cost, single category.” This method determines your transaction’s cost basis by taking the average cost of all the shares you own and multiplying it by the number of shares you’re selling. This method provides the simplest way to handle mutual fund sales when you’re reinvesting dividends and/or regularly adding to your holdings. 

There is one major downside to using the average cost method. If you choose this method for your first sale, you must continue to use it for every subsequent sale for shares that were acquired before that sale date, whereas opting for specific identification would allow you to pick and choose which shares to sale, potentially saving you money. 

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.” 

Let’s look at an example of how this works. Say you have 1,000 shares of a mutual fund and your lowest-cost shares were purchased for $10, your highest-cost shares were purchased for $100 and your average cost per share is $50. Today the market value of your mutual fund shares is $60, and you want to sell 100 shares. We’ll ignore commissions here to keep it simple. 

Let’s compare the three ways your cost basis could be calculated (FIFO, average cost, and specific identification) and see what the taxable gain is in each hypothetical scenario. 

Your cost basis can help you book a gain or loss

Method Purchase price Sale price Capital gain/loss
FIFO $10 $60 $5,000
($50 x 100 shares)
Average cost, single category $50* $60 $1,000
($10 x 100 shares)
Specific ID $100 $60 -$4,000
(-$40 x 100 shares)

*The average price per fund share at time of sale

Source: Schwab Center for Financial Research

The example is hypothetical and provided for illustrative purposes only.

As you can see in the table above, depending on the cost basis method you choose, your taxable gain or loss can vary greatly. Each of these transactions results in the same pre-tax cash flow of $6,000. However, depending on your particular situation, the money you have left in your pocket after taxes could be quite different in each method. 

So, which method should you choose?

One cost basis method is not necessarily better than another since each has its benefits and down sides. Choosing the best cost basis method depends on your specific financial situation and needs. 

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 mutual fund sales and the FIFO method for your other investments is probably fine.

But if you’re a tax-sensitive investor, specific identification could potentially save you a lot in taxes—especially if you use other tax-smart strategies, such as tax-loss harvesting, tax-gain harvesting, or donating appreciated assets to your favorite charity. 

Whichever method you decide to use, it’s important to plan ahead so you aren’t stuck with a huge tax bill come filing season.

What you can do next

  • Read more about tax-smart approaches to investing.

  • Want to confirm or adjust your current cost basis method? Talk with your Schwab Financial Consultant.


  • About the Foundation
    • Foundation
    • Moneywise America
  • Ask Carrie
    • Ask Carrie
    • Planning & Goals
    • Investing Basics
    • Insurance
    • Education Savings
    • Couples and Families
    • Kids and Teens
    • Estate
    • Retirement
    • Major Purchases
    • Banking, Credit & Debt
    • Budgeting & Saving
    • Taxes
    • About Carrie
  • Essentials
  • My Life
  • Teaching Kids
  • Tools and Resources

The information on this website is for educational purposes only. It is not intended to be a substitute for specific individualized tax, legal, or investment planning advice. Where specific advice is necessary or appropriate, consult with a qualified tax advisor, CPA, financial planner, or investment manager.

The Charles Schwab Foundation is a 501(c)(3) nonprofit, private foundation that is not part of Charles Schwab & Co., Inc. or its parent company, The Charles Schwab Corporation.

© 2022 Charles Schwab & Co., Inc. ("Schwab"). All rights reserved. Member SIPC.

(0820-0RM3)