Profit at Exxon’s exploration and production business fell 12 percent to $7.76 billion. At its chemicals unit, profit more than doubled to $958 million, and refining earnings were $1.77 billion, up sharply from $425 million a year earlier.

Analysts at Barclays had expected refining earnings of $1.53 billion and a chemicals profit of $786 million.

Shares of Exxon edged up to $90.60 in premarket trading, from Thursday’s New York Stock Exchange close of $89.97.