A customer pumps gasoline into his car at a service station in San Francisco.

The average price of gasoline has jumped by 8 cents over the past three weeks to $2.18 a gallon for regular grade.

Industry analyst Trilby Lundberg said Sunday that the hike is partly due to crude oil prices edging up. The price at the pump has gone up 41 cents over the past nine weeks.