Marathon Petroleum (MPC) merger with Andeavor (ANDV)

Marathon Petroleum completed its merger with Andeavor on 10/1/18 for cash and Marathon stock.

The IRS form 8937 for this merger was found in the Investor Relations area of the Marathon Petroleum web site.

This merger originally gave ANDV shareholders a choice between an all-cash and an all-stock option. The all-stock option was cancelled when it was oversubscribed. A Marathon press release stated the oversubscription could be treated as a sale of a portion of ANDV shares (all-cash option) plus the remaining ANDV shares using the all-stock option. Our original instructions used this press release as the basis for dealing with the over-subscribed all-stock option. Form 8937 states the all-stock option was cancelled and replaced with a cash plus stock merger consideration. The tax consequences of this are much different from the press release treatment so these new instructions were written to reflect this new information.


For Andeavor shareholders who originally chose the all-stock option this merger is a now a cash-plus-stock reorganization. Andeavor shareholders who chose the all-cash option still treat this as a sale. All the information below is from the information available from IRS form 8937.

First, if you have made any entries for this transaction in the Club Accounting software, you should delete them. These instructions are for users of Club Accounting 3, the desktop version of the software. Myiclub users can use the Merger with Cash transaction. Instructions for Myiclub users are after the instructions for Club Accounting 3 users.

To record this merger will require multiple entries in the Club Accounting 3 software. The basic outline of these entries is given below:

Calculate the capital gains, both long-term (LTCG) and short-term (STCG) on a block by block basis. Adjust for the structure of the merger (Gain can be no greater than cash received and losses may not be recognized.)

Enter capital gain distributions for the LTCG and STCG.

Enter a smaller Return of capital for the remainder of the cash received, if any.

Enter the actual merger transaction

The capital gain realized is limited to the actual cash received so some clubs may need to adjust the capital gain amounts before entering the capital gain distributions. Instructions for doing this are included. The total merger consideration is $153.8512 per Andeavor share. Your capital gain will be based on this total consideration with a limit that the total capital gain cannot exceed the total cash received, excluding cash-in-lieu of fractional shares.


  1. 1. Calculate the capital gain.

The total merger consideration is $153.8512 per Andeavor share. This is $19.80 in cash and $134.0512 in Marathon Petroleum shares. Calculate the total value received for your Andeavor shares by multiplying 153.8512 by the total shares of Andeavor owned. This must be done on a block by block basis.

Total Proceeds = [153.8512 x (# of Andeavor shares owned in each block)]. (Do this calculation for each block of shares.)

Write down the total proceeds amount on paper or spreadsheet for each block of Andeavor shares owned. From the total proceeds subtract the cost basis of that particular block. This will give you the gain for each block of Andeavor shares using the total proceeds. Ignore any blocks with a loss. The cost basis can be found by starting a partial sale of Andeavor. A block selection screen will appear with the date purchased, number of shares and current cost basis for each block. Copy this information then cancel the sale.

Next calculate the cash received for each block, for those blocks with a capital gain. The equation for this is [19.80 x (# of Andeavor shares owned in each block)]. For each block compare the cash received for that block with the capital gain calculated previously for that block. The smaller of the numbers is your gain from that block. Remember to ignore any blocks with a calculated loss using the total proceeds equation. Once you have the adjusted capital gain for each block with a gain, which is the smaller of a) the cash received or b) the total proceeds gain, add all the gains from each block with a gain. This will be your total capital gain for this merger. Remember to differentiate between short term and long-term gains. (Check the purchase date of each block and compare it to the merger completion date of 10/1/18.)

You should now have a figure for long-term and short-term capital gains recognized from this merger. If this amount is less than the total cash received, not including cash-in-lieu for fractional shares, then subtract the sum of your capital gains from the total cash received. This will be [19.80 x (total # of Andeavor shares owned)] – (sum of capital gains). This amount will be entered as a return of capital.


  1. Accounting for Cash Received

All of the following entries use the cash dividend screen, in CA3 this is Transactions > Cash Dividend or Distribution.

Date these transactions 10/1/18

The security should be Andeavor

Change the “type” field to Long-term capital gain.

Amount should be your LTCG as calculated above.

Next repeat the process for your short-term capital gain.

Change the “type” field to Short-term capital gain.

Amount should be your STCG as calculated above.

Finally, enter a return of capital entry, if needed.

Change the “type” field to Return of capital.

Amount should be:  (Total Cash received) – (LTCG + STCG)

If your LTCG + STCG = Total Cash Received, no return of capital entry is needed.

Continue to step 3, The Merger.


  1. The Merger

Go to Transactions > Merger. If you are unfamiliar with merger transactions you can get help at this URL:


Here is the information you need to complete the merger.

Date: 10/1/18

Old Security or Merging Company: Andeavor (ANDV)

Price per share of old Security / Andeavor: Use the last valuation price

Cash received:  See your broker statement for cash-in-lieu

New Security: Marathon Petroleum (MPC)

Shares received1.63 x (# of ANDV shares owned)

            (Remember to include fractional shares.)

Save the transaction and this is finally done.



A worksheet is provided below to record the items that need to be calculated.



  1. A. Total Proceeds received.

      153.8512 x (# of Andeavor shares in block)  =  ­­­­­­­­­­­­­­­­­­­­­­­­____________________________


  1. B. Total cash received.

[19.80 x (# of Andeavor shares in block)] = ________________


  1. C. Cost Basis of this block of Andeavor shares _______________ (from accounting records)


  1. D. Total Proceeds LTCG =   _____________________ (A-C)   fill-in D or E as appropriate


  1. E. Total Proceeds STCG =   ____________________(A-C)      fill-in D or E as appropriate


  1. Actual LTCG ___________________  (the lessor of B or D.)


  1. Actual STCG ____________________(the lessor of B or E.)


  1. LTCG + STCG = __________________.


  1. Return of Capital amount = (Total Cash Received) – (LTCG + STCG) = ______________

            Use this if (LTCG + STCG) is less than Total Cash received.


  1. Shares of Marathon Petroleum Received = 1.63 x (# total of Andeavor shares owned) = _________________. (For the merger transaction)


















Instructions for Myiclub Users.


Use the Merger with cash transaction.

Step 1

Date – 10/1/2017

Merging Company – ANDV (Andeavor)

Step 2

Be sure to choose the option Transaction is taxable to a maximum of the cash received.


Cash per share received:  19.80

Exchange ratio of new to old shares: 1.63

Price per share of new shares on merger date: 82.24

Reorganization Fee: See your broker statement


Symbol of New Company:  MPC

Shares received and Price per Share should auto-fill from information above.

Cash Received: See your broker statement for cash-in-lieu amount


Note: In Merger with cash transactions, realized capital gains and the cost basis of the new shares have a component dependent on the price per share entered in the entry screens. In our experience brokers tend to use the price per share published by the companies on their websites in their guidance to shareholders. If the companies publish guidance with a share price, we use that share price in our instructions to minimize possible differences between the accounting records and broker information. In cases where no guidance is available, we will choose the lower of the opening or closing price on the effective date. Either of these prices is acceptable to the IRS and by choosing the lower price some realized capital gains will be deferred to a later date. However, there is always the chance the price we choose will not be the price chosen by your broker. The gain from the merger and cost basis of the new shares recorded in your accounting records will then differ from your broker information. Because of the lack of detail in the tax code, both our choice and your broker’s choice would be reasonable estimates of market value for the shares received. Your records are NOT incorrect because they differ from your broker. Tax return forms do have specific areas to report these usually small differences. Our tax printer software handles these adjustment entries automatically in the normal operation of the software.