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.
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.
Defaults are examples. If you already know your TTFB, enter it in the second step and skip the first.
Writing about site speed, Core Web Vitals, CDNs or hosting performance? Copy a link, or embed the working simulator on your own page. Every result also has its own shareable link.
How this simulator works
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.
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.
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.
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.
| Route | Straight-line distance | Round trip (straight line) | Round trip (route factor 1.5) | 3 round trips (TLS 1.3 + request) |
|---|---|---|---|---|
| Same city | 50 km | 0 ms | 1 ms | 2 ms |
| Same region | 500 km | 5 ms | 8 ms | 22 ms |
| Los Angeles – New York | 3,900 km | 39 ms | 58 ms | 176 ms |
| New York – London | 5,600 km | 56 ms | 84 ms | 252 ms |
| London – Singapore | 10,900 km | 109 ms | 164 ms | 490 ms |
| London – Sydney | 17,000 km | 170 ms | 255 ms | 765 ms |
Handshake round trips by protocol
| Protocol (new connection) | Round trips to connect | Round trips before first byte | Defined in |
|---|---|---|---|
| HTTP/1.1 or HTTP/2 over TLS 1.2 | 3 | 4 | TCP + TLS 1.2 full handshake (RFC 5246) |
| HTTP/2 over TLS 1.3 | 2 | 3 | TCP + TLS 1.3 handshake (RFC 8446) |
| HTTP/3 over QUIC | 1 | 2 | QUIC 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 type | Change linked to a 0.1-second speed improvement |
|---|---|
| Retail | Conversion rate +8.4%; spend +9.2%; progression from product page to basket +9.1% |
| Travel | Conversion rate +10.1%; check-out completion +2.2% |
| Luxury | Progression from product page to basket +40.1% |
| Lead generation | Progression 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
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.
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.
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.
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.