Engineering Specification
Test Methodology & Mathematical Formulas
Complete technical disclosure of NetSpeedCheck's throughput equations, RFC 3550 jitter math, packet loss calculation, quality grading thresholds, and browser measurement limits.
Different internet speed tests routinely produce different numbers on the exact same broadband line because they make different choices around SI decimal vs. binary units, single-stream vs. multi-stream concurrency, protocol overhead compensation, and latency filtering.
NetSpeedCheck publishes its exact mathematical definitions and protocol assumptions below so network engineers, IT support teams, and consumers can audit every metric with zero ambiguity.
Published Mathematical Definitions
Application-Layer Throughput (Decimal Mbps)
Follows IEEE 802.3 and SI telecommunications convention where 1 Mbps = 1,000,000 bits/second and 1 Byte = 8 bits. Decimal megabytes per second is derived directly as MB/s = Mbps / 8 = bytesTransferred / elapsedSeconds / 1,000,000. NetSpeedCheck reports pure HTTP/HTTPS payload goodput without multiplying by arbitrary Layer-2 inflation factors.
RFC 3550 / IPPM Consecutive Jitter (ms)
Computes the mean absolute difference between consecutive successful round-trip latency samples (aligned with IETF RFC 3550 / RFC 3393 inter-packet delay variation). Sample standard deviation (jitterStdDevMs) across successful probes is also computed as a secondary dispersion metric.
Probe Packet Loss Percentage (%)
Measures the percentage of dispatched sequential latency or stability probes that fail or exceed the strict probe deadline timeout without completing a valid round trip (aligned with IETF RFC 7680 loss ratio principles).
Round-Trip Latency Statistics (Min, Median, Avg, P95, Max ms)
Measured over an already-established HTTP keep-alive / WebSocket session after discarding initial DNS, TCP 3-way handshake, and TLS cryptographic setup so one-time connection establishment never inflates network RTT.
1. Payload Entropy, Concurrency & Slow-Start Handling
To measure modern fiber and cable broadband links accurately from inside a standard browser sandbox, NetSpeedCheck enforces strict transport controls on both client and server:
- Cryptographic Entropy Against Compression: Download payloads slice a pre-allocated CSPRNG random byte pool served as `application/octet-stream` with `Content-Encoding: identity` and `X-Accel-Buffering: no`. Neither TLS record compression nor carrier middleboxes can deflate the byte stream.
- Parallel Stream Aggregation: In standard mode, parallel HTTPS connections aggregate byte progress across concurrent streams to overcome per-socket TCP Receive Window (`RWIN`) limits and minor Wi-Fi frame retries on high Bandwidth-Delay Product (`BDP`) links. Low-Data Mode reduces parallel stream count and caps total bytes transferred.
- Proxy Request-Buffering Prevention: Measurement endpoints are engineered to drain upload chunks directly on arrival (`proxy_request_buffering off`), preventing reverse proxies from buffering entire POST bodies locally at artificial LAN speed.
2. Activity Suitability & Overall Quality Grading
Raw speed numbers can mislead users—for example, a geostationary satellite link with 120 Mbps download and 620 ms ping receives high marks if graded by download Mbps alone, yet fails badly on Zoom calls and multiplayer games. NetSpeedCheck grades four real-world workloads (`streaming4k`, `gamingCompetitive`, `videoConferencing`, `cloudBackup`) and an `overallGrade` (`A+` through `D`) by combining throughput, ping, jitter, and packet loss against published platform specs.
3. Known Limitations of Browser-Based Network Measurement
In the interest of strict engineering transparency, every browser-based speed test operates subject to operating system and W3C security boundaries:
- Layer-7 Goodput vs. Layer-2 Wire Rate (~5%–8% Header Overhead): Browser APIs count decrypted HTTP payload bytes, excluding Ethernet preamble/MAC headers, IPv4/IPv6 headers, TCP options, and TLS 1.3 record framing. A healthy 1,000 Mbps ISP connection over a 1000BASE-T Gigabit Ethernet port will naturally top out around 935–945 Mbps.
- No Raw ICMP or Raw Kernel UDP Sockets: Browsers block raw ICMP `ping` and arbitrary raw UDP sockets to prevent DDoS amplification. Latency and loss probes measure application-layer HTTP/WebSocket (or negotiated WebRTC) round trips, which typically read 1–6 ms higher than kernel-level CLI `ping`.
- Multi-Gigabit Client Hardware Ceilings: On 2 Gbps, 5 Gbps, and 10 Gbps fiber plans, browser throughput can be bottlenecked by 1 GbE LAN ports/switches, USB-C dongle controller limits, Wi-Fi channel width, single-core TLS decryption on battery-throttled laptops, or HTTP/2 single-connection coalescing.
- Background Tab Timer Throttling: Browsers throttle timers when a tab is minimized or hidden; tests should always be run in an active foreground window.
Normative Bibliography
Referenced Technical Standards & Specifications
- 1RFC 3550: RTP — A Transport Protocol for Real-Time Applications
Internet Engineering Task Force (IETF)
- 2RFC 2681: A Round-trip Delay Metric for IPPM
Internet Engineering Task Force (IETF)
- 3RFC 6349: Framework for TCP Throughput Testing
Internet Engineering Task Force (IETF)
- 4High Resolution Time Level 3 (performance.now)
World Wide Web Consortium (W3C)