E-commerce, short for electronic commerce, is the buying and selling of goods and services over the internet. The order is placed online, through a website, app or messaging service, and payment is usually made electronically, although cash on delivery is still common in parts of Asia, Africa and the Middle East. It covers physical goods shipped to a door, digital products such as software and streaming, and services booked online.
E-commerce is a business activity, and this entry covers it as such: its models, size, logistics and rules. The money side, how a shopper's card or wallet payment reaches the seller, is covered in e-commerce payments, and the software and marketplaces that sellers build their shops on are covered in e-commerce platforms. Selling across borders is a large and growing share, discussed more widely under global commerce.
E-commerce in plain terms
A traditional shop needs a building, shelves and opening hours. An online shop replaces the building with a web page, the shelves with photos and descriptions, and the opening hours with a checkout that never closes. The customer browses, clicks "buy", pays, and a parcel arrives a few days later.
Behind that simple flow sit three jobs that a market stall does in one place: showing the goods, taking the money and handing over the item. Online, each job is done by a different specialist: a website or marketplace, a payment company, and a warehouse and courier. Most of what makes e-commerce hard is getting those three to work smoothly together.
History
Electronic ordering existed before the web, through systems such as electronic data interchange between businesses and the French Minitel network. Selling to consumers on the web took off in the mid-1990s: Amazon began as an online bookshop in 1995 and eBay launched its auction site the same year. Secure browser connections made card payments online practical, and services such as PayPal grew out of the need to pay strangers on auction sites.
The 2000s brought broadband and larger catalogues; the 2010s brought smartphones, one-tap digital wallets and social media selling. The COVID-19 pandemic in 2020 pushed many shoppers online for the first time. According to the US Census Bureau, e-commerce made up 17.1% of US retail sales in the second quarter of 2026, up from under 1% in 1999.
Business models
- Business-to-consumer (B2C). Retailers sell directly to the public, either from their own sites or through marketplaces.
- Business-to-business (B2B). Firms buy supplies and wholesale goods online, often on credit terms with invoices rather than card payments. By value this is larger than B2C.
- Consumer-to-consumer (C2C). Individuals sell to each other on resale and classifieds sites, which handle trust and marketplace payments.
- Direct-to-consumer brands. Manufacturers skip retailers and sell under their own name, relying on online advertising and their customer acquisition cost.
- Subscriptions and digital goods. Software, media and boxes of goods sold as a subscription with recurring payments.
- Drop shipping. The seller never holds stock; a supplier ships directly to the buyer, as explained under drop shipping.
Logistics and fulfilment
Getting the item to the buyer is often the costliest part of online retail. Sellers store stock in their own or outsourced fulfilment centres, pick and pack orders, and hand them to couriers for the last mile. Free or next-day delivery and easy returns are now expected in many markets, which squeezes margins. Cross-border orders add customs declarations, duties and product classification by HS code.
In markets where card use is low, logistics firms also collect cash on delivery and remit it to the seller, and mobile money and instant payment systems such as PIX in Brazil and UPI in India have become the main online payment methods.
Regulation and tax
Online sellers are subject to ordinary consumer law plus rules written for distance selling: the right to cancel, clear pricing, and disclosure of the seller's identity. Personal data collected at checkout falls under privacy laws such as the EU's GDPR.
Taxes have been a long-running issue. In the United States, the Supreme Court's 2018 decision in South Dakota v. Wayfair allowed states to require remote sellers to collect sales tax, and most states now make marketplaces collect it for their sellers. The EU's 2021 e-commerce VAT package removed the exemption for small imported parcels and created one-stop-shop filing. Payment fraud, counterfeit goods and fake reviews remain the main risks, which is why fraud prevention tools are built into most checkouts.
A newer development is agentic commerce, in which AI agents search, compare and buy on a shopper's behalf, raising fresh questions about consent and liability.