TTFB & Latency Impact Simulator — What Slow Servers Cost You

Free Hosting Tool

TTFB & Latency Impact Simulator

See where your Time to First Byte goes (DNS, connection setup, distance and server time), how much a CDN edge cache would cut it, and what a faster TTFB could be worth in conversions and revenue.

⏱️ TTFB breakdown 🌐 Distance & protocol 💰 Revenue impact 🔗 Shareable results

Time to First Byte starts every other loading milestone: nothing can render until the first byte arrives. TTFB is built from a few parts you can actually change: how far the visitor is from your server, how many round trips the connection needs, and how long the server takes to build the page. This simulator adds those parts up for your setup, compares your origin server with a CDN cache, and then estimates the revenue impact using Deloitte’s published research for Google. Every formula and source is shown on the page.

Simulate your TTFB

Defaults are examples. If you already know your TTFB, enter it in the second step and skip the first.

For a new connection. Check the Protocol column in DevTools.
Cable routes are longer than a straight line. 1.5 is our example.
Extra delay on the visitor’s home or mobile network. Example value.
0 if the visitor’s browser already has it cached.
Time your origin takes to build an uncached page.
How far the nearest CDN location is from the visitor.
Time for the edge to answer from cache. Example value.
Filled in from step 1. Replace with your measured TTFB.
Filled in with the CDN cache-hit figure.
From PageSpeed Insights. Shows your LCP after the TTFB gain.
Choose “My own figure” to enter your A/B test result.

How this simulator works

Round trip (ms) = distance × route factor × 2 ÷ 200 km per ms + last-mile delay
Origin TTFB = DNS + connection round trips × round trip + 1 request round trip + server processing
CDN cache hit = DNS + the same round trips to the nearby edge + edge processing
CDN cache miss = cache hit + edge-to-origin round trip + server processing
Conversion lift = lift per 100 ms × improvement ÷ 100 ms (high estimate), or for the first 100 ms only (low estimate)
Extra revenue = visitors × conversion rate × conversion lift × average order value

Connection round trips are 3 for TLS 1.2 (TCP + two TLS), 2 for TLS 1.3 (TCP + one TLS) and 1 for HTTP/3 over QUIC. Repeat visits that reuse a connection skip them, and redirects add more, so treat the result as a first-visit estimate. The CDN miss assumes the edge already has an open connection to your origin.

⏱️
TTFB is the first part of LCP

Largest Contentful Paint, a Core Web Vital, can’t start before the first byte arrives, so every millisecond cut from TTFB comes straight off LCP. HTTP Archive’s 2024 Web Almanac found that sites with poor LCP spend 2.27 seconds on TTFB alone.

🌐
Distance is multiplied by round trips

A new HTTPS connection needs two to four round trips before the first byte. At 100 ms per round trip, distance alone can cost 300 to 400 ms, which no server upgrade can remove. A CDN edge near the visitor can.

🖥️
Server time is the other half

On a cache miss or a logged-in page, the server still has to build the page. Page caching, object caching, faster hosting and leaner plugins cut that part, and help every request a CDN can’t cache.

Distance and round-trip time

Minimum round-trip time from the physics of light in optical fiber (about 200 km per millisecond), before any last-mile delay or server work. Free to reuse with a link to this page.

RouteStraight-line distanceRound trip (straight line)Round trip (route factor 1.5)3 round trips (TLS 1.3 + request)
Same city50 km0 ms1 ms2 ms
Same region500 km5 ms8 ms22 ms
Los Angeles – New York3,900 km39 ms58 ms176 ms
New York – London5,600 km56 ms84 ms252 ms
London – Singapore10,900 km109 ms164 ms490 ms
London – Sydney17,000 km170 ms255 ms765 ms

Handshake round trips by protocol

Protocol (new connection)Round trips to connectRound trips before first byteDefined in
HTTP/1.1 or HTTP/2 over TLS 1.234TCP + TLS 1.2 full handshake (RFC 5246)
HTTP/2 over TLS 1.323TCP + TLS 1.3 handshake (RFC 8446)
HTTP/3 over QUIC12QUIC combined handshake (RFC 9000, RFC 9114)

DNS lookups and redirects come on top. TLS 1.3 and QUIC can also resume earlier connections with fewer round trips.

What the research says

Deloitte’s “Milliseconds Make Millions” study for Google tracked 37 European and American brand sites and over 30 million user sessions for 30 days at the end of 2019. It measured a 0.1-second improvement in mobile site speed across four metrics, one of them Time to First Byte, and found:

Site typeChange linked to a 0.1-second speed improvement
RetailConversion rate +8.4%; spend +9.2%; progression from product page to basket +9.1%
TravelConversion rate +10.1%; check-out completion +2.2%
LuxuryProgression from product page to basket +40.1%
Lead generationProgression to the form submission page +21.6%; page views +7%

How many sites get TTFB right? In HTTP Archive’s 2025 Web Almanac (July 2025 data), 55% of desktop websites and 44% of mobile websites had a good TTFB; 12% of desktop and 17% of mobile sites were poor. In 2024, 42% of mobile websites were good.

Reading your results

Origin TTFB, CDN cache hit and cache miss

The bar chart shows each part of TTFB, with Google’s 800 ms and 1,800 ms thresholds marked. If the blue connection segments dominate, distance is your problem and a CDN or a server closer to your visitors helps most. If the orange server segment dominates, start with caching and hosting.

Revenue range

The low figure counts only the first 100 ms of improvement, which is the size of change the research measured. The high figure counts every 100 ms equally. The truth for your site is likely somewhere in that range; an A/B test is the only way to know.

💡
Cache hits and misses both matter A CDN only removes server time for pages it can serve from cache. Cart, checkout, account and other personalized pages are usually misses, so for stores and membership sites a faster origin server matters as much as the CDN.

Sources

  • TTFB definition and thresholds: Google, web.dev: Time to First Byte (good ≤ 0.8 s, poor > 1.8 s; not a Core Web Vital).
  • Conversion research: Deloitte for Google, Milliseconds Make Millions (2020) and the full report.
  • TTFB across the web: HTTP Archive, Web Almanac 2025, Performance and Web Almanac 2024, Performance.
  • Handshakes: IETF RFC 8446 (TLS 1.3), RFC 5246 (TLS 1.2), RFC 9000 (QUIC), RFC 9114 (HTTP/3).
  • Our assumptions: the 1.5 route factor, 20 ms last-mile delay, 20 ms DNS, 10 ms edge time and the example traffic figures are PaidHosting.com’s illustrative defaults. Distances are approximate great-circle distances. Checked October 2026.
Cite This Tool

PaidHosting.com. (2026). TTFB & Latency Impact Simulator. Retrieved from https://www.paidhosting.com/ttfb-latency-simulator/


Frequently Asked Questions

Time to First Byte is the time from the browser starting a page request until the first byte of the response arrives. Google’s web.dev guide defines it as the sum of redirects, service worker start-up, DNS lookup, connection and TLS negotiation, and the request up to the first byte. Nothing on the page can render before that byte arrives.

Google’s web.dev guidance says a good TTFB is 0.8 seconds or less and a poor one is more than 1.8 seconds, with anything in between needing improvement, measured at the 75th percentile of visits. In HTTP Archive’s 2025 Web Almanac, 55% of desktop websites and 44% of mobile websites had a good TTFB.

TTFB is not one of the Core Web Vitals, and web.dev says it doesn’t strictly have to be in the good range. But TTFB is the first part of Largest Contentful Paint (LCP), which is a Core Web Vital, so a slow TTFB makes a good LCP harder to reach. Google says Core Web Vitals are used by its ranking systems.

Light travels through optical fiber at roughly 200,000 km a second, about 200 km per millisecond, so every 1,000 km of cable adds about 10 ms to a round trip. Real cable routes are longer than a straight line, and a new HTTPS connection needs several round trips before the first byte arrives. That is why New York to London can add over 300 ms even before the server does any work. The table above shows the numbers.

Yes, on new connections. A full TLS 1.2 handshake takes two round trips after the TCP handshake; TLS 1.3 takes one; HTTP/3 runs over QUIC, which combines the transport and TLS handshakes into a single round trip. Fewer round trips matter most when the visitor is far from the server.

On a cache hit, the CDN edge near the visitor already has the page and answers immediately, so both the long-distance round trips and the server processing disappear from TTFB. On a miss, the edge has to fetch the page from your origin server, so you still pay for the trip to the origin and the server’s processing time. Logged-in, cart and other personalized pages are usually misses.

From Deloitte’s “Milliseconds Make Millions” study for Google, which tracked 37 retail, travel, luxury and lead-generation brand sites and over 30 million user sessions over 30 days at the end of 2019. A 0.1-second improvement in mobile site speed, measured across four metrics including Time to First Byte, was linked to 8.4% higher conversion rates for retail sites and 10.1% for travel sites. The study looked at 0.1-second changes, so the simulator shows a low estimate (first 100 ms only) and a high one (every 100 ms counted equally). Your own A/B test data will always be more accurate.

In Chrome DevTools, open the Network tab, select the page request and look at the Timing tab’s “Waiting for server response” value, adding the connection steps above it for a first visit. WebPageTest shows the full breakdown from different locations. PageSpeed Insights shows TTFB from real Chrome users (field data) when your site has enough traffic.


Milliseconds aren’t a vanity metric.
They’re a revenue lever.

TTFB is easy to dismiss as a line in a PageSpeed report, but it delays everything else your visitor sees, and published research links faster sites with higher conversion rates. Knowing whether your milliseconds are lost to distance or to the server tells you whether the fix is a CDN or better hosting.

Know where your milliseconds go
before you decide how to fix them.