Kellogg has today raised its forecast for full-year earnings after topping estimates for quarterly sales, as higher prices for its breakfast cereals and snacks helped it overcome cost-related challenges.

The company recently announced a three-way breakup to create businesses focused on snacks, cereals, and plant-based meat.

Kellogg, like other global packaged food makers, has been largely successful in raising product prices to counter spiraling costs of freight, labour and ingredients without drawing the ire of consumers.

However, analysts are warning that the company could hit a ceiling on price hikes as households tighten their bets amid raging inflation that shows no sign of cooling.

Kellogg, known for its Corn Flakes and Honey Loops cereals, said average selling prices were up 13.7% in the second quarter, while sales volumes dropped by a marginal 1.5%.

The company said it was expecting annual core net sales to increase in the range of 7-8%, compared with its prior forecast of about 4% growth.

It also expects adjusted full-year operating profit to rise 4-5% on a currency-neutral basis, above its previous expectation of 1-2% growth.

Net sales rose to $3.86 billion in the quarter ended July 2 from $3.56 billion a year earlier. Analysts on average were expecting sales of $3.64 billion, according to Refinitiv IBES.

Net income attributable to Kellogg fell to $326m, or 95 cents per share, from $380m, or $1.11 per share, a year earlier.