How internet speed tests work
See how browser speed tests measure download, upload and ping, why results vary and how to get a reading you can compare.
What does an internet speed test measure?
An internet speed test measures how quickly your device can receive and send data, and how long a request takes to get a response. Download and upload are measured in megabits per second (Mbps). Ping, also called latency, is measured in milliseconds (ms).
The path includes your device, local connection, internet provider and the route to the test server. A browser result shows how that path performed at the time of the test.
How this test measures your connection
- Ping. Your browser makes several small HTTPS requests to Cloudflare. After the first request warms the connection, we take the median response time of the successful samples. This is an HTTP measurement, which can differ from a command-line ping.
- Download. Your browser receives test data in parallel for up to ten seconds. The average is based on bytes received over the measurement window.
- Upload. Your browser sends generated test data in parallel for up to ten seconds. The average counts bytes from completed, successful requests.
The peak is the highest short-window throughput observed. For comparisons between tests, use the average. On very slow or unstable connections, some phases may finish without a usable result.
Why do two speed tests give different results?
Tests can use different server locations, routes, durations and numbers of connections. Your Wi-Fi signal, the device you use, a VPN and other traffic in your home can also change the result. For a fair comparison, repeat the test on the same device and network under similar conditions.
How to repeat a speed test accurately
- Use an Ethernet cable to the router if you want a baseline for your home broadband.
- Pause large downloads, cloud backups and other streams.
- Test two or three times, including once when you normally notice the problem.
- Compare the wired results with a Wi-Fi test in the room where you usually use the connection.
See Ofcom’s broadband speed testing tips for more advice.