By Yifan Wang

Lenovo Group Ltd. said its net profit for the first quarter rose 31%, supported by surging demand for personal computers from workers and students forced to stay at home due to the coronavirus pandemic.

The world's largest PC maker posted net profit of $213 million for the April-June period, beating a consensus estimate of $120 million by analysts polled by FactSet.

Revenue rose 7% to $13.35 billion. That compared with the FactSet estimate of $12.21 billion.

The momentum was mainly driven by 10% revenue growth from its PC business, which makes up 80% of Lenovo's total sales. The segment's profitability also improved, thanks to more sales of premium products with high margins, the company said.

Lenovo's smartphone sales were constrained by a sharp drop in demand in major handset market Latin America, where the pandemic's impact has been particularly severe.

Lenovo said it also faced a component shortage for its Chromebooks during the quarter, which prevented it from realizing the full growth potential of the PC market in North America.

The company said it expects the public-health crisis to change consumer behavior, creating more demand for online learning, remote office and in-home entertainment.

Lenovo said it plans to capture the growth opportunities and will continue prudent cost controls to optimize its liquidity and financial health amid the market uncertainty.

Write to Yifan Wang at yifan.wang@wsj.com