TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is internet latency? RTT and how it slows page loads

Internet latency is the round-trip time for data between a device and a server. What causes it, how it multiplies through DNS, TCP and TLS into TTFB, and how to tell network delay from a slow server.

Lin Zhou Reviewed by Emma Collins Also called network latency Last updated Nov 29, 2026 Glossary

Quick answer

Internet latency, or network latency, is the time data takes to travel between a device and a server, usually quoted as round-trip time (RTT) in milliseconds. It measures delay, not capacity, and multiplies across the DNS, TCP, TLS and request round trips before a page's first byte arrives.

Formula: Cold HTTPS TTFB ≈ DNS + 1 RTT (TCP) + 1–2 RTT (TLS 1.3 / 1.2) + 1 RTT (request) + server time

What is internet latency?

Internet latency, or network latency, is the time it takes for data to travel from one device to another across a network. On the web it is usually quoted as round-trip time (RTT): the milliseconds between a browser sending a small packet to a server and receiving the reply. Distance sets a floor: even in a straight fibre, a round trip between New York and London cannot take less than about 56 ms, and real routes are slower.

Latency is a measure of time, not of capacity. MDN's guide to latency describes it as the time a packet takes from source to destination, generally measured as a round trip. How much data the connection can move per second is a separate property, bandwidth. A fast fibre line and a slow mobile line can have similar bandwidth on paper and still feel very different, because one needs 10 ms per round trip and the other 100 ms.

Latency matters more than its size suggests, because loading a page is not one round trip but a chain of them. Before the first byte of HTML arrives, the browser may need a DNS lookup, a TCP handshake, a TLS handshake and the HTTP request itself, each waiting a full RTT for the other side to answer.

What causes network latency

  • Distance. Light in optical fibre travels at roughly 200,000 km per second, about two-thirds of its speed in a vacuum. High Performance Browser Networking calculates the best possible fibre RTT as 42 ms between New York and San Francisco (4,148 km), 56 ms between New York and London (5,585 km) and 160 ms between New York and Sydney (15,993 km). Real routes are longer than great-circle distance, so real RTTs are higher.
  • The last mile. The same source, citing FCC measurements, reports average last-mile latency of 10–20 ms on fibre, 15–40 ms on cable and 30–65 ms on DSL, before a packet even reaches the provider's core network.
  • Mobile radio. Cellular links add scheduling and radio delays. Browser developer tools model this with throttling presets; MDN lists minimum latencies of 20 ms for its regular 4G/LTE profile, 40 ms for good 3G and 100 ms for regular 3G. These are simulation settings, not measurements, but they show the order of magnitude.
  • Routing and congestion. Every router hop and every queue in a busy link adds delay, and queues are why latency rises under load.
  • Satellite links. A geostationary satellite link sends every packet up to orbit and back down, so its round trips are far longer than any terrestrial route; interactive pages suffer most.

How latency adds up in a page load

A simplified model for the first visit to an HTTPS page:

TTFB ≈ DNS lookup + TCP handshake (1 RTT) + TLS handshake (1 RTT on TLS 1.3, 2 RTT on TLS 1.2) + request and first byte (1 RTT) + server processing time

TLS 1.3 completes its full handshake in one round trip; TLS 1.2 needs two. If you treat the DNS lookup as roughly one RTT to a resolver (often less when cached), a cold HTTPS request costs about four round trips plus server time.

Sample data: the same page, with 80 ms of server processing time, requested by two users.

UserRTTCold load, TLS 1.3Cold load, TLS 1.2Reused connection
Same region as the server20 ms4 × 20 + 80 = 160 ms5 × 20 + 80 = 180 ms20 + 80 = 100 ms
Another continent, mobile180 ms4 × 180 + 80 = 800 ms5 × 180 + 80 = 980 ms180 + 80 = 260 ms

The server did exactly the same work for both users. The distant user's time to first byte is five times longer, and it sits right at the 800 ms boundary that web.dev uses for a "good" TTFB. Nothing in the application code caused it.

Compare that with bandwidth. A 500 KB page takes 500 × 8 ÷ 50 = 80 ms to transfer at 50 Mbps and 40 ms at 100 Mbps: doubling bandwidth saves 40 ms. Halving RTT from 180 ms to 90 ms saves 4 × 90 = 360 ms on the cold load. (The model ignores TCP slow start, which adds further round trips for larger files and makes latency count even more.)

Latency vs bandwidth vs TTFB

TermWhat it measuresUnitFixed mainly by
Latency (RTT)Time for one round tripMillisecondsMoving content closer (CDN, regional servers), fewer round trips
BandwidthMaximum data per secondMbpsFaster connection, smaller files
ThroughputData actually delivered per secondMbpsBandwidth, latency and packet loss together
JitterVariation in latency between packetsMillisecondsLess congestion; matters most for calls and games
TTFBNavigation start until the first response byteMillisecondsLatency × number of round trips, plus server time

TTFB is not a network metric by itself: it bundles redirects, DNS, connection setup, TLS, the request and the server's own work. A slow TTFB from one country and a fast one from another points to latency; a slow TTFB everywhere points to the server. For the related idea of delay in analytics data rather than in networks, see data latency.

How to tell whether latency or the server is slowing a page

  1. Break TTFB down by country. If TTFB is 200 ms in the server's region and 900 ms elsewhere, the gap is distance.
  2. Read the median and the tail. Compare the P50 with the 75th percentile: mobile users on poor connections pull the tail up while the median looks healthy.
  3. Inspect one request in DevTools. The Network panel's timing tab splits a request into DNS lookup, initial connection, TLS, waiting for the server and content download. Long DNS, connection and TLS bars are latency; a long "waiting" bar is server time.
  4. Simulate the slow case. Network throttling in browser developer tools adds a fixed minimum latency, so you can see what a 100 ms or 300 ms user experiences before shipping.
  5. Fix latency with fewer and shorter trips. A CDN or regional servers cut RTT; HTTP/2 and HTTP/3 reuse connections; TLS 1.3 removes a round trip; preconnect hints start handshakes early; fewer third-party domains mean fewer DNS lookups.

Seeing latency in TapCub

The example above, one page that is fast at home and slow on another continent, is what Monitoring › Performance in TapCub is designed to show. The numbers come from real visitors' browsers, not a lab run.

  1. Start from the TTFB card. TapCub rates TTFB good at 800 ms or less and poor above 1.8 seconds, and the cards switch between P95, P75, median and average.
  2. Break it down by country and device. The breakdown dimensions are page, country, device, browser and operating system, with P50, P75, P90 or P99. A country whose P75 TTFB is several times the server region's is the distant user in the table above.
  3. Separate network from rendering. Load timing splits each load into backend (time to first byte), network transfer and frontend render, so a page that is slow because of TTFB is not confused with one that is slow because of heavy scripts.
  4. Know the limit. TapCub does not split TTFB into DNS, TCP and TLS phases. For that, use the browser's Navigation Timing data or the DevTools timing tab on a sample request from the slow country.
  5. Check the effect on visitors. The Core Web Vitals help page explains the other metrics on the same report; compare slow countries with their conversion in Web analytics › Goals to decide whether a CDN or regional server is worth it.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Lin Zhou

Product Experience Specialist

Writes about product experience, practical workflows, and growth, turning complex processes into clear steps for everyday decisions.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is a good internet latency?

It depends on distance and connection type. A round trip cannot beat the fibre floor: about 56 ms between New York and London. On access networks, published averages put last-mile latency at 10–20 ms for fibre and 30–65 ms for DSL. For web pages, what matters is the resulting TTFB: web.dev rates 0.8 seconds or less as good.

What is the difference between latency and bandwidth?

Latency is how long one round trip takes, in milliseconds; bandwidth is how much data can move per second, in Mbps. In the example here, doubling bandwidth saves 40 ms on a 500 KB page, while halving a 180 ms RTT saves 360 ms on a cold load.

Is latency the same as TTFB?

No. TTFB bundles redirects, DNS, connection setup, TLS, the request and server processing. Latency is one input, multiplied by the number of round trips. The same 80 ms of server work gives 160 ms TTFB at 20 ms RTT and 800 ms at 180 ms RTT.

How do you reduce internet latency for a website?

Shorten the distance and cut round trips: serve from a CDN or regional servers, use HTTP/2 or HTTP/3 so connections are reused, enable TLS 1.3, add preconnect hints for critical domains and reduce the number of third-party hostnames that need DNS lookups.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics