Home › Guides › Networking › Latency, ping and jitter explained

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:

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:

Worked example 2: jitter from five samples

You send five pings and get these round-trip times in milliseconds: 20, 22, 21, 55, 23.

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

UseWhat you will noticeRough guide
Web browsingPages feel responsive when each request round trip is short, since a page load needs many of themUnder about 100 ms is comfortable
Video callsTalking over each other when the delay in the conversation growsKeep one-way delay well under 150 ms, with low jitter
Online gamingActions register late or players seem to teleportLower is better; fast-paced games are sensitive to tens of milliseconds
Streaming videoMostly hidden by bufferingBandwidth and stability matter more
Large downloadsBarely affected by latencyBandwidth 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

  1. 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.
  2. Test to a nearby, reliable host. This reveals the quality of your ISP connection.
  3. Test to the specific service. If only that one is slow, the issue lies with the service or the route to it.
  4. 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

Try it: measure how long HTTP requests to this site take from your browser with the latency test. It reports one sample at a time, so you can see the spread as well as the average. To see where your connection comes from, use What Is My IP.

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.

Sources