By Scott Thurm

How does $35 million for 11 months of work sound?

That's what Hewlett-Packard Co. Chief Executive Leo Apotheker could walk away with, if he is forced out by directors of the Palo Alto, Calif., tech giant, according to calculations by The Wall Street Journal.

Under terms of the contract he signed less than a year ago, in September 2010, Mr. Apotheker would be eligible for severance payment of $7.2 million, equal to twice his annual $1.2 million salary and twice his annual $2.4 million target bonus.

Mr. Apotheker would also be able to keep 783,000 shares of previously restricted stock, valued at roughly $18.8 million, that otherwise would not fully vest until 2013. The total number of shares for these awards could change, depending on H-P's financial and stock performance for the period through October 2013.