Exxon Mobil Corp says fourth-quarter earnings have risen six per cent to $US9.95 billion ($A9.59 billion) with help from higher refining profit margins.
The oil giant barely missed a record for full-year earnings. It earned $US44.88 billion in 2012, about $US340 million shy of its 2008 mark of $US45.22 billion, an all-time high for a publicly traded company.
Exxon still makes most of its money by producing oil and gas, but that end of the business was less profitable than a year ago because of lower prices and production. The company made up the difference in the refining business.
The biggest US oil company said on Friday that net income equalled $US2.20 per share, compared with $US9.4 billion, or $US1.97 per share, a year earlier. But revenue fell five per cent to $US115.17 billion, a drop of $US6.44 billion.
Analysts surveyed by FactSet expected profit of $US1.99 per share on revenue of $US115.22 billion.
Profit from exploration and production of oil and gas fell 12 per cent but still totalled $US7.76 billion, more than three-fourths of Exxon's income for the quarter.
Production fell five per cent, oil prices dipped, and the company took in less money from asset sales.
Exxon produces most of its oil outside the United States.
Profit from overseas production tumbled by nearly one-fifth, but Exxon partly offset that by boosting its profit from US production by more than one-third.
Outside of exploration and production, most of Exxon's other profit comes from refining and selling petroleum products such as petrol, diesel and jet fuel.
That business did very well in the fourth quarter, earning $US1.8 billion, an increase of more than $US1.3 billion from a year earlier, mainly due to higher refining margins.
Other oil refiners have also reported better margins this earnings season as they switched from foreign crude to cheaper US oil.
On Friday, benchmark US crude oil was trading at about $US97 per barrel, $US19 less than the same amount of Brent crude, the measuring stick for international sources of oil.
At Exxon's US Gulf Coast refineries, "We have more than tripled the processing of (cheaper) North American crude over the last couple of years," the company's vice president of investor relations, David Rosenthal, told analysts on a conference call. He declined to give precise figures or percentages.
Irving, Texas-based Exxon Mobil said it spent $US5 billion during the quarter buying back its own shares and plans to spend another $US5 billion on buybacks in the first three months of 2013.
Exxon shares fell 10 US cents to $US89.88 in morning trading. They gained four per cent in January.
Chevron Corp, the No. 2 US oil company, reported that fourth-quarter net income rose 41 per cent to $US7.23 billion.
That result was helped by a gain of $US1.4 billion related to an exchange of assets in Australia.