TheHowPage
Interactive Explainer

How the Internet Works

From a 4-node experiment in 1969 to 500 terabytes per second — trace the journey of every click through cables, protocols, and servers.

0
internet users
0+
TB/sec global traffic
Scroll to begin ↓

It Started with Four Computers

On October 29, 1969, a UCLA grad student named Charley Kline sat at a teletype terminal and tried to send the word “LOGIN” to a computer at Stanford Research Institute, 350 miles away. The system crashed after two letters. The internet's first message was an accidental “LO.”

That connection — between just four university computers — was ARPANET, funded by the U.S. Department of Defense. It was designed to survive a nuclear attack by routing messages through any available path, rather than a single central hub. That idea — packet switching — would become the foundation of the modern internet.

Over the next two decades, ARPANET grew from 4 nodes to thousands. Email was invented (1971). TCP/IP was adopted as the universal protocol (1983). Tim Berners-Lee proposed the World Wide Web (1989). And in 1993, the Mosaic browser made the web visual and accessible to everyone — the floodgates opened.

The Internet Timeline

1969

4 connected nodes

UCLASRIUCSBUTAH

1969

First ARPANET message: "LO"

Charley Kline at UCLA tried to send "LOGIN" to Stanford. The system crashed after two letters. The internet's first message was an accidental "LO."

1971

First email sent

Ray Tomlinson sends the first network email using the @ symbol to separate user from machine. He later said the message was "something like QWERTYUIOP."

1973

TCP/IP proposed

Vint Cerf and Bob Kahn publish the design for TCP — the protocol that would become the common language of the internet.

1983

TCP/IP goes live — the internet is born

On January 1, 1983, ARPANET switches to TCP/IP. This is often called the "birthday of the internet." Every connected device now speaks the same protocol.

1989

Tim Berners-Lee proposes the World Wide Web

A physicist at CERN writes a proposal for a "distributed hypertext system." It would become the web — HTML, URLs, HTTP.

1991

First website goes live

info.cern.ch — the first website in history. It described the World Wide Web project itself. Plain text, blue links, no images.

1993

Mosaic browser launches

The first browser with inline images. Suddenly the web is visual, intuitive, and accessible to non-engineers. The floodgates open.

1995

The internet goes mainstream

16 million users. Amazon and eBay launch. The Netscape IPO kicks off the dot-com boom. The internet is no longer a research project — it's a revolution.

The Explosion

In 1995, 16 million people used the internet — fewer than the population of New York City. By 2026, that number has reached 5.56 billion — 69% of every human being alive. No technology in history has scaled this fast.

Radio took 38 years to reach 50 million users. Television took 13 years. The internet did it in 4. Facebook did it in 3.5. ChatGPT did it in 2 months. Each new wave of technology rides on the infrastructure of the last.

Internet users worldwide

16.0 Million

The Physical Internet

The internet is not in the cloud. It is underwater. Over 550 submarine cables sit on the ocean floor, carrying 99% of intercontinental data. These fiber optic cables — about the thickness of a garden hose — span 1.4 million kilometers. That's enough to wrap the Earth 35 times.

A single modern cable like Google's Grace Hopper can carry 340 terabits per second. Building one costs billions of dollars and takes years. And yes — sharks occasionally bite them. Cable operators armor the most vulnerable sections with steel wire and Kevlar-like wrapping.

On land, over 8,000 data centers worldwide house the servers that store and process everything from your emails to Netflix streams. Together, they consume about 2.5% of global electricity — more than many individual countries.

MAREA

2017

Virginia Beach, USABilbao, Spain

6,600 km200 Tbps

EllaLink

2021

Sines, PortugalFortaleza, Brazil

6,000 km72 Tbps

SEA-ME-WE 6

2025

SingaporeMarseille, France

19,200 km100 Tbps

Equiano

2022

Lisbon, PortugalCape Town, South Africa

12,000 km144 Tbps

AEC-1

2024

Hong KongEurope

12,000 km100 Tbps

Dunant

2020

Virginia Beach, USASaint-Hilaire-de-Riez, France

6,600 km250 Tbps

Grace Hopper

2022

New York, USABude, UK & Bilbao, Spain

6,234 km340 Tbps

PEACE

2022

PakistanFrance

15,000 km96 Tbps

550+

Submarine cables

carrying 99% of intercontinental data

1,400,000 km

Total cable length

enough to wrap the Earth 35 times

8,000+

Data centers worldwide

from hyperscale to colocation

2.5%

Global electricity consumed

data centers use more power than many countries

8,000 m

Deepest cable depth

deeper than all but the deepest ocean trenches

10B+

Cost of a transatlantic cable

billions of dollars to lay a single cable

The Layer Cake

How do billions of devices all speak the same language? Through a layered system of protocols called TCP/IP. Think of it like sending a letter: you write the message (Application layer), seal it in an envelope (Transport), write the address (Internet), and hand it to the postal service (Network Access).

Each layer wraps the data from the layer above with its own header — a process called encapsulation. At the destination, each layer strips off its header and passes the data up. The beauty is that each layer only cares about its own job. HTTP doesn't know about fiber optics. Ethernet doesn't know about web pages.

4

Application

HTTP · HTTPS · DNS · FTP · SMTP · WebSocket

3

Transport

TCP · UDP · QUIC

2

Internet

IP · ICMP · ARP

1

Network Access

Ethernet · Wi-Fi · Fiber · 5G

Finding the Address

You type “google.com” into your browser. But computers don't understand names — they need an IP address like 142.250.80.46. The system that translates between the two is DNS — the Domain Name System, often called the “phone book of the internet.”

Your browser first checks its own cache. Then the operating system cache. If neither has the answer, a recursive resolver (usually run by your ISP) starts a chain of queries: root nameserver → .com TLD server → google.com's authoritative nameserver. The whole process takes 20–120 milliseconds — and the result is cached at every level so the next lookup is instant.

1

Browser Cache

Your BrowserLocal Cache

Browser checks its own cache first. If you visited this site recently, the answer is already stored.

2

OS Cache

BrowserOperating System

If the browser cache misses, the OS checks its DNS cache (/etc/hosts on Mac/Linux).

3

Recursive Resolver

Your DeviceISP DNS Server

Your ISP's DNS resolver (or a public one like 8.8.8.8) starts the lookup chain.

+5ms
4

Root Nameserver

ResolverRoot Server

The root server doesn't know the IP, but it knows who handles ".com" — and sends you there.

+15ms
5

TLD Nameserver

Resolver.com TLD Server

The .com TLD server knows which nameserver is authoritative for "google.com" and directs you there.

+15ms
6

Authoritative Nameserver

Resolvergoogle.com NS

The authoritative nameserver has the actual IP address. It responds with 142.250.80.46.

+10ms
7

Answer

ResolverYour Browser

The resolved IP is returned and cached at every level. Next lookup will be instant.

+5ms

The Handshake

Before any data is exchanged, your browser and the server need to establish a connection. TCP (Transmission Control Protocol) does this with a 3-way handshake: your device sends a SYN (“I want to connect”), the server replies with SYN-ACK (“Acknowledged, let's connect”), and your device confirms with ACK (“We're connected”). This takes 10–100 milliseconds.

TCP guarantees that every packet arrives and arrives in order. If a packet is lost, TCP retransmits it. This makes it perfect for web browsing, email, and file transfers — anything where accuracy matters. For video calls and gaming, UDP skips the handshake and reliability guarantees for raw speed — a dropped frame matters less than latency.

💻

Client

SYN
SYN-ACK
ACK
🖥️

Server

The Journey

When you click a link, your request doesn't travel in a straight line. It hops through routers, exchange points, and submarine cables — each hop adding a few milliseconds. A single web page might require 50–100 separate packets, each potentially taking different routes, all reassembled at the destination by TCP.

A packet from New York to Tokyo travels ~10,850 km through submarine fiber optic cables under the Pacific Ocean in about 83 milliseconds. London to Sydney takes ~153 ms across 17,000 km of cable through the Mediterranean, Red Sea, and Indian Ocean. The speed of light in fiber is the fundamental limit — no amount of engineering can beat physics.

0ms

Total latency

0km

Distance traveled

1/8

Hops

💻

Your Device

device

New York, NY

Your laptop, phone, or desktop.

+0ms latency0kmEthernet/Wi-Fi

The Secret Handshake

Without encryption, anyone between you and the server — your ISP, a coffee shop Wi-Fi owner, a government — can read every byte you send. TLS (Transport Layer Security) fixes this with a clever trick: the server sends you a public key (a padlock), you lock a random secret with it, and only the server's private key can unlock it.

Once both sides share the secret, they switch to fast symmetric encryption for the rest of the conversation. This is why you see a padlock icon in your browser — it means TLS is active. Today, over 95% of web traffic uses HTTPS. The “S” stands for “Secure” — it means TLS is protecting your connection.

TLS Handshake Steps

👋1. Client Hello

Browser says hello and lists the encryption methods it supports.

📜2. Server Hello + Certificate

Server picks an encryption method and sends its public key certificate.

🔐3. Key Exchange

Browser generates a random secret, encrypts it with the server's public key, and sends it. Only the server can decrypt it.

🛡️4. Secure Connection

Both sides now share the same secret key. All further communication is encrypted with fast symmetric encryption.

Live Encryption Demo

🔒

Your Browser (HTTPS)

Hello, this is a secret message!
🌐

Network (encrypted)

w5<<?[ D89C 9C 1 C53B5D =5CC175P

The Conversation

With a secure connection established, your browser sends an HTTP request — a structured text message saying: “GET /search?q=cats HTTP/2. Host: google.com.” The server processes it and sends back a response: status code (200 OK), headers (content type, caching rules), and the body (the HTML page).

But that's just the beginning. The HTML references CSS, JavaScript, images, fonts — each triggering additional HTTP requests. A typical modern web page makes 70+ separate requests totaling several megabytes. HTTP/2 and HTTP/3 can multiplex these over a single connection, but the waterfall of dependencies still defines page load performance.

HTTP Request

GET /search?q=cats HTTP/2
Host: google.com
Accept: text/html
User-Agent: Mozilla/5.0

HTTP Response

HTTP/2 200 OK
Content-Type: text/html; charset=UTF-8
Content-Length: 15234
Cache-Control: max-age=300

<!DOCTYPE html>
<html>...</html>

What Happens in One Second

Every single second, the internet carries more data than the entire Library of Congress contains. 99,000 Google searches. 3.8 million emails. 694,000 YouTube videos watched. 70,000 gigabytes of traffic. $443,000 in Amazon sales. All happening simultaneously, every second, around the clock.

In the 5 seconds it took you to read this paragraph, about 495,000 Google searches were completed, 19 million emails were sent, and Amazon processed over $2 million in sales. The internet isn't just a network — it's the most complex machine humanity has ever built, running at a scale that defies intuition.

In the last

0.0s

the internet processed:

🔍

0

Google searches

📧

0

emails sent

▶️

0

YouTube videos watched

📡

0 GB

GB of internet traffic

❤️

0

Instagram likes

🛒

0

in Amazon sales

💬

0

WhatsApp messages

📱

0

TikTok videos watched

Sources: Statista 2025, Radicati Group 2025, YouTube Press, Cisco Annual Report, Meta Earnings 2025, Amazon Annual Report, ByteDance 2025

The Big Picture

Every click runs a pipeline: URL → DNS → TCP → TLS → HTTP → Routers → Cables → Server → Response → Render. Ten stages. Dozens of protocols. Thousands of miles of fiber. Billions of transistors. All in 50–200 milliseconds.

The internet started as a Cold War experiment connecting four university computers. Today it connects 5.56 billion people, carries 500 terabytes per second, and underpins virtually every aspect of modern life — from commerce and communication to science and entertainment. It is, by any measure, the most transformative technology in human history.

Total round-trip

130650ms

Click any stage to jump to its section. Every click you make runs this entire pipeline.

Frequently Asked Questions

What is the internet?

The internet is a global network of interconnected computers that communicate using standardized protocols (TCP/IP). It is not a single entity — it is millions of networks (ISPs, universities, companies, governments) all agreeing to forward each other's packets. The World Wide Web (websites) is just one service that runs on the internet, alongside email, streaming, gaming, and more.

Who invented the internet?

No single person invented it. ARPANET (1969), funded by the US Department of Defense, was the first packet-switched network. Vint Cerf and Bob Kahn designed TCP/IP (1973-1983), the protocol that unified all networks into one internet. Tim Berners-Lee invented the World Wide Web (1989-1991) — HTML, URLs, and HTTP — which made the internet accessible to everyone.

How fast does data travel on the internet?

Data travels through fiber optic cables at about 200,000 km/s — roughly two-thirds the speed of light. A packet from New York to London takes about 30-40 milliseconds one way. The actual speed you experience depends on routing, congestion, processing at each hop, and your local connection speed.

What are submarine cables?

Over 550 submarine cables sit on the ocean floor, carrying 99% of intercontinental internet traffic. They are fiber optic cables about the thickness of a garden hose, often buried in the seabed and armored against anchors and sharks. Total length exceeds 1.4 million km. A single modern cable can carry 200+ terabits per second.

What is DNS?

DNS (Domain Name System) translates human-readable domain names like 'google.com' into machine-readable IP addresses like '142.250.80.46'. It works like a phone book: your device queries a chain of DNS servers (root, TLD, authoritative) to find the right IP. The result is cached so repeat lookups are instant.

What is the difference between HTTP and HTTPS?

HTTP sends data in plain text — anyone between you and the server can read it. HTTPS adds TLS encryption: your browser and the server establish a shared secret key, and all data is encrypted before transmission. The padlock icon in your browser's address bar means HTTPS is active. Today, over 95% of web traffic uses HTTPS.

What happens when you type a URL and press Enter?

Your browser resolves the domain via DNS (~20-120ms), establishes a TCP connection with a 3-way handshake (~10-100ms), negotiates TLS encryption (~30-50ms), sends an HTTP request, receives the HTML response, then makes 70+ additional requests for CSS, JavaScript, images, and fonts. The whole process takes 50-500ms for a fast site.

How many people use the internet?

As of 2026, approximately 5.56 billion people use the internet — 69% of the world's population. Growth continues at about 100-150 million new users per year, driven primarily by mobile access in developing countries. The internet went from 16 million users in 1995 to 5.56 billion in just 31 years.

What is TCP/IP?

TCP/IP is the protocol suite that powers the internet. IP (Internet Protocol) handles addressing and routing — getting packets from source to destination. TCP (Transmission Control Protocol) handles reliability — ensuring packets arrive completely and in order. Together, they form the 'language' that every internet-connected device speaks.

Can the internet go down entirely?

It is extremely unlikely. The internet was designed to be decentralized and resilient. If one cable or server fails, traffic routes around it. However, regional outages do happen: a cut submarine cable can knock out internet for an entire country, and BGP misconfigurations have caused widespread outages (like Facebook's 6-hour outage in 2021). There is no single off switch.

Keep exploring