Demand and supplies were affected. Power outages caused by Hurricane Sandy and closing of some businesses could slow demand temporarily, while flooding at two refineries, including the second-largest on the East Coast near Philadelphia, were under scrutiny, as well.
West Texas Intermediate crude oil for December delivery added 40 cents to reach $86.09 per barrel on the New York Mercantile Exchange.
Reformulated gasoline lost 0.03 cents in late trading to $2.63 a gallon. Home heating oil shed 0.37 cents to hit $3.0586 a gallon.
Natural gas added 0.9 cents to reach $3.701 per million British thermal units.
At the pump, the average price for a gallon of regular unleaded gasoline was $3.521, down from Tuesday's $3.534, AAA reported.