U.S. retail gasoline prices jumped 5.5 cents over the last week to their highest level in six weeks, the government said on Tuesday.

The national price for regular unleaded gasoline rose to $2.30 a gallon, up 5.6 cents from a year ago, according to the federal Energy Information Administration's weekly survey of service stations.

Click here to visit FOXBusiness.com's Energy Center.

Rising pump prices mirror more expensive crude oil, which accounts for about half the cost of making gasoline.

In the EIA's new weekly survey, West Coast service stations had the priciest gasoline by region, up 6 cents to $2.60 a gallon. Among major cities, San Francisco had the highest pump price at $2.81 a gallon, up 6.8 cents.

The cheapest gasoline was along the Gulf Coast at $2.13 a gallon, up 4 cents from a week earlier. Houston had the best deal at the pump at $2.10 a gallon, up 4 cents.

The EIA also reported that gasoline prices were up 4.2 cents to $2.46 in Seattle, up 7.8 cents to $2.36 in Chicago, up 6.3 cents to $2.33 in Miami, up 4.9 cents to $2.26 in New York City, up 9.7 cents to $2.21 in Denver and up 4.6 cents to $2.20 in Boston.

Separately, the price of diesel fuel increased by 1.5 cents to $2.49 a gallon, up 3.6 cents from a year ago.

The West Coast had the priciest diesel, up 0.7 cent to $2.78 a gallon. Diesel was cheapest along the Gulf Coast, up 2.4 cents to $2.42 a gallon.

Click here to visit FOXBusiness.com's Energy Center.