Latency, ping and jitter explained
What latency, ping, RTT and jitter mean, where delay comes from, and how to measure it and find the cause of a slow connection.
By the tools4free.dev team · Last reviewed 4 December 2026
Latency is the time it takes for data to travel from one point to another across a network. You usually measure it as round-trip time (RTT): how long a small message takes to reach a server and for the reply to come back, in milliseconds. Jitter is how much that time varies from one message to the next. Low latency and low jitter matter most for video calls, games and interactive pages, while raw bandwidth matters for large downloads. This guide explains what contributes to delay, how to read a ping result, and how to tell a slow connection from a slow server.
Latency is not bandwidth
Bandwidth is how much data a link can carry per second. Latency is how long a single piece of data takes to arrive. A useful picture is a pipe: bandwidth is its width, latency is its length. A wide pipe lets a lot through at once, yet the first drop still has to travel the full length. A satellite link with a high download speed can still feel sluggish for browsing because every request waits a long time for its reply, and a modest line with a short path can feel quick.
Where the delay comes from
The total delay on a path adds up from four parts:
- Propagation delay. The time for a signal to cross the distance. In optical fibre, light travels at roughly two thirds of its speed in a vacuum, about 200,000 km per second, or about 5 microseconds per kilometre. You cannot engineer this away.
- Transmission delay. The time to push all of a packet's bits onto the link. It equals packet size divided by link speed.
- Queuing delay. Time spent waiting in a buffer on a busy router or modem. This is the part that grows when a link is saturated.
- Processing delay. The time each device takes to inspect the packet and decide where it goes. It is normally small.
Worked example 1: the physical minimum
London to New York is roughly 5,570 km in a straight line. At 200,000 km/s, the one-way propagation time is 5,570 / 200,000 = 0.0279 seconds, or about 28 ms. A round trip is therefore at least about 56 ms, even on a perfect, straight cable with no queuing at all. Real cables follow longer routes and pass through equipment, so measured RTTs are commonly higher. If you ever see a transatlantic ping of 20 ms, it is not crossing the ocean: it is answered by a server nearby, such as a content delivery network edge.
For transmission delay, a 1,500-byte packet is 12,000 bits. On a 10 Mbit/s link, that takes 12,000 / 10,000,000 = 1.2 ms to put on the wire. On a 1 Gbit/s link it is 0.012 ms. This is why link speed matters little for latency on fast connections and a lot on very slow ones.
What ping does
The classic ping command sends an ICMP echo request (ICMP is defined in RFC 792) and times the echo reply. Typical output has one line per message, with time= showing the RTT, and a summary at the end giving the minimum, average, maximum and a measure of spread. Three things to know:
- Some hosts and firewalls deprioritise or block ICMP, so a slow or failed ping does not always mean a slow service.
- The first reply is often slower, because of address resolution and cold caches. Judge by several samples.
- Ping measures the path to one host. A page that loads assets from five servers is affected by all five paths.
Worked example 2: jitter from five samples
You send five pings and get these round-trip times in milliseconds: 20, 22, 21, 55, 23.
- Average = (20 + 22 + 21 + 55 + 23) / 5 = 28.2 ms.
- Differences between consecutive samples: 2, 1, 34, 32. Their mean is 69 / 4 = 17.25 ms. This is a simple way to express jitter.
- The standard deviation of the five values is about 13.4 ms.
The average of 28 ms hides the story. Four of five replies came in at about 21 ms, and one spike to 55 ms drags the average up and produces high jitter. For a video call, that spike is a glitch. Now compare a second path with 30, 31, 29, 30, 32: the average is 30.4 ms, slower on paper, but the jitter is only 1.5 ms. For real-time use, the second path is better. The formal definition of jitter used in real-time media, a smoothed running estimate, appears in RFC 3550, but the simple calculation above is enough to compare two connections.
How much latency is acceptable
| Use | What you will notice | Rough guide |
|---|---|---|
| Web browsing | Pages feel responsive when each request round trip is short, since a page load needs many of them | Under about 100 ms is comfortable |
| Video calls | Talking over each other when the delay in the conversation grows | Keep one-way delay well under 150 ms, with low jitter |
| Online gaming | Actions register late or players seem to teleport | Lower is better; fast-paced games are sensitive to tens of milliseconds |
| Streaming video | Mostly hidden by buffering | Bandwidth and stability matter more |
| Large downloads | Barely affected by latency | Bandwidth dominates |
These are rules of thumb, not standards. Different applications and different people tolerate different amounts of delay.
Why web pages are so sensitive to latency
Loading a secure web page involves several back-and-forth exchanges before any content arrives: a DNS lookup, a TCP handshake, a TLS handshake, and then the HTTP request. Each one costs at least one RTT. With a 100 ms RTT, a page that needs three sequential round trips before the first byte already spends 300 ms waiting, regardless of bandwidth. This is why newer protocols reduce the number of round trips, and why serving content from a location close to the visitor helps so much.
Finding the cause of a slow connection
- Test to your router. If latency to the router is high or jumpy, the problem is in your home network, often Wi-Fi interference or distance.
- Test to a nearby, reliable host. This reveals the quality of your ISP connection.
- Test to the specific service. If only that one is slow, the issue lies with the service or the route to it.
- Test while the line is idle and while busy. If latency climbs sharply when someone uploads, you have queuing in a buffer, sometimes called bufferbloat. A router with smart queue management can reduce it.
Common mistakes
- Buying more bandwidth to fix a latency problem. The extra speed does not shorten the path.
- Reading a single ping result as a verdict. Take at least ten samples and look at the spread.
- Focusing on the average and ignoring the maximum and jitter.
- Testing over Wi-Fi from a far corner of the house and blaming the ISP. Try a cable for comparison.
- Comparing results from different test methods as if they were the same. An ICMP ping, a TCP connection time and an HTTP request each measure something different.
- Trusting a "ping" that is answered by a CDN edge as proof of the speed to the origin server.
- Forgetting packet loss. A path with low latency but a few percent loss can feel worse than a slower, clean one.
Frequently asked questions
What is a good ping?
It depends on the use and the distance. Under about 50 ms to a nearby server is very good for most purposes, and under 100 ms is fine for general use. Compare against the physical minimum for the distance as well.
Is latency the same as ping?
Ping is one way of measuring RTT. Latency is the broader idea, and it can be measured in other ways, for example at the TCP or HTTP level.
Why is my latency high at certain times?
Congestion. At busy hours, shared links and your own household traffic fill buffers, which adds queuing delay.
Can I reduce latency?
You can remove avoidable causes: use a wired connection, reduce competing uploads, choose a closer server or region, and enable queue management on your router. You cannot beat the speed of light.