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 (AMZN -0.16%) and China’s Alibaba Group (NASDAQ:BABA), plus brick-and-mortar retailers such as Home Depot (HD -0.92%).

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

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.

Top e-commerce stocks to buy right now

Top e-commerce stocks to buy right now

Source: Yahoo Finance! Market cap data as of March 6, 2024.
Company Market capitalization Description
Amazon (NASDAQ:AMZN) $1.8 trillion Global e-commerce giant and cloud infrastructure leader
Shopify (NYSE:SHOP) $94.3 billion Global leader in e-commerce software
Etsy (NASDAQ:ETSY) $8.1 billion E-commerce marketplace operator focused on handmade products
MercadoLibre (NASDAQ:MELI) $76.5 billion Latin American e-commerce marketplace and payments company

1. Amazon

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 (WMT -0.15%) 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

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.

3. Etsy

3. Etsy

Operating an e-commerce marketplace has generally been more profitable than direct selling online. Marketplaces can benefit from scalability and network effects and don’t have to spend on expensive physical infrastructure like fulfillment centers or worry about shipping costs.

Perhaps no pure-play e-commerce marketplace has been more successful than Etsy, which has carved out a niche in handmade and vintage products. It’s especially popular for things like jewelry, gifts, and stationery like wedding invitations, and it has little direct competition in the artisan e-commerce space. Amazon has operated its own Amazon Handmade marketplace for several years but has failed to gain significant traction against Etsy.

Like other e-commerce stocks, Etsy’s business skyrocketed during the pandemic, with sales more than doubling as shoppers and would-be entrepreneurs both turned to online channels to buy products and make money. Its active seller base jumped 72% to 7.5 million in 2021, showing it has a fast-growing global base of artisan-entrepreneurs, which helps attract more shoppers through network effects.

Etsy has also been expanding its business beyond its namesake website with acquisitions, including Reverb, a musical instrument resale marketplace; Depop, a new and used clothing marketplace; and Elo7, a Brazilian artisan-based marketplace comparable to Etsy.

With those moves, the company is aiming to apply the same strategy that worked so well for Etsy to other niche marketplaces, and that approach will significantly expand the company’s addressable market over the long term, offering investors another reason to get behind the stock.

4. MercadoLibre

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 (MELI -1.27%), 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 (PYPL -0.13%). 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.

Related investing topics

Should you invest?

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.

John Mackey, former 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, and Shopify. The Motley Fool has positions in and recommends Amazon, Etsy, Home Depot, MercadoLibre, PayPal, Shopify, and Walmart. The Motley Fool recommends the following options: short March 2024 $67.50 calls on PayPal. The Motley Fool has a disclosure policy.