Network basics: latency, hops, jitter and loss
When a connection "feels slow", it's almost always one of four things. Here's what each one means, what's normal, and how they tie together.
Latency: how long a round trip takes
Latency is the time it takes for a small message to reach another computer and for the reply to come back. The usual way to measure it is a ping: your computer sends an "are you there?" message and times how long the answer takes. That time is the round-trip time, measured in milliseconds (ms).
Some latency is unavoidable: signals in fibre travel at about two-thirds of the speed of light, which adds roughly 1 ms of round trip for every 100 km of distance. Everything else is time spent in equipment along the way. As a rough guide:
| Where the other end is | Typical round trip |
|---|---|
| Another device on your own network | under 2 ms |
| A website hosted in your own country, over home broadband | 5–30 ms |
| Across the Atlantic | 70–100 ms |
What matters most isn't the number itself but whether it's stable, and whether it's normal for that destination. 80 ms to New York is fine; 80 ms to your office router isn't. BadHop's default warning level is 100 ms, and you can set your own for each target.
Hops: the routers in between
Your traffic doesn't travel straight to the server. It's passed along a chain of routers: your own router, then your internet provider's, then possibly several other networks, until it reaches the destination. Each router along the way is a hop.
A traceroute lists those hops in order and times each one. It works by sending messages that are allowed to travel only one hop, then two, then three, and so on; each router that has to give up on a message sends a note back, which reveals where it is and how long it took to reach. That's how you find out where a problem starts, not just that there is one. The next guide covers how to read one properly.
Jitter: how much the latency wobbles
Jitter is how much the latency changes from one ping to the next. A connection that answers in 20, 21, 20 and 22 ms has low jitter. One that answers in 18, 45, 22 and 60 ms has high jitter, even though its average might look acceptable.
Calls and video meetings cope with a few milliseconds of jitter by holding a small buffer. Once it reaches the tens of milliseconds, the buffer can't hide it. BadHop warns when a target's jitter goes over 25 ms by default, which is deliberately early.
Packet loss: messages that never arrive
Packet loss is the share of messages that never get an answer. It's shown as a percentage: 5% loss means 5 pings in every 100 disappeared. On a healthy connection it should be zero, or very close.
Even small amounts matter. Calls break up and games stutter at a percent or two. Downloads and web pages still arrive, because lost data is re-sent, but they slow down, because the sender backs off every time it sees loss.
One thing to know: some servers and routers deliberately ignore or slow down pings when they're busy. A single host that doesn't answer isn't always broken, which is why it helps to watch several targets at once and to look at the whole route.
How they fit together
These four aren't independent. The most common story is congestion: a link somewhere is being asked to carry more than it can.
- Traffic starts to queue at the busy link, so latency rises.
- The queue grows and shrinks from moment to moment, so jitter rises.
- The queue fills up completely, and new arrivals are dropped: packet loss.
That's why rising latency and jitter are often an early warning of loss to come. It also helps you tell problems apart: loss without any rise in latency points less to congestion and more to something physically wrong, such as poor Wi-Fi, a damaged cable or a faulty line.
| What you notice | Look at | Often means |
|---|---|---|
| Everything feels sluggish | Latency | A long or congested path |
| Calls are choppy, video freezes | Jitter, then loss | Congestion, or busy Wi-Fi |
| Pages stall, downloads crawl | Loss | Congestion or a faulty link |
| Drop-outs at particular times of day | All three, over hours | A link that fills up at busy times |
A good first test for any of these: plug your computer into the router with a cable. If the problem disappears, it's the Wi-Fi, not the internet.
See it for yourself. BadHop shows all four for every host you add, live and over hours, and traces the route so you can see where they start. Download it free: up to 3 targets, every feature.