Amazon on Thursday posted the biggest profit in its 26-year history as online sales and its lucrative business supporting third-party merchants surged during the coronavirus pandemic.
Shares of Amazon, the world's largest online retailer, rose 5 percent in after-hours trade.
While rival brick-and-mortar retailers have had to shut stores during government-imposed lockdowns, Amazon hired 175,000 people in recent months and saw demand for its services soar. The company said revenue jumped 40 percent from a year earlier to $88.9 billion.
Amazon had forecast it might lose money in the just-ended second quarter because it expected to spend some $4 billion on protective equipment for staff and other expenses related to COVID-19. It did just that - and still earned $5.2 billion - double its net income from a year prior.
Jeff Bezos, who founded the company in July 1994 and is the world's richest person, said in a statement, "This was another highly unusual quarter."
Amazon's shares have risen by more than 60 percent this year, adding to the wealth of Bezos, its biggest stockholder. The S&P 500 is virtually flat.
Jesse Cohen, senior analyst at Investing.com, said Amazon's business model sets it up "to expand its e-commerce dominance even more broadly as the global COVID-19 pandemic continues to flare."
Online store sales jumped 48 percent to $45.9 billion in the second quarter. Meanwhile, merchants paid Amazon more to fulfill and sponsor their products in order to reach the company's loyal customers. That resulted in a 52 percent and 41 percent jump in seller services revenue and other revenue such as from ads, respectively.
Amazon's cloud services also saw higher demand as companies switched to virtual offices in the pandemic. Revenue from Amazon Web Services (AWS), which sells data storage and computing power in the cloud, rose nearly 29 percent to $10.81 billion.
Still, that fell just short of analysts' estimates of $10.95 billion, according to IBES data from Refinitiv. The cloud business of rival Alphabet's Google meanwhile was up over 43 percent year over year.
Technology analyst Patrick Moorhead said, "AWS continued to grow, albeit at a slower rate than last quarter."
'Everyone was buying groceries'
Brian Olsavsky, Amazon's chief financial officer, told reporters that the outsised profit surprised the company because at the time it issued its forecast last quarter, shoppers were buying lower-margin products.
"Everyone was looking for masks; everyone was looking for gloves; everyone was buying groceries online. That mix is not super profitable," he said. "What we saw in Q2 was not only did the mix start to shift back to a more normal mix" but that "we also were able to ship a lot more than we had originally thought."
Online grocery sales tripled year over year, and worldwide streaming video hours doubled, Olsavsky said on a call with analysts. Delivery and video services bundled with the company's loyalty club Prime are a key reason why customers subscribe to that program and do more of their shopping on Amazon.
Amazon also posted a rare operating profit in its international business, which Olsavsky attributed to a step up in customer spending in Europe and Japan during the pandemic.
The company forecast net sales of $87 billion to $93 billion for the third quarter, ahead of analysts' expectations of $86.34 billion, according to IBES data.
Olsavsky said that Prime Day, the company's lucrative summer marketing blitz, would be pushed back to the fourth quarter, excluding its business in India. He also said that per usual the current quarter would see higher costs as the company gears up for the holiday season, even more pronounced now due to higher-than-usual sales.
It would spend more than $2 billion in COVID-related expenses during the third quarter as well, he said on the analyst call.
Still, Amazon anticipates operating profit between $2 billion and $5 billion for the quarter, the midpoint of which is higher than analysts were expecting, according to research firm FactSet.
© Reuters