Home › Network Tools › Latency Test

Latency Test

How long HTTP requests take to this site, measured one sample at a time from your browser.

This measures how long requests take to tools4free.dev. It contacts only this site. Browsers cannot send ping packets, so this measures HTTP request time, which includes the connection setup for the first request. The host logs requests like any page view.

Ready. Choose a sample count and press Run test.

Min-
Median-
Mean-
Max-
Successes-
Failures-

How to use

  1. Enter the number of samples, from 5 to 30. Ten is a sensible start.
  2. Press Run test. The page sends the requests one after another, and the status line shows progress.
  3. Press Stop at any time to end the run early. The results so far stay on screen.
  4. Read the six figures: Min, Median, Mean, Max, Successes and Failures. Run the test two or three times, ideally a few minutes apart, and compare.

Worked example

Say you run ten samples and the figures come out close together, for example a minimum of 38 ms, a median of 41 ms and a maximum of 47 ms. (These numbers are made up to show the pattern.) That is a steady connection: the typical request takes about 41 ms and the spread is small.

Now imagine the median is similar but the maximum is several times larger. A few slow requests can make video calls and games stutter even when most requests are quick, and this is what people call jitter. If the mean is noticeably above the median, a few slow samples are pulling it up, so the median is usually the fairer summary. A non-zero Failures count means some requests timed out after 5 seconds or returned an error, which suggests a flaky connection.

How it works

Each sample is one request for the site's small icon file, sent after the previous one has finished. Every request has a unique query string and cache: "no-store", so the browser's cache cannot answer it. The time is measured from sending the request to receiving the whole file, in milliseconds.

Latency is the time one small message takes to get to a server and the answer to come back. Bandwidth is how much data can flow per second. They are different: a satellite link can have high bandwidth and high latency, while an old copper line may be low in both. Loading a web page involves many small requests, so latency often matters as much as bandwidth for how fast a site feels.

Several things add to the time you see. The distance to the server matters, because signals travel at a finite speed. A new connection needs a handshake before data flows, which is why the first request is usually slower. Wi-Fi interference, a busy network and a distant mobile tower all add delay. This site is served by Cloudflare from many locations, so the test usually reaches a nearby server, and that is not the same as the delay to a site hosted in one far-away data centre.

A request that takes longer than 5 seconds is stopped and counted as a failure. Failed samples are left out of the times.

Min and max are the fastest and slowest successful samples. The median is the middle value; with an even number of samples it is the mean of the two middle values. The mean is the total divided by the number of successes. All values are rounded to one decimal place, with halves rounded up.

Results are not stored or sent anywhere. Refreshing the page clears them. Network conditions change from moment to moment, so run the test a few times for a fair picture.

Privacy

The test sends requests only to tools4free.dev, for a small icon file. It contacts no other service, and nothing you enter is sent, because the only input is the sample count. The results stay on your screen and are not stored. The host sees these requests in its logs, as it does for any page view, and the standard analytics and ad scripts load separately on every page. See the privacy policy.

Frequently asked questions

Is this the same as ping?

No. Ping uses ICMP packets, which browsers cannot send. This test times HTTP requests, which include extra work such as the web server's response and, for the first request, connection setup.

What counts as a good result?

There is no single number. Lower is better, and a small gap between Min and Max matters as much. Compare your own results over time and between networks.

Why do results change between runs?

Network load, Wi-Fi signal and routing change from moment to moment. Repeat the test before you draw conclusions.

Does this test my download speed?

No. It transfers a very small file, so it measures delay and not bandwidth.

Related tools