FastSpeedTest is an Internet Performance and Network Diagnostics Platform. This page describes what the test code actually does, written by Saif Ullah, who builds and maintains the site. If something here stops matching the code, it is a bug; please report it .
Everything runs in your browser. It sends requests to Cloudflare's public speed test endpoints, which answer from the Cloudflare location your network reaches first. That location is shown with your result. The test does not pick a server by hand; the network routes you to the nearest one, which is usually close but not always in your own city.
Because these are web requests rather than raw network pings, the numbers include a little browser overhead and are usually a few milliseconds higher than a command line ping.
The grade is our own judgement, not an industry standard. The test cannot see the router queue, so it cannot tell bufferbloat in the home router apart from congestion further up the line. The grade scale has not yet been validated against an independent bufferbloat test; validation is pending and the page says so.
The packet loss test runs the same ping sampler with 50 attempts instead of 12, 50 ms apart, each with a 3 second limit, and a 30 second total cap. Unlike the main test it does not stop early after failed requests, because failed requests are what it is measuring. The result is the HTTP request failure rate over 50 requests to Cloudflare, an estimate of packet loss, not an ICMP measurement. One failed request in 50 is 2 percent. Below 2 percent the estimate is noisy. A browser cannot send ICMP packets, so the real packet loss measurement is a 50-packet ping from the terminal, as the test page explains.
Upload follows the same pattern: a 1 MB calibration upload, then two rounds of 1 MB to 12 MB uploads over 2 to 4 parallel connections, with the result calculated from total bytes over time.
The mobile test runs the full test twice on the same phone, once on Wi-Fi and once on mobile data, one after the other, a few minutes apart and in the same spot. The visitor states which connection each run used, because the browser cannot prove it: the connection detector maps a 4g reading to Wi-Fi and has no 5G value. Each result is stored with the connection the visitor stated, so the comparison shows the two runs side by side with their test times.
The score sums up one test on a scale of 0 to 100. Each part is scored, then weighted:
Ratings: 85 and above is Excellent, 70 Very good, 55 Good, 40 Fair, below 40 Poor. The thresholds are our own judgement for everyday home use, not an industry standard. The "good for" list uses fixed limits, for example about 25 Mbps per 4K screen and under 30 ms ping with under 5 ms jitter for competitive gaming.
For a fair picture, test a few times, at different hours, and once on a cable. The compare tool helps with that.
Results are saved only in your browser's local storage so your history works. The test reads your IP address and provider name from Cloudflare to show them to you; FastSpeedTest does not store them on any server. If you allow analytics, only coarse bands such as "fast" or "slow" are recorded, never your exact numbers or provider. Details are in the privacy policy .
More background is on how it works and about FastSpeedTest .