Companies paid more for raw materials and factory goods in April, mostly because energy prices jumped for the seventh straight month.

The Producer Price Index, which measures price changes before they reach the consumer, rose 0.8 percent last month, the Labor Department said Thursday.

That's slightly above the 0.7 percent gain in March. Excluding the volatile food and energy categories, the core index increased 0.3 percent, the same as in the previous month.

During the past 12 months, the index has increased 6.8 percent, the biggest gain in nearly three years.

Outside of food and energy, prices rose 2.1 percent, up from a 1.9 percent gain in March. Passenger car prices rose 0.5 percent. Part of the reason was demand increased.

But the production of cars in Japan may also have been slowed after the March earthquake and tsunami. That prompted some automakers to phase out rebates, leading to higher prices, economists said.

From celebrating America's 250th birthday to a new ride at Adventureland, NewsdayTV's Elisa DiStefano and Newsday lifestyle editor Meghan Giannotta have your inside look at Newsday's summer FunBook. Credit: Newsday/Howard Schnapp, Kendall Rodriguez, Drew Singh; Anthony Florio, Randee Daddona, Morgan Campbell, Debbie Egan-Chin

Get ready for sun and fun with NewsdayTV's summer FunBook special! From celebrating America's 250th birthday to a new ride at Adventureland, NewsdayTV's Elisa DiStefano and Newsday lifestyle editor Meghan Giannotta have your inside look at Newsday's summer FunBook.

From celebrating America's 250th birthday to a new ride at Adventureland, NewsdayTV's Elisa DiStefano and Newsday lifestyle editor Meghan Giannotta have your inside look at Newsday's summer FunBook. Credit: Newsday/Howard Schnapp, Kendall Rodriguez, Drew Singh; Anthony Florio, Randee Daddona, Morgan Campbell, Debbie Egan-Chin

Get ready for sun and fun with NewsdayTV's summer FunBook special! From celebrating America's 250th birthday to a new ride at Adventureland, NewsdayTV's Elisa DiStefano and Newsday lifestyle editor Meghan Giannotta have your inside look at Newsday's summer FunBook.

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME