Client FAQ: Calculating gains from stock sales

February 8th, 2013 by

Q. I am reviewing my portfolio and considering selling some of my stock. How do I determine what tax basis I have in the publicly-traded shares that I own for purposes of determining my gain or loss if I buy and sell multiple shares at different times? Does keeping track of basis really matter?

A. In order to accurately calculate the gain or loss realized on assets you sell, it is important that you keep track of the bases of all of your assets, including stock. However, when it comes to stock–especially lots of stock bought and sold at different times– it may seem a bit tricky. Fortunately, the rules related to determining the basis of stock sold make the task more manageable.

In general, the basis of stock sold will be determined under one of the following methods: first-in, first-out (FIFO) or specific identification. However, securities held in mutual funds and received as a result as a corporate reorganization may be handled differently.

First-in, first-out (FIFO)

In general, if you buy identical shares of stock at different prices or on different dates and then you sell only part of the stock, your basis and holding period of the shares sold are determined on a first-in first-out (FIFO) basis, based upon the acquisition date of the securities. However, if specific shares sold are adequately identified by the delivery of certificates, by a broker having custody of them, or by a trustee or executor, the basis will be determined by the specific identification method (see below).

The acquisition date for purpose of applying the FIFO method follows the rules for holding period. For example, the acquisition date of securities received by gift takes into account the donor’s holding period, and securities received in an estate distribution includes the holding period of the executor or trustee.

Margin accounts. If your shares are held in a margin account, they are considered sold in the order in which they were purchased, rather than the order in which they were placed in the account.

Stock splits or dividends. If you receive shares as a result of a stock split or tax-free stock dividend, they must be allocated among the original lots to which they relate, with the basis of the original shares allocated between the new shares and the old shares based on their fair market values.

Stock rights. If you acquire additional shares by exercising stock rights, your new shares are treated as a separate lot and your basis in them is equal to the amount paid plus the basis of the stock rights.

Multiple contracts. Shares acquired on the same day under several contracts entered into at different times to purchase stock when issued are deemed acquired for the FIFO rule in the same order as the contracts were entered into.

Specific identification

When you are able to identify the securities to be sold, and do so, FIFO will not apply to your basis allocation. The identity of securities sold or otherwise transferred generally is determined by the certificates actually delivered to the transferee (usually by CUSP number). Thus, if you have records showing the cost and holding period of securities represented by separate certificates, you can often better control the amount of gain or loss realized by selecting the certificates to be transferred. But be careful: delivery of the wrong certificates is binding, despite your intention to transfer securities from a different lot.

Example: You hold 1000 shares of IBM. You purchased 400 shares (actually 100 shares that split twice) in 2000 for $8,000 (net brokerage commissions). You bought 400 more shares in 2005 at $18,000; and 200 more in early 2007 for $16,000. You want to sell 300 shares now when its value is down to $50 per share. If you do not specify to your broker before the trade to sell the 200 shares purchased in 2007 and 100 shares from the 2005 lot, you will realize $9,000 in long term capital gains instead of $500 in long-term capital gain and a $6,000 short-term capital loss.

Mutual funds

If you own shares in a mutual fund, you may elect to determine the basis of stock sold or transferred from your accounts by using one of two average cost methods: either the double-category method or the single-category method. An election to use one of the average basis methods for mutual fund shares must be made on either a timely filed income tax return or the first late return for the first tax year to which the election is to apply. Different methods may be used for accounts in different regulated investment companies.

Securities received in reorganization

An exception to the FIFO rule applies to securities received in reorganization (such as a merger) and not adequately identified. These securities are given an average basis, computed by dividing the aggregate basis of the securities surrendered in the exchange by the number of shares received in the exchange. If securities in the same corporation are received in the exchange, however, they are divided into lots corresponding with those of the securities surrendered and the FIFO principle is applied, in the absence of adequate identification on a later disposition.

As illustrated in an example above, there can be negative tax effects from the misidentification of stock sold. If you are uncertain how to properly identify stock sold, please contact the office for further guidance.
If and only to the extent that this publication contains contributions from tax professionals who are subject to the rules of professional conduct set forth in Circular 230, as promulgated by the United States Department of the Treasury, the publisher, on behalf of those contributors, hereby states that any U.S. federal tax advice that is contained in such contributions was not intended or written to be used by any taxpayer for the purpose of avoiding penalties that may be imposed on the taxpayer by the Internal Revenue Service, and it cannot be used by any taxpayer for such purpose.