How to Sell a Mutual Fund Tax-Efficiently

Update: Since this article was originally published, new legislation requires that mutual fund providers calculate -- and report to the IRS -- the cost basis for all mutual fund shares purchased after Jan. 1, 2012. Investors can choose from a minimum of three cost basis accounting methods. For mutual fund shares purchased prior to 2012, the article below still serves as a guide to selecting the appropriate, historic cost basis method. To stay abreast of the latest developments in mutual fund cost basis methods, we recommend bookmarking this Wikipedia page.

NEW YORK ( TheStreet) -- Taking your money out is supposed to be the easy part. But for many mutual fund investors, that's when the headache begins.

Selling mutual fund shares requires a fair amount of organization andplanning -- especially if you want to optimize the resulting tax situation.Whenever you sell shares in a mutual fund, you'll generate a capital gain orloss that must be reported to the Internal Revenue Service.

Even if you move money from one fund into another in what seems like a single, seamless transaction, a taxable event still has occurred. You'll owe tax (or can claim a loss) on the sale, and the amount you transfer to another fund will serve as the initial cost basis for that fund.

Determining the cost basis of your shares can be a tricky business, though.But no matter how frustrating the process seems, it's a crucial step.

Defining Cost Basis

The cost basis is the amount of money you've invested in your shares -- anyamount above the cost basis is your gain. Basis is essentially the money youplunked down to buy the initial shares, but it also includes sales chargesand redemption fees you paid for the share upon purchase or sale. (If you'reselling shares and moving the proceeds into a different fund in the samefamily with a reduced load charge, you must have held the shares for morethan 90 days to include the load charges in the basis.)

You should also include in the cost basis any dividends or capital gainsdistributions that you reinvested to purchase more shares. You'll still owetax on any capital gains distributions or dividends that you reinvest, butbecause they'll be counted toward your basis, you won't be taxed again when yousell the shares.

So to calculate the cost basis of the shares you've sold, you'll need toknow the dates of each share purchase or sale for the length of time you'vebeen invested in the fund; the number of shares bought or sold each time;the price at which shares were bought or sold; the total dollar amount ofeach transaction; and any sales charges or redemption fees paid.

And now for the fun part: The IRS gives you a choice of four ways to figureout your cost basis. Each method -- first-in, first-out (FIFO), specificshares, average cost single category and average cost double category --allows investors to manage the tax implications of each selling decision.

First-In, First-Out

The FIFO method is the most common way of computing cost basis -- largelybecause if you don't specify another method, the IRS will use this as thedefault.

This method has the added advantage of simplicity -- like the name implies,the calculation assumes that the first shares acquired (first-in) are thefirst sold (first-out).

If you've been in a fund for many years, this method can often result inlarge per-share gains, because the shares you bought oh-so-many years ago werelikely purchased at a lower price than what the fund is trading at now. Ifyou're selling shares in a fund you first bought into during the boom years,it could well be trading at a loss now.

If you're selling the bulk of your fund or if you haven't made that manytransactions, this could be the simplest and effective method.

Specific Identification

The specific identification method enables you to choose exactly whichshares you are selling. Clearly, this strategy gives investors more controlover whether they'll generate a gain or a loss.

That control, though, comes for a price -- your time and patience. UnlikeFIFO, you need to decide in advance of the sale if you want to use thismethod. Send your mutual fund company a written request indicating thenumber of shares to redeem, the date they were purchased and the purchaseprice -- all before you sell.

Average Cost, Single and Double Category

Investors who don't redeem shares all that often may find the average costmethod the easiest. Simply elect to calculate the cost basis of your mutualfund shares using an average price. You'll have to state exactly what you'redoing on your tax return; and once you've informed the IRS that you're usingthis method, you're stuck with it until you get IRS permission to revoke it.

The single category method averages all shares owned at the time of thesale; the double category method requires you to separate shares with along-term holding period (those you've owned for more than a year) fromthose with a short-term holding period (one year or less).

Like the specific identification method, you should send a letter to thefund company identifying which shares you wish to sell. If you don't alertthe fund company to the specifics ahead of the sale, you must first chargethe shares sold against the long-term category, the remainder against sharesthat fall into the short-term category.

No method is necessarily better than any other. Each method could holdwildly different tax implications -- particularly if you've been invested inthe fund for several years. The average cost method might result in ataxable gain, while using the specific identification method would help youisolate the same number of shares to sell, but turn that taxable gain into acapital loss.

You're not allowed to switch back and forth within a fund,though. You can calculate your cost basis differently in each of your funds,but once you've used a method for a fund, you need IRS permission to changeit for that fund.

Most fund companies will calculate your overall basis in a fund for you,although most charge upwards of $75 for the service.

Fidelity Investments, though, rolled out a new program earlier this year. Fidelity has put its new record-keeping system on the Web, allowing itscustomers to sift through as many as 150 of their own purchases to see whatthey paid for each lot of mutual fund shares and, consequently, which wouldbe the most advantageous to sell.

So far, Fidelity's system seems unique, although other big fund shops such as Vanguard are testing the idea of developing their own, similar system.

Until such a tool is available to all investors, though, those who want tomake the most of their investing and tax decisions will just have to sitwith stacks of statements and a calculator. And a whole lot of coffee.

More from Mutual Funds

Retirees Make One Big Investing Mistake - Not Planning!

Retirees Make One Big Investing Mistake - Not Planning!

60 Seconds: How to Survive a Market Meltdown

60 Seconds: How to Survive a Market Meltdown

Need Some Income for Your Portfolio? Consider Closed-End Funds

Need Some Income for Your Portfolio? Consider Closed-End Funds

Closed-End Funds: Everything You Need to Know

Closed-End Funds: Everything You Need to Know

Gold's Price Is Guaranteed to Do This

Gold's Price Is Guaranteed to Do This