Walmart today raised its full-year earnings forecast and bettered estimates for same-store sales as it benefited from additional stimulus cheques that put more money in consumers' pockets and boosted demand for apparel and electronics.

After a bumper year, bolstered by a big push into e-commerce and delivery, Walmart continues to see soaring demand as increased vaccinations and the easing of restrictions bring more people back to its stores.

"Our optimism is higher than it was at the beginning of the year. In the US, customers clearly want to get out and shop.

"We anticipate continued pent-up demand throughout 2021," chief executive Doug McMillon said in a statement.

Walmart said that sales at US stores open at least a year rose 6%, excluding fuel, in the first quarter ended April 30. Analysts had estimated growth of 0.86%, according to IBES data from Refinitiv.

Online sales lost some momentum, rising 37%, compared with a surge of 74% the same time last year and 69% in the previous quarter.

Walmart said it now expects fiscal 2022 earnings to increase high single digits, while previously the company had forecast a slight decline in profit for the year.

But Doug McMillon warned that the second half of the year would have more uncertainty than a typical one.

Walmart's operating income rose 32.3% to $6.91 billion in the quarter, while Walmart reported adjusted earnings of $1.69 per share. Total revenue rose 2.7% to $138.31 billion.