vasilenko.info

Page size and load time

/en/calc/page-weight/ works fetches the page automatically

Enter a URL — our server does the rest: it fetches the page, follows its stylesheets, scripts, and images, and returns the actual size by file type, the number of requests and domains, whether compression is enabled, which protocol version was used for the connection, and how long the server took to respond. These numbers are filled into the calculation fields automatically, so you don't need to enter anything manually. The calculator then converts bytes to bits, accounts for the protocol, connection overhead, and cache, and shows the time for 3G, 4G, 5G, and fiber — separately for the first visit, a repeat visit, and markup only. The URL is sent to us and never stored; the calculation itself runs in your browser.

promoTwenty years of notes on websitesHow we did it in 2008 and what still works today.Open

Measure and calculate

We’ll fetch the page and up to 40 linked files, check their sizes, types, domains, compression, and protocol version, then fill in the fields below. One measurement uses two of the 300 requests the server allows from one address per hour.

Identify as

The signature is sent in the User-Agent header. Mobile and desktop versions of the same page often have different sizes, and bots may sometimes receive a third version.

This is what travels over the connection: markup, styles, scripts, images, and fonts, already compressed. KB is decimal, 1000 bytes; КиБ is binary, 1024 bytes.

Providers sell megabits, while file managers show megabytes—the difference is exactly eightfold.

Preset speeds

Megabits per second. The preset clears as soon as you edit the field manually.

One round trip—the value shown by ping. All handshakes depend on it, and it does not depend on connection speed at all.

Preset latencies

Milliseconds to the server. Distance doesn't go away: light travels two hundred kilometers through fiber per millisecond.

How many requests the browser makes, including the markup itself.

How many nodes the files are fetched from. With HTTP/1.1, this directly splits the queue: six connections are maintained to each domain separately.

Protocol

After the measurement, this shows the version our server received from the site—not a guess, but a real connection. With HTTP/1.1, files are sent in batches of six per domain. With HTTP/2, there are no batches—all files use one connection. HTTP/3 also saves a handshake and skips it entirely on repeat visits; we use TCP and can't see it ourselves, so it must be set manually.

The main figure is calculated based on this setting. Both estimates are still shown below as rows and as columns in the table.

The HTML alone, in the same units as the total weight. It arrives first and usually arrives again on a repeat visit.

What share of everything except the markup will be taken from the cache on the next visit instead of being downloaded over the network.

Markup, styles, scripts, SVG fonts—everything that can be compressed. Images and fonts are compressed in their own formats, so gzip adds nothing on top.

How many times gzip or brotli compressed the text. One means no compression. Shows how much the page would weigh without it.

Now 15 %. Advertised speed and usable speed aren't the same: packet headers, acknowledgments, and window ramp-up usually consume ten to twenty percent.

Load time, first visit

s

Not enough data

Weight used in calculation
Same in bits
Weight without compression
Usable speed
Net transfer
Network latency
First visit
Repeat visit
Markup only

The URL is measured by our server: the URL is sent to us, and subsequent requests come from our server. Neither the URL nor the response is saved. The calculation itself runs in your browser and is not sent anywhere.

On different connections

The same page on five types of connection. On the first visit, everything travels over the network; on repeat visits, only the markup and anything not in the cache are loaded. The third column shows how long it takes for anything to appear on screen.

Load time at the current latency
ConnectionFirst visitRepeat visitMarkup only

What makes up the size

The breakdown will appear after the URL is measured. Without it, you can't tell whether to cut images, scripts, or fonts.

Show others

A ready-to-use piece of markup with all the numbers and a link to the same calculation. Insert it into an article or report as is: it contains no scripts or frames from another site, so it won't break if something changes on our end.

embed block plain HTML
promoCalculate ROI at the same timeCampaign payback based on spend and revenue.Open

How to use it

  1. Enter an address and click “Measure”

    The server will fetch the page and up to forty linked files: styles, scripts, and images. It will return each file's size and type, domain, whether compression is enabled, which protocol version the connection used, and how long the server took to respond. All calculation fields will be filled in automatically.

  2. Choose how to identify yourself

    The mobile and desktop versions of the same page often differ in size by a factor of two. If you're investigating search metrics, use Googlebot or YandexBot—you'll see exactly what they see.

  3. Choose a connection and latency

    The buttons below the fields set typical values: 3G, 4G, 5G, one hundred megabits at home, fiber, and gigabit; latency ranges from five milliseconds within a city to two hundred fifty to Asia. You can enter any number manually; the mark then turns off.

  4. The protocol is filled in automatically

    After the measurement, the switcher shows the version the connection actually used: the connection itself reports it, rather than the tool guessing from headers. Manual adjustment is needed in one case—HTTP/3. Our server uses TCP, so HTTP/3 will not appear in the measurement; if the site advertises it in the alt-svc header, we mention it separately, and you can change the version yourself. The number of exchanges changes noticeably as a result.

  5. Compare the “Pure transfer” and “Network latency” rows

    As long as latency is high, cutting page weight is almost useless: requests to the server consume the time. Fewer files, one domain instead of five, and a server closer to users will help.

  6. Get the result

    The report can be copied, the table exported to CSV, and the entire panel saved as an image. The calculation link stores all parameters directly in the address, so you can share it.

promoBrowser task listNo account required—everything is stored on your device.Open

The formula and what it includes

Time = size × 8 ÷ (speed × (1 − overhead)) + RTT × (handshakes + request waves)

The model is intentionally rough and answers one question: what is limiting the page—the connection or latency? It does not know the order in which the browser queues files, when rendering begins, or how long scripts keep the page busy afterward. A measurement by address uses the real size, structure, and protocol version, but it runs from our server, not your network: both the response time and protocol version in the report describe the connection to us, not your connection.

Example breakdown: 2,000 KB over HTTP/2 on 4G

The input data is the same as the default field values: you can calculate it mentally and confirm that the tool is telling the truth.

  1. Converting the size: 2,000 KB = 2,000,000 bytes = 16,000,000 bits.

  2. Effective speed: 20 Mbit/s minus 15% = 17,000,000 bits/s. Pure transfer: 16,000,000 ÷ 17,000,000 = 0.94 s.

  3. Exchanges: three handshakes plus two waves—markup first, then everything else at once. Five in total.

  4. Latency: 5 × 60 ms = 0.3 s.

  5. Repeat visit: 60 KB of markup and one-tenth of the rest, 194 KB, travel over the network. There are two handshakes and two waves—0.24 s of latency and 0.12 s of transmission.

First visit: 1.24 s; repeat visit: 0.36 s; markup alone: 0.27 s. On the first visit, the connection accounts for three-quarters of the time, so cutting the size is worthwhile. On a repeat visit, the opposite is true: the megabytes are gone, and four exchanges with the server remain.

Frequently asked questions

promoAll toolsForty-four tools, all running in your browser.Open

Related calculators

1