Traders are also contemplating a possible shift in monetary policy in China and better-than-expected results in a survey of business confidence in Germany.
West Texas Intermediate crude oil for June delivery gained $1.35 on the New York Mercantile Exchange to $104.07 per barrel.
Home heating oil prices added 0.38 cents to $3.1446 per gallon. Reformulated blendstock gasoline gained 0.95 cents to $3.1195 per gallon.
Natural gas prices added 1.4 cents to $1.928 per million British thermal units.
At the pump, the national average price of unleaded gasoline dropped one penny to $3.881 per gallon Friday from Thursday's $3.891, AAA said.