SpeedPulse · Internet speed test

Latency test

Median and 90th-percentile latency, jitter, Cloudflare's network round trip and DNS, TCP and TLS setup times in about five seconds. JavaScript is required to run the test.

What is latency?

Latency is the time data needs to reach a server and come back, measured in milliseconds (ms). It decides how quickly a page starts loading, how natural a video call feels and how fast a game reacts to you. Bandwidth decides how much data arrives per second; latency decides how long each exchange waits.

What this latency test measures

The test sends 50 small requests, one after another, to the nearest Cloudflare data center and times each from the request leaving to the first byte coming back, minus the time Cloudflare reports spending on it. From those samples it shows:

  • Median latency: your typical round trip.
  • 90th percentile: how slow the slower round trips get.
  • Jitter: the average change from one round trip to the next.
  • Network round trip: the TCP round-trip time Cloudflare's servers measured on the same connection, a view from the network side without browser overhead.
  • Connection setup: how long the DNS lookup, the TCP handshake and the TLS handshake took when the browser opened the connection. Every new website you visit pays these once.

For a single number, use the ping test. To see latency while the line is busy, use the bufferbloat test.

Latency ratings

RatingMedian latencyWhat it means
Excellentunder 20 msIdeal for competitive gaming and anything real-time.
Good20–50 msSmooth for video calls, streaming and most online games.
Fair50–100 msFine for browsing and video; fast-paced games may feel delayed.
Poor100 ms or moreNoticeable delay in calls and games; pages feel slow to start loading.

What adds latency

  1. Distance. Light in fiber covers about 200 km per millisecond, so a server 1,000 km away adds at least 10 ms to every round trip.
  2. Wi-Fi. Radio contention and retries add a few milliseconds and much of the jitter. Compare with a cable.
  3. The access technology. Fiber is usually fastest, then cable and DSL; mobile and satellite add more.
  4. Busy queues. Downloads and uploads on the same line fill router buffers and push latency up; that is bufferbloat.
  5. Slow DNS. A slow resolver delays the first connection to every site. If DNS setup is high, try your router's or a public resolver.

Latency test FAQ

What is the difference between latency and ping?

Latency is the delay for data to travel to a server and back. Ping is the common name for measuring it, after the command-line tool. This latency test reports the same round trip as the ping test and adds its spread, Cloudflare's own TCP measurement and how long setting up the connection took.

What is a good latency?

Under 20 ms is excellent and under 50 ms is good for calls, streaming and most games. 50 to 100 ms is fine for browsing and video. Above 100 ms, calls and fast games feel delayed.

Why is the 90th percentile higher than the median?

The median is the typical round trip; the 90th percentile shows the slow ones. A big gap means the delay is uneven, which games and calls notice as stutter even when the median looks fine.

What does the network round trip from Cloudflare mean?

Cloudflare's servers estimate the round-trip time of your TCP connection from the network itself, without the browser's own overhead. If it is much lower than the HTTP latency, part of the delay is in your device or browser rather than the network.

Why does connection setup show 'reused connection'?

Your browser already had a connection open to Cloudflare's test server, so there was no new DNS lookup, TCP handshake or TLS handshake to time. Reload the page and run the test again to see them.