How data travels around the world
A page from a server in New York reaches you in a tenth of a second. The data travels more than 15,000 km on the way. See which way it goes and where it loses time.
The tool could not be loaded. Check your connection and reload the page.
Use the arrow keys to move between steps. Click a term to see what it means, or any row of the timeline.
Terms in this step
Sent
Inside the message
Certificate checks
Where the time goes
Times are typical values for illustration, not measurements.
How it works
Data first goes over the access line to the provider. On fibre that takes a few milliseconds, on a mobile network tens because of radio scheduling, and over a geostationary satellite more than a quarter of a second, because the signal travels 36,000 km up and down again.
Providers hand traffic over at exchange points such as NIX.CZ in Prague or DE-CIX in Frankfurt. The route is chosen by the BGP protocol according to agreements between networks, not by the shortest distance.
Submarine optical cables cross the ocean. Light in glass travels about 200,000 km per second, so 5 ms for every 1,000 km. No faster server can shorten that delay.
A CDN keeps copies of files close to users, for example right in Prague. The answer then does not have to cross the ocean. Times are estimates for direct routes, the real ping from Prague to New York is usually around 90 to 100 ms.
When it helps
- Understand why a site hosted in the USA is slower from Europe and what helps.
- Explain to a client what a CDN is for and why hosting close to customers matters.
- Compare fibre, mobile and satellite connections.
Glossary 13 terms
- Last mile
- The stretch between you and your provider: fibre, cable, DSL or radio. Often the slowest part of the trip.
- Optical fibre
- A glass fibre that carries data as light. Light travels through it at about 200,000 km per second.
- Internet exchange point (IXP)
- A place where networks of different providers hand traffic to each other. In Czechia mainly NIX.CZ, in Germany DE-CIX.
- Peering
- An agreement between two networks to exchange traffic directly, often for free. It shortens routes.
- BGP
- The protocol networks use to announce where they can deliver. It decides the route of packets between networks.
- Hop
- One router on the way of a packet. The traceroute command lists every hop to the destination.
- Submarine cable
- An optical cable on the ocean floor. Most intercontinental internet traffic uses them, satellites carry only a small part.
- Speed of light
- About 300,000 km/s in a vacuum and 200,000 km/s in glass. It sets the smallest possible delay over long distances.
- Latency
- How long data takes to arrive. It is measured in milliseconds and does not depend on the connection speed in Mbit/s.
- Round trip (RTT)
- The time a message takes to reach the server and the reply to come back. A few milliseconds on fibre, tens on mobile. Every extra round trip adds delay.
- CDN
- A network of servers around the world holding copies of files close to users. Pages then load from the nearest place.
- Cache
- A stored copy of an answer, so it doesn't have to be fetched or computed again. The browser, for example, remembers a site's IP address until its TTL runs out.
- Geostationary satellite
- A satellite 35,786 km above the equator that stays over one spot. The trip up and down adds more than a quarter of a second.
Frequently asked questions
// 01 Why is the ping to the USA about 100 ms?
The data travels more than 15,000 km there and back. Light in fibre needs about 5 ms per 1,000 km, and routers and indirect routes add more. It cannot get faster without a shorter route.
// 02 Will a faster connection help?
The connection speed (Mbit/s) decides how much data gets through per second. The delay (ms) depends on the distance and the access technology. For loading websites the delay often matters more.
// 03 Is Starlink as slow as satellite?
No. Starlink orbits at about 550 km, so the delay is 25 to 50 ms. Geostationary satellites at 36,000 km are the slow ones, with a delay of 600 ms and more.
You may also need
Did this save you time?
The tools and simulations are free, ad-free and need no sign-up. If they helped you, you can send a contribution for coffee and new tools.
Donate via PayPalNeed a hand?
I build and maintain web applications in Laravel and PHP. If something on these pages is giving you trouble in a project, get in touch.
Get in touch