Internet speed test
Test your download speed, upload speed, and latency.
This speed test runs three phases against an endpoint on this site, served from the Cloudflare edge location nearest to you. Latency comes first: ten sequential requests, each timed with performance.now, averaged into a ping figure with jitter calculated as the mean difference between consecutive samples. Download then opens six parallel streams requesting 25 MiB each, discards the first 1.5 seconds while the connection ramps up, and measures throughput over the following 8 seconds. Upload does the same with three streams of a 20 MiB block and a 2 second ramp. Speeds are reported in decimal megabits per second, the same unit ISPs advertise.
Key facts about Internet speed test
| Test endpoint | this site's own /api/speedtest routes, running as Cloudflare Pages Functions |
|---|---|
| Server location | whichever Cloudflare edge location is closest to you — not a server you select |
| Ping method | ten sequential no-store requests, each timed round trip with performance.now |
| Jitter | mean absolute difference between consecutive ping samples |
| Download streams | six parallel XHR streams, each requesting 25 MiB and looping until the window closes |
| Download window | 1.5 second ramp-up discarded, then 8 seconds of measurement |
| Upload streams | three parallel POST streams of a 20 MiB block generated in your browser |
| Upload window | 2 second ramp-up discarded, then 8 seconds of measurement |
| Unit | megabits per second, decimal — bytes times eight, divided by one million |
| Download payload | a fixed 64 KB filler buffer re-sent by the edge, so no CPU is spent generating random data |
| Upload payload | an empty 20 MiB ArrayBuffer created in the page — never one of your files |
| Capability panel | checks the result against HD 5, 4K 25, calls 3, gaming 15 plus ping under 50, backup 10, music 0.5, browsing 2, large downloads 50 Mbps |
What happens to your file
This is the one tool on this page's family that does use the network, because measuring a network requires one. The requests go to this site's own /api/speedtest endpoints, handled by a Cloudflare Pages Function at the edge. What reaches that edge is what reaches any website you visit: the HTTP requests themselves, with your IP address, user agent and standard headers. The upload phase additionally sends a block of filler bytes created in your browser — an empty 20 MiB buffer, never a file of yours. The function counts the bytes it receives and discards them; nothing is written to a database, no result is stored, and there is no account, no history and no shareable server-side record. The result panel is computed in your browser, and the share button copies the numbers to your clipboard rather than posting them anywhere.
About this tool
- 1
Stop other traffic first
Pause downloads, streaming, cloud sync and video calls on every device on the network. The test measures what is left of the line, so anything else running counts against your result.
- 2
Choose wired or wireless deliberately
Ethernet measures the line itself. Wi-Fi measures the line and the wireless link together, and on a busy 2.4 GHz channel the wireless link is usually the limit.
- 3
Start the test
Ping runs first, then download, then upload. Each phase shows a live gauge and a rolling chart, so you can see whether throughput is steady or spiky.
- 4
Ignore the first seconds
The tool already discards the ramp-up window before measuring, which is why the gauge moves before any number is recorded. TCP takes a moment to reach full speed on every connection.
- 5
Read ping and jitter together
Ping is the average round trip to the nearest Cloudflare edge. Jitter is how much consecutive samples varied, and it is the figure that predicts whether calls and games will feel stable.
- 6
Compare against your plan
ISPs advertise in megabits per second and so does this test, so the numbers are directly comparable. Expect to land somewhat below the headline figure; protocol overhead alone costs a few per cent.
- 7
Repeat before concluding
Run the test three times, a few minutes apart, and use the middle result. A single measurement catches whatever momentary congestion happened to exist.
| Browser support | any browser with XMLHttpRequest progress events — all current desktop and mobile browsers |
|---|---|
| Per-request caps | the edge function serves at most 100 MB per download request and accepts at most 100 MB per upload |
| Total transferred | typically 100 to 800 MB per run on a fast line — watch out on a metered connection |
| Test duration | roughly 22 seconds: ping, then 9.5 seconds download, then 10 seconds upload |
| Practical ceiling | very fast lines can be limited by the browser and the six-stream setup rather than by the connection |
| Mobile browsers | work, but background app refresh and radio power states add variance |
| Corporate networks | proxies and inspection appliances sit in the path and will cap the measurement |
| Account or install | none — no signup, no app |
- A run can move several hundred megabytes. On a mobile data plan or a metered connection, check your allowance before testing repeatedly.
- Wi-Fi 5 and older access points often cap real throughput near 300 to 400 Mbps regardless of the line behind them; test over Ethernet before blaming the ISP.
- Jitter under about 5 ms is comfortable for video calls and gaming. Consistently high jitter with a normal ping usually points at Wi-Fi interference or a congested upstream.
- Upload is deliberately measured with fewer streams than download because most consumer lines are asymmetric and saturate on fewer connections.
- A laptop on battery saver can throttle the network stack; plug it in for a clean measurement.
- VPNs, corporate proxies and security appliances all terminate and re-open the connection, and every one of them lowers the ceiling.
- If ping is good but download is poor, suspect Wi-Fi or a device limit. If ping is poor too, the problem is more likely on the line itself.
- Test at 8 pm as well as at midday when documenting a complaint to an ISP — evening congestion is exactly what they will ask about.
- Ping and jitter from ten timed round trips
- Six-stream download measurement with a discarded ramp-up window
- Three-stream upload measurement with its own ramp-up window
- Live analogue gauge and rolling throughput chart
- Results in megabits per second, matching ISP advertising
- Capability panel for streaming, calls, gaming and backup
- One-click copy of the result text
- Checking whether your connection delivers the speed your ISP plan promises.
- Working out whether a slow video call is caused by upload bandwidth or by jitter.
- Comparing throughput before and after changing a router, a cable or a Wi-Fi band.
- Testing each room in a house to find where the wireless signal falls off.
- Collecting evidence at different times of day before raising a support ticket.
- Confirming that a new fibre or cable installation actually performs as sold.
Related tools
View allWorks well with this5
More in Network6
Updated