How does the internet work?
Notice the packets don’t all take the same route or arrive in order. The numbers let the receiver rebuild the message exactly.
Overview
Short answer
Your data is chopped into numbered packets that routers pass hop by hop, by any working path, and TCP reassembles them.
The internet isn't one network but tens of thousands of separate networks, owned by phone companies, universities, governments and tech firms, that agree to pass each other's traffic. A few simple rules let a message find its way across all of them in a fraction of a second.
Play with the figure, then press Next (or the → key) to go step by step.
Packets, not phone lines
Old telephone calls reserved a whole circuit for the conversation. The internet instead chops data into packets of about 1,500 bytes, each labelled with where it came from and where it is going. Packets from millions of users share the same cables, filling gaps efficiently, and if one path is busy or broken, they can go another way.
Addresses and routers
Every device on the internet is reached through an IP address. Routers at every junction read a packet's destination and forward it one hop closer, using tables they constantly update by talking to their neighbours. Your home router is the first hop; a typical web request passes 10–20 routers. Big networks connect to each other at internet exchange points, and the long-distance links are mostly fibre-optic cables, including hundreds under the oceans.
TCP: putting it back together
IP does its best but makes no promises: packets can be lost, duplicated or arrive out of order. TCP, running on both computers, numbers every piece, acknowledges what arrives, re-sends anything missing and slows down if the network is congested. Video calls and games often use the lighter UDP instead, because a late packet is useless anyway.
Names and the web on top
You type names, not numbers: DNS, the internet's phone book, turns a name like example.com into an IP address. Then your browser speaks HTTP to the server, usually wrapped in HTTPS encryption. Email, streaming, games and apps are all just different conversations riding on the same packets.
Common myths
- "The internet and the web are the same." The web is one service (pages and links) running on the internet.
- "Data travels mostly by satellite." Over 95% of international traffic goes through undersea fibre cables.
- "Someone controls the whole internet." No single body runs it; it is a cooperation of independent networks.
Questions people ask
What is an IP address?
A number that identifies where to deliver packets, like a postal address. IPv4 addresses look like 203.0.113.45; the newer IPv6 ones are much longer, because the world ran out of IPv4 addresses.
What is latency or ping?
The time a packet takes to go there and back. It depends on distance (light in fibre covers about 200 km per millisecond) and on every router along the way. Gamers want it low.
Who pays for the internet’s cables?
Network operators and big tech firms build and share them, recovering costs through subscription fees and charges to other networks for carrying traffic.
What is a traceroute?
A tool that lists every router your packets pass through to reach a destination and how long each hop takes. Try “tracert example.com” on Windows or “traceroute” on Mac and Linux.
Can the internet be switched off?
Not globally, because there are so many independent paths. Countries can block or cut their own connections, and big cable cuts or outages can slow whole regions.
Test yourself
Pick an answer for each question. Every answer comes with an explanation.
0/4 answered01Why is data split into packets?
02What does a router do?
03What does TCP do when a packet is lost?
04What does DNS do?
Sources & more
Sources
- Internet (Wikipedia)(opens in a new tab)
- Packet switching (Wikipedia)(opens in a new tab)
- Transmission Control Protocol (Wikipedia)(opens in a new tab)
- Submarine communications cable (Wikipedia)(opens in a new tab)
Last updated 2026-11-26
Keep exploring
- Internet & WirelessExplore it
How does Bluetooth work?
- Internet & WirelessExplore it
How does WiFi work?
- Internet & WirelessExplore it
How does a QR code work?
- Internet & WirelessExplore it
How does GPS work?
- Internet & WirelessExplore it
How do mobile networks (4G and 5G) work?
- Internet & WirelessExplore it
How do fibre-optic cables work?