Latency and the Speed of Light: The Limit No Upgrade Removes
Work out the minimum delay between two places, see where the extra milliseconds come from and learn which ones you can actually remove.
Key takeaways
- Light in fiber covers about 200 km per millisecond, so each 100 km of path adds about 1 ms of round-trip time.
- Real paths are longer than straight lines, and routing, equipment, queues and your local link all add delay.
- Extra bandwidth does little for latency once a connection is fast enough for the data being sent.
- You can cut delay by moving content closer, reducing round trips, using a wired connection and controlling queues.
- Higher satellite orbits add large delay purely because of the distance the signal must travel.
Latency is the time data takes to get from one point to another, and distance puts a hard floor under it. Light travels at about 300,000 kilometers per second in a vacuum and roughly 200,000 kilometers per second inside optical fiber. A faster internet plan lets you move more data each second, but it cannot make a signal cross an ocean any sooner.
The practical rule is easy to remember: in fiber, a signal covers about 200 kilometers per millisecond. A round trip over a 1,000 kilometer path therefore takes at least 10 milliseconds, before any equipment adds its share.
Latency, round-trip time and bandwidth
One-way latency is the time from sender to receiver. Round-trip time, or RTT, is the time to get there and receive a reply. Most tools report the round trip, because measuring one direction accurately requires closely synchronized clocks at both ends.
Bandwidth is how much data a link can carry per second. Picture a pipe: bandwidth is its width, latency is its length. A wider pipe delivers a large file sooner, but the first drop still takes as long to come out the far end. What bandwidth is untangles the two in more depth.
Working out the floor
Take two cities 6,000 kilometers apart, and imagine a perfectly straight fiber between them.
- Round-trip distance: 12,000 km.
- Speed in fiber: about 200 km per millisecond.
- Minimum round-trip time: 12,000 ÷ 200 = 60 milliseconds.
Nothing you buy will get below that on that fiber. Real measurements are higher, often considerably.
Illustrative distances at roughly 200 km per millisecond, ignoring all equipment delay. Hypothetical example: the numbers are made up to show the method, not a quote or an average.
Why is fiber slower than a vacuum? Light interacts with the glass, which has a refractive index of about 1.47 in typical fiber. Dividing the vacuum speed by that index gives the speed inside. Fiber optics explained covers how the light is carried.
Radio through air travels very close to the vacuum speed. That is why some specialized users build chains of microwave towers between places where shaving a few milliseconds matters, accepting much lower capacity and weather sensitivity in exchange.
Why real delays are longer
A measured round trip includes several kinds of delay stacked on the propagation floor.
| Source | What it is | Can you influence it? |
|---|---|---|
| Propagation | Distance divided by signal speed | Only by shortening the path |
| Route detours | Cables follow roads, coastlines and business arrangements | Rarely, and indirectly |
| Serialization | Time to push a packet's bits onto a link | Yes on slow links |
| Processing | Routers and firewalls inspecting and forwarding | Somewhat on your own network |
| Queuing | Packets waiting behind others in a buffer | Often |
| Access link | Delay in cable, DSL, mobile, Wi-Fi or satellite | By changing technology or setup |
Route detours can be large. Traffic between two neighboring regions may travel through a distant hub because that is where the two networks connect, a result of the arrangements described in peering and transit.
Queuing delay is the most changeable. When more data arrives at a link than it can send, packets wait. If the buffer is large and unmanaged, waiting times can grow to hundreds of milliseconds during a big upload or download. This is bufferbloat, and it is often the biggest delay within your control.
The delay close to home
Over short distances, propagation is tiny and the access link dominates. A server in your own city might be a few tens of kilometers away, which is well under a millisecond of fiber travel, yet your ping to it may still be 10 or 20 milliseconds or more.
Each access technology has its own habits. DSL and cable modems encode data in ways that add a few milliseconds, and cable users share upstream capacity that must be scheduled before they can send. Mobile radios wait for a transmission slot, and a phone that has been idle may need a moment to wake its connection. Fiber access usually adds the least.
Wi-Fi deserves special mention. Only one device on a channel can usefully transmit at a time, so yours waits its turn, including behind neighbors' networks on the same channel. If a frame is lost to interference, it is sent again. The average can look fine while occasional spikes ruin a call. You can test for this by pinging your router's address, which is often something like 192.168.1.1. If that local hop shows large swings, the problem is inside your home.
How much delay people notice
Tolerance depends on the task. Loading a file in the background hardly cares about latency. Conversation does: once the delay each way grows past roughly 150 milliseconds, the figure telephone engineering guidance in ITU-T G.114 uses as a comfort target, people start to talk over each other.
Fast-paced games are stricter still, because the screen must reflect your input before the situation changes. Remote desktops and cloud gaming add the time to encode and decode video on top of the network trip. Typing into a remote shell over a long path feels sticky for the same reason: each character may travel to the far end and back before it appears.
Consider a hypothetical team with its database in one continent and its application server in another. A page that runs 40 database queries one after another, over an 80 millisecond round trip, spends more than three seconds just waiting. Moving the two together, or fetching the data in one or two queries, fixes what no bandwidth upgrade could.
Delay multiplies with round trips
A single round trip of 100 milliseconds is barely noticeable. The trouble is that many tasks need several in a row, each waiting for the last.
Opening a new secure web connection over TCP with TLS 1.3 can involve a DNS lookup, one round trip for the TCP handshake, one for the TLS handshake and then one to send the request and start receiving the response.
With a 100 ms round trip to the server, those three exchanges alone cost about 300 ms. QUIC, the transport under HTTP/3, combines the transport and encryption handshakes to save a round trip, and can sometimes send data immediately when resuming an earlier session.
Pages also pull in many further files, some of which are only discovered after others arrive. That is why a high-latency connection can feel sluggish even when its speed test looks generous.
Throughput feels it too
Protocols such as TCP send a window of data and wait for acknowledgments. The longer the round trip, the more data must be "in flight" to keep the link full. Multiply bandwidth by round-trip time to get the bandwidth-delay product.
For a 100 megabit per second link with a 100 ms round trip, that is 10 megabits, or about 1.25 megabytes. If the window were stuck at 64 kilobytes, the old limit without window scaling, throughput would top out near 5 megabits per second regardless of the link's capacity. Modern operating systems scale windows automatically, but long paths still take longer to ramp up and recover more slowly after loss.
Satellites make distance obvious
A geostationary satellite orbits about 35,786 kilometers above the equator. A request goes up to the satellite, down to a ground station, and the reply makes the same trip in reverse: four legs of at least that length. Even at full light speed, that is close to half a second of round trip before any processing.
Satellites in low Earth orbit, a few hundred to about two thousand kilometers up, cut the vertical distance enormously, so their delay can be comparable to some ground-based connections. Why geostationary internet has high latency works through the geometry.
How to measure your own latency
Run these toward a site you use. On Windows:
ping -n 10 example.com
tracert example.com On macOS or Linux:
ping -c 10 example.com
traceroute example.com Look at the typical value and how much it varies. Variation, called jitter, matters a lot for calls and games. Test once while the connection is idle and again during a large upload. A big jump points to queuing. Some servers and firewalls ignore or deprioritize these test packets, so a missing reply does not prove a fault. Ping, jitter and packet loss explains how to read the results.
What you can actually do
- Use a cable. Ethernet avoids the waiting and retransmission that Wi-Fi adds in a busy environment.
- Manage queues. Routers with smart queue management can keep delay low while the line is busy, usually at the cost of a little peak speed.
- Pick nearby servers. Games and some meeting tools let you choose a region.
- Change access technology if you have a choice. Fiber and cable generally respond faster than geostationary satellite.
- If you run a site, put content on a content delivery network, reuse connections, cut chains of dependent requests and host databases near the code that queries them.
What is not worth trying
Upgrading from an already fast plan to a faster one usually does little for lag, unless the old plan was being saturated. Switching DNS resolvers may speed up the first lookup of a name but does not change the distance to the server afterward. Software that promises to "boost" ping cannot shorten a cable. Some relaying services can help when your provider's route is unusually poor, and they can also make things worse by adding a detour, so measure before and after.
When a delay is mostly distance, the honest fix is to move one end closer to the other. Everything else is trimming the overhead around that floor.