Still, the company’s chief financial officer, Brett Biggs, cautioned that the coronavirus situation was still too “fluid” to make any definitive pronouncements about how it could play out for Walmart. Mr. Biggs said it was possible that the fallout from the virus could have a “couple of cents negative impact” on earnings per share in the coming quarters.

The virus’s impact on Walmart’s supply chain is also uncertain, but the retailer’s executives suggested that the effect could be more muted than at other companies.

If the coronavirus continues to idle factories over the next few months, Walmart said there could be some “impact on shipping.” But Walmart also stressed that two-thirds of the products it sells — which now consist primarily of food — are sourced from the United States. The other third comes from countries like China, other parts of Asia and Mexico.

Walmart declined to specify how many of its goods were made in China, but Wells Fargo analysts recently estimated that 15 percent of its merchandise came from that country. Other retailers, like Target and Best Buy, have much higher exposure to Chinese manufacturing.

Walmart was one of the first American companies to source its merchandise in China. But as the Chinese economy has evolved, the cost of manufacturing there has increased, prompting companies like Walmart to source their goods in less costly countries.