(Adds forecast, background, gross margin)
March 22 (Reuters) - Chipmaker Micron Technology Inc reported a quarterly profit on Thursday that beat analysts' estimates, driven by robust pricing and soaring demand for its memory chips, used in smartphones and computers, amid supply constraints.
Micron raised its third-quarter revenue forecast to $7.20 billion to $7.60 billion from its earlier estimate of $7.20 billion to $7.35 billion.
The company, which gets most of its revenue from dynamic random access memory (DRAM) chips used in computers and servers, said gross margin rose to 58.1 percent from 36.7 percent in the second quarter.
The Boise, Idaho-based company has seen an uptick in demand and prices for its memory chips as more customers look to store data and apps in smartphones and companies shift to cloud.
Net income attributable to the company rose to $3.31 billion, or $2.67 per share, in the quarter ended March 1, from $894 million, or 77 cents per share, a year earlier.
Excluding items, the company earned $2.82 per share. Net sales rose 58.2 percent to $7.35 billion.
Analysts on average had expected Micron to report a profit of $2.74 per share on sales of $7.28 billion, according to Thomson Reuters I/B/E/S. (Reporting by Laharee Chatterjee in Bengaluru; Editing by Shounak Dasgupta)