The price of oil rose Tuesday after U.S. retail sales unexpectedly increased in April.

Benchmark oil for June delivery was up 24 cents to $95.41 per barrel at midday Bangkok time in electronic trading on the New York Mercantile Exchange. The contract fell 87 cents to finish at $95.17 a barrel on the Nymex on Monday.

The U.S. Commerce Department reported Monday that Americans increased spending at retailers last month. Retail sales increased 0.1 percent in April from March, beating expectations of a slight decline. The improvement, while slight, is worth noting because consumer spending comprises roughly 70 percent of the country's economic activity.

Later Tuesday, traders are looking for good news when Germany's ZEW institute releases its monthly investor confidence index for Europe's biggest economy.

"The German ZEW index should benefit from the strong rebound in equities and could surprise to the upside," said Credit Agricole CIB in Hong Kong in an email commentary.

Brent crude, which is a benchmark for many international oil varieties, rose 1 cent to $102.65 a barrel on the ICE Futures exchange in London.

In other energy futures trading on Nymex:

— Wholesale gasoline rose 1 cent to $2.83 a gallon.

— Heating oil was little changed at $2.892 a gallon.

— Natural gas rose 1 cent to $3.931 per 1,000 cubic feet.