Shares of Inc. AMZN, -0.47% slipped 0.4% in afternoon trade Thursday, but was on track to take back its place as the second biggest U.S. company by market capitalization from Microsoft Corp. With 488.97 million shares outstanding as of Oct. 17, the stock’s price of $1,749.00 gives Amazon a market cap of $855.21 billion. Microsoft’s stock was down 0.6% to $111.25, and 7.68 billion shares outstanding as of Oct. 19, the software giant’s market cap is $853.98 billion. Amazon had been No. 2, behind Apple Inc. AAPL, -0.73% briefly seeing market $1 trillion in market cap in intraday trading in late September, until a 20% selloff in October pushed it below Microsoft, which fell 6.6% during the month. Since the end of October, Amazon shares have rallied 9.4% while Microsoft’s stock has gained 4.2%. During that time, the Dow Jones Industrial Average DJIA, -0.29% has gained 1,014 points, or 4.0%. Apple’s market cap is currently $986.14 billion and Google parent Alphabet Inc.’s GOOGL, -1.79% is a distant fourth at $756.63 billion.

Have breaking news sent to your inbox. Subscribe to MarketWatch’s free Bulletin emails. Sign up here.