How Investors Can Use Cost Basis to Lower Their Tax Bill
Understanding what cost basis is allows you to accurately track the returns on your investments and the tax implications those returns may have.
Let's say you've been regularly buying shares in a booming tech company over the past few years, but now you want to start taking some of those profits, perhaps to rebalance your portfolio. Your brokerage makes it easy-peasy: Just choose the number of shares you want to unload and click the "sell" button. Now you can celebrate your investing win!
You may not realize it, but the IRS might be celebrating, too. That's because investors can end up paying more of their gains in taxes than they have to if they aren't smart about choosing which of their shares to sell based on a factor known as cost basis.
Rather than being solely about what you make, "investing is about what you keep," explains Nilay Gandhi, a certified financial planner with Vanguard Personal Advisor. "Choosing the right cost basis method helps you keep more money in your pocket."
Sign up for Kiplinger’s Free E-Newsletters
Profit and prosper with the best of expert advice on investing, taxes, retirement, personal finance and more - straight to your e-mail.
Profit and prosper with the best of expert advice - straight to your e-mail.
In concept, cost basis is simple: It's the price you paid for an investment. It isn't a worry for transactions made in tax-protected accounts, such as IRAs. Money withdrawn from those accounts is typically taxed at ordinary income rates. Whenever you sell shares held in a taxable account, however, your cost basis determines the size of your gain or loss, as well as your capital gains tax liability. The process can get tricky if you have been steadily buying shares of the same companies or funds over time.
Because prices go up and down, you paid a different price each time you made a purchase. Each separate purchase of a security in a single transaction is called a tax lot. So when it comes time to sell some of your holdings, the size of your tax-reportable gain (or loss) will depend on which lots you sell.
If you sell lots purchased more than a year ago for a profit, you could pay anywhere from no tax to 20% in federal long-term capital gains tax, depending on your tax bracket. (You might owe more to your state if it taxes capital gains.)
Selling lots you purchased within the past year for a profit could incur short-term federal capital gains tax of up to 37%, as well as possible state tax. In addition, any gain, whether short term or long term, could boost your income enough to expose you to other taxes or costs – such as the federal net investment income tax of 3.8%. Losses, on the other hand, can be used to offset gains and reduce your tax bill.
Unless you change your brokerage's default settings, whenever you sell part of a holding, most major brokerages will typically either sell the oldest lots first or report your average overall cost to the IRS. That's an okay start, but most brokerages offer other options that can reduce your taxes even more, says Allan Roth, a Colorado-based certified public accountant and financial adviser.
Choose your cost basis options wisely
Roth's preferred method is to select which lots to sell himself so that he can exactly tailor his gains or losses to that year's tax situation. To do that, you must go into your brokerage's account settings and switch the cost basis default to the fully personalized option, which goes by slightly different names at different brokerages, such as "specified lots" at Charles Schwab, "specific shares" at Fidelity and "specific identification" at Vanguard.
Before any sale, decide exactly which lots will give you the optimal combination of gains and losses, and only then direct the brokerage to sell your chosen lots.
How cost basis is calculated
For investors who don't want to spend time on such precise machinations, brokerages offer several other automatic cost basis methods that advisers say can help reduce tax liabilities. To make sure you are taking advantage of the option that's best for you, log in to your brokerage account and check (and possibly change) your cost basis default setting before you make any sale, Roth stresses.
"The IRS doesn't allow do-overs," he says. There are more than a dozen cost basis methods. Here are five of the most popular and useful options, listed alphabetically:
Average. This method, which averages all your purchase prices of the same investment, is typically reserved for mutual funds. It's the default fund option at some major brokerages, including Fidelity and Vanguard. The IRS does not allow you to use it for most stock sales. The average method is one of the simpler methods and can be a reasonable option for longtime fund investors who expect their capital gains, income and tax rates to remain stable.
First In, First Out (FIFO). This method automatically sells the oldest lots first. It is the default option for all holdings on E*Trade, Robinhood and many other brokerages, and it is the default option for stocks and exchange-traded funds at Fidelity, Schwab and Vanguard.
In a generally rising market, FIFO makes it more likely that any capital gains will be long term. Josh Trubow, a certified financial planner in Waltham, Massachusetts, notes that this option doesn't guarantee the lowest tax bill, but it can be a reasonable choice for investors wishing to donate highly appreciated stock.
It can also work for investors whose income – after the gains are added – keeps them in a low capital gains bracket. For example, for 2024, married couples filing jointly who have taxable income below $94,050 pay no federal long-term capital gains taxes. It may also make sense to take gains now if you think your tax rate will be higher in the future, Trubow adds.
Highest In, First Out (HIFO). This strategy sells the lots that you paid the most for. That can be advantageous for anyone trying to limit their capital gains and maximize their tax losses, says Vanguard's Gandhi. But, he warns, this method does not take into account the date you made the purchase. If using this method results in selling for a profit some shares bought within the past 12 months, you could face higher short-term capital gains rates.
Lowest Cost, First Out (LOFO). This method sells the investments with the biggest gains first. Like HIFO, LOFO does not take into account the date of the purchase, so it may expose users to liabilities for short-term capital gains tax. And like FIFO, it can be a reasonable option for those designating appreciated shares to donate, or for those currently in low tax brackets or who expect their tax rates to be higher in future years.
Tax-optimized. Most major brokerages offer at least one sophisticated automatic cost basis option that takes into account both timing and returns to avoid short-term capital gains taxes and maximize tax losses. E*Trade calls its version "Minimum Tax Impact," Fidelity's version is "Tax-sensitive," Schwab's is called "Tax Lot Optimizer," and Vanguard's is "Minimum Tax."
Roth, who works with clients who use a few major platforms, says he hasn't noticed significant differences in the results of the different tax-optimized methods at the brokerages. Although he still prefers designing his cost bases himself, he says the brokerages' automatic tax-minimizing options are a good compromise.
Note: This item first appeared in Kiplinger Personal Finance Magazine, a monthly, trustworthy source of advice and guidance. Subscribe to help you make more money and keep more of the money you make here.
Related content
Get Kiplinger Today newsletter — free
Profit and prosper with the best of Kiplinger's advice on investing, taxes, retirement, personal finance and much more. Delivered daily. Enter your email in the box and click Sign Me Up.
Kim Clark is a veteran financial journalist who has worked at Fortune, U.S News & World Report and Money magazines. She was part of a team that won a Gerald Loeb award for coverage of elder finances, and she won the Education Writers Association's top magazine investigative prize for exposing insurance agents who used false claims about college financial aid to sell policies. As a Kiplinger Fellow at Ohio State University, she studied delivery of digital news and information. Most recently, she worked as a deputy director of the Education Writers Association, leading the training of higher education journalists around the country. She is also a prize-winning gardener, and in her spare time, picks up litter.
-
How Lower Interest Rates Will Help the Housing Market
Lower interest rates will give the industry life again as they will likely create more demand and more incentives for developers and thaw a static market.
By Zain Jaffer Published
-
Six Year-End Strategies That Will Better Prepare You for Your 2024 Taxes
A little effort now can save you tons of stress in the coming months.
By Kiplinger Advisor Collective Published
-
Do You Feel Like Somebody’s Watching You? It's Your Car
What's worse, you gave your vehicle manufacturer permission to watch you — no matter what you're doing. What are the car companies doing with that information?
By Karl Susman, CPCU, LUTCF, CIC, CSFP, CFS, CPIA, AAI-M, PLCS Published
-
Stock Market Today: Dow Logs Longest Losing Streak Since April
The November Producer Price Index showed that inflation remains a tough beast to tame.
By Karee Venema Published
-
Why Uber Stock Is Volatile After GM's Cruise Announcement
Uber stock is swinging this week following news that General Motors is restructuring its Cruise unit. Here's what you need to know.
By Joey Solitro Published
-
Why Adobe Stock Is Down After Its Earnings Beat
Adobe stock is lower Thursday despite the tech giant beating expectations for its fiscal 2024 fourth quarter. Here's what you need to know.
By Joey Solitro Published
-
Three Possible Tax Impacts for Retirees Under Trump
How might a second Trump term affect your tax bill in retirement — or the inheritance tax bill for your heirs? This pro has three predictions.
By Evan T. Beach, CFP®, AWMA® Published
-
What to Know About Leverage and Bitcoin's Meteoric Rise
Leverage in the financial world can lead to astonishing success or a crushing collapse. How are investors using leverage to invest in bitcoin?
By Stephen P. Harbeck Published
-
How Do You Know When It's Time to Change Financial Advisers?
Sometimes a breakup is for the best. Here's how to handle 'the talk' and make the switch to a new professional who's a better fit for you.
By Kelli Kiemle, AIF® Published
-
Stock Market Today: Tech Stocks Rally as CPI Supports Lower Rates
An inline inflation report sealed the deal for a December rate cut and sent the tech sector soaring.
By Dan Burrows Published