Less than a generation ago, e-commerce was only in its infancy, born on the World Wide Web as a vision of entrepreneurs such as Jeff Bezos.

Today, e-commerce accounts for almost $1 trillion in annual retail sales in the U.S., or 13% of the total retail industry. Globally, it’s $5 trillion, led by companies such as Amazon (NASDAQ:AMZN) and China’s Alibaba Group (NASDAQ:BABA), plus brick-and-mortar retailers such as Home Depot (NYSE:HD).

The tremendous growth in e-commerce has propelled a number of big winners on the stock market, but there’s still plenty of opportunity left in online retail. Annual e-commerce sales grew about 15% in the 2010s, and the adoption of online shopping accelerated during the COVID-19 pandemic.

In 2022, however, growth has slowed as spending patterns shift back to brick-and-mortar stores and services such as travel and restaurants. Still, there’s plenty of long-term growth left in e-commerce. If you’re looking for a list of the top e-commerce companies in the world, keep reading below.

Woman in coffee shop holding tablet and credit card
Source: Getty Images

Top e-commerce stocks

Source: Yahoo Finance! Market cap data as of August 12, 2022.
Company Market capitalization Description
Amazon (NASDAQ:AMZN) $1.4 trillion Global e-commerce giant and cloud infrastructure leader
Shopify (NYSE:SHOP) $51.1 billion Global leader in e-commerce software
Etsy (NASDAQ:ETSY) $14.5 billion E-commerce marketplace operator focused on handmade products
MercadoLibre (NASDAQ:MELI) $52 billion Latin American e-commerce marketplace and payments company

1. Amazon

For most American investors and consumers, Amazon is the first and last name in e-commerce. The company has essentially defined the space, launching in 1995 as an online bookseller before expanding into myriad other categories over the years. Its marketplace now has a whopping 350 million stock keeping units (SKUs), or unique items, for sale.

Without a direct e-commerce competitor in the U.S., Amazon has grown rapidly throughout its history, and innovations, such as its third-party marketplace (Fulfillment by Amazon) and Amazon Prime, have been key to its growth. The company has also built competitive advantages through real estate, opening a network of more than 100 fulfillment centers in the U.S.

Today, Amazon is by far the largest e-commerce company in the world by revenue. It’s even challenging Walmart (NYSE:WMT) to be the biggest company in the world by revenue and will likely soon pass the retail giant in that category. Amazon finished 2021 with $470 billion in revenue, which was behind Walmart at $573 billion -- but Amazon has historically grown much faster.

Thanks to its third-party marketplace, which now makes up the majority of sales on its site, Amazon has a larger gross merchandise volume (GMV) than Walmart, but it trails Chinese e-commerce giant Alibaba in that category.

Amazon has also built one of the world’s largest cloud infrastructure services, which has become the primary profit engine for the company. Together, the e-commerce and cloud computing businesses create a massive set of competitive advantages for the company and should lead to continued outperformance for a stock that is up more than 100,000% since its 1997 IPO.

Although e-commerce sales growth has been sluggish through the first half of 2022, that’s likely just a temporary slowdown. Amazon’s guidance indicates it should reaccelerate in the second half of the year.

2. Shopify

Shopify has emerged in the past few years as Amazon’s greatest competitor. The software-as-a-service (SaaS) company didn’t do it by challenging Amazon directly in online retail or even by building an e-commerce marketplace. Instead, it’s established itself as the tech infrastructure supporting more than 2 million merchants around the world, operations that range from mom-and-pop businesses to global brand giants such as Kraft Heinz (NYSE:KHC).

Shopify provides all the tools that any company needs to run an e-commerce business, including everything from website building and a mobile app to services such as marketing, payment processing, financial tracking, and even loans.

The company is the clear leader in e-commerce software; Amazon pulled the plug on its competitor product Amazon Webstore after recognizing that it couldn’t catch Shopify. More recently, Amazon has launched “Buy with Prime,” allowing independent e-commerce sites, including Shopify sellers, to ship through Amazon Prime. It’s not clear yet how much of a threat this is to Shopify, but investors should keep an eye on it.

The Amazon rivalry has helped define Shopify. CEO Tobi Lutke likes to call the company’s strategy “arming the rebels,” and that’s helped drive exponential growth for Shopify from $389 million in revenue in 2016 to $4.6 billion in 2021. Profitability has also improved as the business has scaled up, just as it should with a SaaS business.

Shopify stock crashed in early 2022 along with other high-priced tech stocks, and its growth rate has been slowed by pandemic headwinds, but the challenges appear to be mostly cyclical, and revenue growth should eventually reaccelerate.

4. MercadoLibre

E-commerce isn’t just a domestic phenomenon. Online shopping has taken off internationally as well, and, in Latin America, the clear leader is MercadoLibre (NASDAQ:MELI), which operates in 18 countries in Latin America but makes about half of its revenue in Brazil.

MercadoLibre’s primary businesses include an e-commerce marketplace for both third- and first-party sales; shipping services through Mercado Envios; and a suite of financial services under the Mercado Pago umbrella, which includes mobile point-of-sale devices, digital wallets for consumers, and loans through Mercado Credito.

In some ways, MercadoLibre resembles a hybrid of Amazon and Shopify, with some of the functions of a fintech company such as PayPal (NASDAQ:PYPL). The formula has been just as successful in Latin America as in the U.S. For example, Mercado Pago was originally conceived as a tool to help MercadoLibre’s marketplace, but it grew so fast that most payments processed through the service now come from the MercadoLibre platform, with Mercado Pago essentially functioning as a standalone business.

In 2021, total payment volume on Mercado Pago topped $75 billion, while GMV on the marketplace was about $30 billion. MercadoLibre is growing rapidly, with profitability increasing and revenue up 74% to $7.1 billion in 2021. The company has continued to deliver brisk growth in 2022, avoiding the slowdown that has hit U.S. e-commerce companies.

Considering that e-commerce in Latin America remains underpenetrated and the middle class is expanding quickly, MercadoLibre still has a large addressable market ahead that should offer the company many more years of high growth.

Are e-commerce stocks right for you?

E-commerce stocks offer a lot of upside potential for investors, but they come with risks. Many e-commerce companies aren’t profitable, and even the ones that are profitable generally have only minimal profits. The hangover in the sector from the pandemic recovery also adds to the risks.

Most e-commerce stocks fell sharply in late 2021 and 2022 as growth rates slowed after lapping the start of the pandemic and as market sentiment shifted away from growth stocks in anticipation of rising interest rates. However, the decline means it could be a great time to get exposure to this sector since many of these stocks are trading at a discount from their historical valuations.

Investors should be aware that e-commerce is riskier than most stock market sectors, but the track record of these stocks shows that just one successful e-commerce stock can deliver life-changing returns.

4. MercadoLibre

E-commerce isn’t just a domestic phenomenon. Online shopping has taken off internationally as well, and, in Latin America, the clear leader is MercadoLibre (NASDAQ:MELI), which operates in 18 countries in Latin America but makes about half of its revenue in Brazil.

MercadoLibre’s primary businesses include an e-commerce marketplace for both third- and first-party sales; shipping services through Mercado Envios; and a suite of financial services under the Mercado Pago umbrella, which includes mobile point-of-sale devices, digital wallets for consumers, and loans through Mercado Credito.

In some ways, MercadoLibre resembles a hybrid of Amazon and Shopify, with some of the functions of a fintech company such as PayPal (NASDAQ:PYPL). The formula has been just as successful in Latin America as in the U.S. For example, Mercado Pago was originally conceived as a tool to help MercadoLibre’s marketplace, but it grew so fast that most payments processed through the service now come from the MercadoLibre platform, with Mercado Pago essentially functioning as a standalone business.

In 2021, total payment volume on Mercado Pago topped $75 billion, while GMV on the marketplace was about $30 billion. MercadoLibre is growing rapidly, with profitability increasing and revenue up 74% to $7.1 billion in 2021. The company has continued to deliver brisk growth in 2022, avoiding the slowdown that has hit U.S. e-commerce companies.

Considering that e-commerce in Latin America remains underpenetrated and the middle class is expanding quickly, MercadoLibre still has a large addressable market ahead that should offer the company many more years of high growth.

Is e-commerce a good investment?

E-commerce stocks offer a lot of upside potential for investors, but they come with risks. Many e-commerce companies aren’t profitable, and even the ones that are profitable generally have only minimal profits. The hangover in the sector from the pandemic recovery also adds to the risks.

Most e-commerce stocks fell sharply in late 2021 and 2022 as growth rates slowed after lapping the start of the pandemic and as market sentiment shifted away from growth stocks in anticipation of rising interest rates. However, the decline means it could be a great time to get exposure to this sector since many of these stocks are trading at a discount from their historical valuations.

Investors should be aware that e-commerce is riskier than most stock market sectors, but the track record of these stocks shows that just one successful e-commerce stock can deliver life-changing returns.

John Mackey, CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. Jeremy Bowman has positions in Amazon, Etsy, MercadoLibre, PayPal Holdings, and Shopify. The Motley Fool has positions in and recommends Amazon, Etsy, Home Depot, MercadoLibre, PayPal Holdings, Shopify, and Walmart Inc. The Motley Fool recommends the following options: long January 2023 $1,140 calls on Shopify and short January 2023 $1,160 calls on Shopify. The Motley Fool has a disclosure policy.