Skip to content

How we measure

Updated

What the test does, step by step

The full test measures for 27 s, plus a short preparation. Probes go out the whole time, at 100 ms intervals. Keep the tab in view: if it goes to the background the test stops and says it is inconclusive.

Phases of the full test
PhaseDurationWhat happens
PreparationShortReads your network data once and checks the probe connection. At least 2 warm-up probes are sent first and never counted; they go on until two in a row answer close to the best one, or the preparation time runs out.
Rest A3 sAbout 30 probes are sent with nothing else running. The answered ones set the baseline.
Download10 sLoads the line through our Worker and keeps probing. Probes inside the counted window make the download grade.
Drain1 sThe line empties. These probes are drawn on the trace and not counted.
Rest B2 sAbout 20 probes at rest again. They show whether the baseline moved. The upload block is built during this phase.
Upload10 sThe same as the download, in the other direction, sent to Cloudflare's speed-test server.
Drain1 sDrawn, not counted. The test ends.

Three other modes exist. Extended loads each direction for 20 s. Light loads each direction for 6 s or 25 MB, whichever comes first, and is chosen for you when the browser reports Save-Data or a cellular connection. Latency only listens for 10 s with no load and gives no grade.

The probe

The probe is a GET request for /cdn-cgi/trace, an address that Cloudflare's own edge answers. The browser is told not to cache it and not to send cookies. The answer is downloaded to its end and thrown away: the test does not look at its content, keep it or send it anywhere, and the probe waits for the answer to end before it reads its timing record, but for no more than a quarter of a second. Cancelling the answer as soon as the headers were in made the time noisier: measured by us on 15 Nov 2026 in Chromium with 27 probes per variant, the response time had a median of 15.7 ms and a 90th percentile of 33.9 ms when cancelled, against 10.9 ms and 13.5 ms when the answer was read to the end. If the warm-up gets no successful answer from that address, the probes go to /ping.bin, a static file of one byte, for the rest of that page visit. The exported file records which one answered.

The time is responseStart minus requestStart from the browser's Resource Timing record. When the browser does not give those fields for a probe, that probe is timed with a clock around the request and its time in the browser queue is unknown. If too few answered probes have Resource Timing, the result records wall-clock timing and the confidence is capped at medium. For a probe that has it, the time the request waited inside the browser before it was sent is kept.

A probe whose answer carries a cache status other than HIT does not count. The trace address sends no cache status, so this applies only to the fallback file.

Why the probe goes to this address

The probe measures the time until the response headers arrive, so its target should answer quickly and evenly. A target that is uneven at rest widens the baseline and can make every result look spiky. On 15 Nov 2026 we compared three targets from an idle data-center host against this site: 60 requests, 100 ms apart. The table gives the median and the spread (P90 minus P50) of the time to the headers.

Three probe targets, measured from one data-center host
TargetMedian (P50)P90 minus P50
/cdn-cgi/trace (answered by the Cloudflare edge)10 to 12 ms4 to 10 ms
A Worker endpoint (our former /__ping)17.5 ms4 to 8 ms
A static file26 ms14 to 29 ms

On a workers.dev preview address the static file reached a spread of 56 to 74 ms. The Worker endpoint was about as even, but every probe to it would be a request that runs our Worker, about 270 per full test, which we avoid. Between the other two, the trace address was far more even than the static file, so we use it. This is one host on one day: a reason for the choice, not a general rule about Cloudflare.

Source: Cloudflare, "/cdn-cgi/ endpoint" (page updated 27 Oct 2026), read on . This endpoint is managed and served by Cloudflare. It cannot be modified or customized.

The load

Download: the page reads a stream from our Worker and counts bytes. It starts with one stream, goes to 2 at 1 s if the rate is above 10 Mbit/s, and to 4 at 1.5 s if it is above 40 Mbit/s. On HTTP/2 and HTTP/3 these are streams on one connection, which is a limit of the method.

Upload: the page sends a block of random data with an XMLHttpRequest and reads the bytes that have left from its progress events. The block is sized from the download rate, between 2 MiB and 25 MB. It opens 6 connections at once when the download of the same test was above 50 Mbit/s, and one otherwise; with one, the other 5 open at 1.5 s if the rate is above 20 Mbit/s. A request that ends is followed by another on the same connection. The counts are our own tuning, not a standard; the next section says where the upload goes and why.

The rate is the bytes moved in the counted window divided by the length of that window. We also show the best rate held for one second. Each direction has a data target for its mode (3,000 MB in the full mode) and a ceiling of 12 download requests to the Worker and 120 upload requests to Cloudflare's server (12 when the upload falls back to the Worker). Reaching either ends the phase early; it counts what it measured and the result says so. A transfer stops after the block or progress event in progress, so the data moved can run a little over the target.

Where the download comes from

The download always comes from our Worker, at /__down. The Worker streams bytes it makes up on the spot, and each request is limited to 50 MiB, so a fast line takes several requests. The result records the source. Nothing on your disk is read, and the bytes carry no content of yours.

Where the upload goes, and why

The upload goes to https://speed.cloudflare.com/__up, Cloudflare's own speed-test server. It is the server the official @cloudflare/speedtest library sends its upload to, and the Waveform test sends there too. The latency under the upload is still probed on this site, at /cdn-cgi/trace: the upload fills the same uplink whichever server takes it, so the delay it adds shows on the probe.

Until November 2026 the upload went to our Worker, and on a fast line it read far too low. The browser sends every request to one site over a single HTTP/3 or HTTP/2 connection, and on a fast home line that one connection held only a small part of what the line can send. Cloudflare's server speaks HTTP/1.1, so the browser opens a separate TCP connection for each of the 6 requests. The measurements, and how close the upload now comes to the Waveform test, are on the accuracy page.

If that server fails (a blocker, a firewall, an error), the rest of the upload goes to our Worker at /__up with the earlier plan: two connections at once above 50 Mbit/s, otherwise one and a second at 1.5 s, and 4 at 1.5 s above 100 Mbit/s. On a fast line that fallback reads low again. The exported result records where the upload went: Cloudflare's server, the Worker, or both. The bytes are random, carry nothing of yours, and the test sends no measurement log to Cloudflare.

What counts and what does not

At rest, an answered probe counts unless it was marked cold (see the probe section). The warm-up probes of the preparation are sent before rest A and are not in the trace. In a load phase a probe counts when all of these hold:

  • It was sent at least 1.5 s after the load began, and at least 0.5 s after the last stream opened.
  • It was sent at least 0.3 s before the load ended.
  • It was not sent during a load gap: a stretch with no byte reported that lasts 1 s or more and at least 3 times the usual interval between byte reports in that direction. The second part matters on a slow uplink, where the browser reports upload progress only every few seconds while it is sending the whole time.
  • Its answer did not carry a cache status other than HIT.

A counted loaded probe that got no answer is kept: it stands for 3,000 ms. At rest, an unanswered probe stays out of the baseline, but it counts toward the share of lost probes.

The trace draws every probe sent during the measured phases, counted or not, and the exported JSON holds all of them with a counted flag, so anyone can recompute the result with other rules. Warm-up probes are not part of it.

How the grade is calculated

  1. The trimmed mean of a set of probes drops the largest 5% of the values, rounded down, and averages the rest; below 20 values nothing is dropped. The IETF draft on responsiveness drops the same share for its own figure (source in the responsiveness section below).
  2. The baseline is the trimmed mean of the counted probes in rest A and rest B.
  3. In each direction, with fewer than 15 counted probes there is no loaded-latency statistic and no grade; a speed may still be shown. Otherwise the added delay is the trimmed mean of the loaded probes minus the baseline, never below zero. A counted probe with no answer stands for 3,000 ms, and the direction is marked "at least", because the added delay shown is then a lower bound.
  4. The grade comes from the added delay in the table below.
  5. The final grade is the worse of the two direction grades. If one direction has no grade, the final grade is "not measured".
Grades by added delay (mean, per direction)
GradeAdded delay
A+under 5 ms
A5 to under 30 ms
B30 to under 60 ms
C60 to under 200 ms
D200 to under 400 ms
F400 ms or more

P90 and P95 of the added delay are shown beside the grade, measured from the median at rest. They need at least 29 and 59 counted probes. They do not change the letter. They show how bad the worst moments were.

Worked example with made-up numbers
StepTrimmed mean of the probesAdded over restGrade
At rest14 msbaseline
Download31 ms+17 msA
Upload151 ms+137 msC
Final gradeset by the uploadC

According to its public page, the Waveform bufferbloat test shows the same edges and takes the larger increase of the two directions, as we do. According to its archived FAQ, DSLReports published the same edges and averaged the two directions. The trimmed mean, the probe, the duration and the sample count are ours, and we have not verified that they match those of any other test. A letter here is on the same scale as theirs, but it is not the same measurement.

Source: Waveform bufferbloat test (archived copy of 11 Nov 2026), read on .

Source: DSLReports, "Bufferbloat, Speed and Quality Grades" (archived copy), read on .

Confidence and its reasons

The result says how far to trust it, and why. The reasons the screen can give are these sentences:

  • Fewer answered probes than needed in at least one direction.
  • The line at rest was not the same before and after the download.
  • The speed did not settle during the test.
  • The browser held probes back before sending them.
  • At least 5% of probes got no answer.
  • The probe could not be shown to use its own connection; added latency may read high.
  • The browser did not give precise timings; times include some browser delay.
  • Light mode: shorter load, fewer probes.
  • A transfer stopped at its data or request ceiling before the planned time.
What each confidence level needs
ConfidenceConditions
HighAll five checks pass and nothing caps the result. The checks: at least 50 counted probes in each direction. The medians of rest A and rest B differ by at most the larger of 25% and 5 ms. The rate in the second half of the load stays within 25% of the first half. The median time probes waited inside the browser under load is not more than 8 ms above the same median at rest, and not above 25 ms. Fewer than 5% of the probes got no answer. Caps: the probe could not be shown to use its own connection, the browser timings were missing, or light mode.
MediumOne of the five checks fails (25 to 49 counted probes in a direction is one such failure), or a cap holds back a result that would be high.
LowFewer than 25 counted probes in a direction (in the latency-only mode, at rest), or two or more of the five checks fail. The screen offers to repeat the test. A transfer that stopped at its data or request ceiling is listed as a reason but does not lower the level by itself.

Noise and spikes

A line is never perfectly steady at rest. We take the median absolute deviation (MAD) of the probes at rest. If the added delay is below the larger of 2 ms and 1.5 times that MAD, the result says the added delay is within the noise of this line.

A direction is flagged as spiky when its tail under load, beyond the tail the line already has at rest, would grade 2 bands or more below the letter from the mean. The tail is the P90 of the loaded probes minus the P90 of the probes at rest, so it needs at least 29 counted probes. Most probes were fine and a few were far worse, which is what makes a call freeze now and then. The mean alone would hide that.

A line that already swings at rest is not flagged as spiky for that. Instead the result says so when, at rest, P90 minus P50 is 30 ms or more: usually Wi-Fi or a busy network, and worth repeating on a cable.

A probe on its own connection

A probe that shares a connection with the load waits in the same queue as the load. In an earlier check of ours on a shared connection it saw roughly twice the added delay. So on the first timed probe of each page load the test looks for evidence of a separate connection: whether the browser opened a new connection for it, or whether the protocol is HTTP/1.1. When it finds none, the result carries a warning and the confidence is at most medium. Finding no evidence is not proof that the connection is shared.

What the connection check found in our own runs
BrowserWhat we sawDetail
Chromium (the engine of Chrome and Edge)Evidence of a separate connectionIn our runs on 15 Nov 2026 the check found a new connection for the first probe. We ran Chromium, not Edge itself.
FirefoxNo evidence foundMeasured by us on 15 Nov 2026 with Firefox 155: the first probe did not open a connection, so the check found nothing to show a separate one. The result carries a warning and the confidence is at most medium. That is not proof that the connection is shared.
SafariNot verifiedWe have not tested it on an Apple device. If the check finds no evidence there, the same warning appears.

Putting the probe on its own connection in every browser would take a second measurement domain or a WebSocket probe. We have not built either.

Estimated responsiveness, and why it is not RPM

Next to the grade we show an estimated responsiveness: 60,000 divided by the trimmed mean of the loaded probes, in milliseconds, for the worse direction. The unit is round trips per minute, and the word "estimated" is part of the label.

It is not the RPM of the IETF draft. The draft is version 09 of 6 Jul 2026, intended for the standards track, and it is not an RFC. It defines RPM as 60,000 divided by the round trip in milliseconds under working conditions, but it averages probes on a new connection with probes on a loaded one, and it has its own load schedule and stability rules. We use only the probe under load. Do not compare our number with an RPM from another tool, or with the categories below.

Categories in the IETF draft (version 09, 6 Jul 2026), in round trips per minute
CategoryRPM
Poorbelow 300
Fair300 to 1,000
Good1,000 to 6,000
Excellentabove 6,000

Source: IETF draft-ietf-ippm-responsiveness-09, "Responsiveness under Working Conditions", read on .

Apple reports responsiveness in RPM and sorts it into Low, Medium and High. Its support page does not give the limits in RPM.

Source: Apple Support, "Test Wi-Fi networks with Apple Network Responsiveness", read on .

What changed from method v1

Until November 2026 this site graded on a different scale and a different statistic. Results saved in your browser from that time open labelled "Method v1". Measured with the older method: no trace, not comparable.

Method v1 and method v2 (v2 replaced v1 in November 2026)
AspectMethod v1Method v2
Grade edges5, 15, 35, 70 and 150 ms5, 30, 60, 200 and 400 ms
StatisticMedian of the loaded probesMean of the loaded probes without the largest 5%
Directions gradedDownload onlyDownload and upload, each with its own grade; the worse sets the final grade
ProbesOne every 400 ms, through the Worker, during the downloadOne every 100 ms, to an address Cloudflare's own edge answers, at rest and in both directions
BaselineLatency at rest, measured once before the downloadRest before the download and again before the upload
ConfidenceNot statedHigh, medium or low, with the reasons

Checked against a known queue

We run the test against an emulator on a local machine. It limits the rate and holds a fixed-size queue we chose, so the delay it adds with the queue full is known before the test starts. For these local fixed-queue profiles, the added delay the test measured stayed within the larger of 20% and 8 ms of that known delay. Run on 15 Nov 2026.

Known added delay against the delay the test measured
ProfileKnown added delay, queue fullDownload measuredUpload measuredError, download and uploadRuns within tolerance
20 Mbit/s, 48 KB queue19.7 ms19.6 ms19.8 ms-0.1 ms and +0.1 ms5 of 5
20 Mbit/s, 112 KB queue45.9 ms45.9 ms46 ms0 ms and +0.1 ms5 of 5
4 Mbit/s, 64 KB queue131.1 ms131.6 ms132.4 ms+0.5 ms and +1.3 ms5 of 5

The limit: the emulator speaks plain HTTP/1.1 on one machine and its queue never changes size. It checks the arithmetic of the grade for these profiles. It does not test active queue management, packet loss, a link whose speed varies, Wi-Fi or a mobile network. It does not check that the probe travels on its own connection, how HTTP/2 or HTTP/3 behave, or what a real provider does, so it says nothing about how close a result on a real line is to the truth. For a run on a real line, side by side with another test, see the accuracy check.

Why another test may show another letter

Two tests can use the same letters and still measure different things: where the probe goes, how often it is sent, how long the load runs, whether the statistic is a mean, a median or a trimmed mean, and whether the two directions are combined by taking the larger or by averaging. We do not claim that a grade here equals a grade on another site. When we describe another test, we say it according to its public page or code and give the date we read it.

Limits of the method

  • It measures to the Cloudflare data center your connection reaches. It does not measure to your provider's own servers or to the server of a game.
  • It measures with HTTP requests in a browser, not with ICMP or UDP. The time includes some browser and TLS work, so it reads a little above a ping.
  • It does not measure packet loss. A probe with no answer is counted as a delay, as described above.
  • Download streams share one connection on HTTP/2 and HTTP/3, and the number of upload connections is our own choice.
  • The upload goes to a Cloudflare server this site does not run. If Cloudflare changes or closes it, the upload falls back to our Worker, which reads low on fast lines.
  • On very fast lines the browser or the device can become the limit before the line does.
  • Wi-Fi is inside every number. Repeat on a cable to separate the line from the Wi-Fi.
  • The probe connection is not verified in Safari, and in any browser the check can find no evidence without the connection being shared.

Run your own test

Questions

Why a trimmed mean and not a median or a peak?

The grade uses the mean of the probes after dropping the largest 5%, so one stray stall does not set the letter and a long queue still shows. The median and the percentiles are shown beside it for the detail. A peak is not used for the grade at all.

Why is latency measured with HTTP requests?

A web page cannot send ICMP or raw UDP packets. A small HTTP request to an address that answers fast is the closest probe a browser has. It includes a little browser and TLS overhead, which is why the result is called latency and not ping.

Which server does the test measure to?

To the Cloudflare data center your connection reaches. The My network page shows which one. The test does not measure to servers inside your provider or to a particular game, so its numbers can differ from tests that do.

Is the estimated responsiveness the same as RPM?

No. It is 60,000 divided by the trimmed mean of the probes under load, in round trips per minute. The IETF draft combines probes on a new connection and on a loaded one, so the two numbers are not comparable. We label ours as estimated.

When should I not trust a result?

When the confidence is low, or the result says the probe could not be shown to use its own connection. Both are shown on the result with their reasons. Repeat the test on a cable, with other devices idle, and compare the two runs.

What does the test not measure?

Packet loss, the route to a particular game or service, and lines faster than the browser and the device can process. Wi-Fi quality is inside every number, because the test cannot separate it from the line.